So, I made a camp skill for players before they log out. And when they return back into the game, i want nanny to take off the affect. I did this code, but what is happening is that it's taking off the bottom spell and not the actual camp spell. if the camp is on bottom, then yea, it will take it off. what camp does is like panic, but only you have to be "camped" before you can quit. this is in nanny in comm.c. i know i'm not calling the right thing to call. paf should = the spell.
if (xIS_AFFECTED (ch, AFFX_CAMP))
{
paf = ch->affected;
affect_remove(ch, paf);
}
would it be something like:
paf = AFFX_CAMP;
i'm not really sure.