import { ProfileHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/ProfileHelper.d.ts";
Fix xp doubling on post-raid xp reward screen by sending a 'dummy' profile to the post-raid screen Server saves the post-raid changes prior to the xp screen getting the profile, this results in the xp screen using the now updated profile values as a base, meaning it shows x2 xp gained Instead, clone the post-raid profile (so we dont alter its values), apply the pre-raid xp values to the cloned objects and return Delete snapshot of pre-raid profile prior to returning profile data