hmm ? if based on your post....the only things that come to my mind...
is that this variable is not resetted after woe end.
$@GuildReward
if what i thinking was right...you can try this method to sovle your current problem
OnAgitEnd:
set $@GuildReward,0;
end;