PoA_PRC8/module/nss/trolldeath.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

19 lines
502 B
Plaintext

#include "NW_I0_GENERIC"
void main()
{
switch (d4()) {
case 1: SpeakString("Not Fair!"); break;
case 2: SpeakString("You cheated!"); break;
case 3: SpeakString("You were lucky!"); break;
case 4: SpeakString("How can this be?!");
}
if(GetSpawnInCondition(NW_FLAG_DEATH_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1007));
}
ExecuteScript("sf_xp", OBJECT_SELF);
}