Talk:Traps and xp

nXP = (nDC-(15+nlevel))*2*nlevel; GiveXPToCreature(oPC,nXP);

Admittedly, I'm not a scripter, but if the PC's level is, say 15, and the trap DC is 25, doesn't "nXP" work out to be -150? Won't this cause the PC to lose experience when disarming trivial traps, or does GiveXPToCreature just award nothing if the XP value is negative? Faldred 11:39, 3 October 2006 (PDT)