FANDOM


Simple XP reward for disarming trap

SCRIPT AUTHOR

Kel-nage


WHAT IT DOES

This simple script awards a set amount of XP to whoever disarms a trap with this script in its "on disarm" property. As you can see, its very simple to edit and it is 100% working, unlike other trap XP scripts. Just cut and paste this...

void main()
{
object oPC = GetLastDisarmed();
int iExperience = 200;
GiveXPToCreature(oPC, iExperience);
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.