Initial commit
Initial commit.
This commit is contained in:
9
_module/nss/death_save.nss
Normal file
9
_module/nss/death_save.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
void main()
|
||||
{
|
||||
location lHere = GetLocation(OBJECT_SELF);
|
||||
int iOn = GetLocalInt(OBJECT_SELF,"CEP_L_AMION");
|
||||
if (iOn == 0) return;
|
||||
CreateObject(OBJECT_TYPE_CREATURE,"victim",lHere);
|
||||
object oPC = GetLastDamager(OBJECT_SELF);
|
||||
GiveXPToCreature(oPC,50);
|
||||
}
|
Reference in New Issue
Block a user