Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

20
_module/nss/ogredeath.nss Normal file
View File

@@ -0,0 +1,20 @@
#include "NW_I0_GENERIC"
void main()
{
switch (d4()) {
case 1: SpeakString("Me die now!"); break;
case 2: SpeakString("MY LEG!"); break;
case 3: SpeakString("I no want to die!"); break;
case 4: SpeakString("NOOOOOOOO!");
}
object oKiller = GetLastKiller();
int noleech = 0;
int nClass = GetLevelByClass(CLASS_TYPE_COMMONER);
int nAlign = GetAlignmentGoodEvil(OBJECT_SELF);
if(nClass > 0 && (nAlign == ALIGNMENT_GOOD || nAlign == ALIGNMENT_NEUTRAL))
{
AdjustAlignment(oKiller, ALIGNMENT_EVIL, 5);
}
ExecuteScript("sf_xp", OBJECT_SELF);
}