Battledale_PRC8/_module/nss/jw_platetrap_dis.nss

9 lines
234 B
Plaintext
Raw Permalink Normal View History

// if trap is disarmed give EXP to someone and turn OFF the associated trigger
void main()
{
GiveXPToCreature(GetLastDisarmed(),10);
SetLocalInt(GetObjectByTag(GetTag(OBJECT_SELF)+"t"),"trapped",FALSE);
DestroyObject(OBJECT_SELF);
}