Added PEPS AI
Added PEPS AI. Full compile. Reorganized repository.
This commit is contained in:
11
src/module/nss/trap_dis_2k.nss
Normal file
11
src/module/nss/trap_dis_2k.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
// Tab, put this on Disarmevent of trap to give XP.
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastDisarmed();
|
||||
if (GetIsPC(oPC))
|
||||
{
|
||||
GiveXPToCreature(oPC, 2000);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user