generated from Jaysyn/ModuleTemplate
32 lines
663 B
Plaintext
32 lines
663 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.6
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
|
|
//Put this OnDeath
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastKiller();
|
|
|
|
while (GetIsObjectValid(GetMaster(oPC)))
|
|
{
|
|
oPC=GetMaster(oPC);
|
|
}
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
ActionSpeakString("You finally clear away enough dirt to reveal a moldering corpse and lying next to it, a gleaming sword, but by all accounts, this was an evil act to do so..");
|
|
|
|
AdjustAlignment(oPC, ALIGNMENT_EVIL, 10);
|
|
|
|
}
|
|
|