76 lines
2.8 KiB
Plaintext
76 lines
2.8 KiB
Plaintext
/*--------------------------------------------------------
|
|
|
|
Script Name: drowbossdeath
|
|
----------------------------------------------------------
|
|
Created By: Genisys(Guile)
|
|
Created On: 4/09/09
|
|
----------------------------------------------------------
|
|
|
|
Boss kill script changed for Underworld
|
|
|
|
----------------------------------------------------------*/
|
|
|
|
location lTarget;
|
|
object oSpawn;
|
|
object oTarget;
|
|
|
|
#include "nw_i0_tool"
|
|
|
|
void main()
|
|
{
|
|
|
|
|
|
switch (d20()) {
|
|
case 1: SpeakString("You cannot stop the Queen!"); break;
|
|
case 2: SpeakString("You will pay for this!"); break;
|
|
case 3: SpeakString("I curse you!"); break;
|
|
case 4: SpeakString("Matriarch, Avenge my death!"); break;
|
|
case 5: SpeakString("The Queen will crush you, pathetic surface dweller!"); break;
|
|
case 6: SpeakString("My death will not hinder the Queens plans!"); break;
|
|
case 7: SpeakString("My time has come to an end!"); break;
|
|
case 8: SpeakString("NOOOOOOOOO!"); break;
|
|
case 9: SpeakString("Is that MY blood?!"); break;
|
|
case 10: SpeakString("How DARE you spill my blood?!"); break;
|
|
case 11: SpeakString("I have failed my Queen, I deserve to die!"); break;
|
|
case 12: SpeakString("My leg!!!"); break;
|
|
case 13: SpeakString("My death is welcome!"); break;
|
|
case 14: SpeakString("At least the nightly torture will stop now that I am dying!"); break;
|
|
case 15: SpeakString("You have bested me!"); break;
|
|
case 16: SpeakString("You think you can stop us? HAHAHAHAHA! My death means NOTHING!"); break;
|
|
case 17: SpeakString("Slain, and by a SURFACE DWELLER??!"); break;
|
|
case 18: SpeakString("You are much strnger than I thought, But the darkness will still prevail!"); break;
|
|
case 19: SpeakString("I will rest in darkness, FOREVER!!"); break;
|
|
case 20: SpeakString("Your power is awesome, but you are no match for the Matriarch!!!");
|
|
}
|
|
|
|
object oPC = GetLastKiller();
|
|
|
|
while (GetIsObjectValid(GetMaster(oPC)))
|
|
{
|
|
oPC=GetMaster(oPC);
|
|
}
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int nInt;
|
|
|
|
oTarget = oPC;
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "socketbag", lTarget);
|
|
|
|
oTarget = oSpawn;
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_UNDEAD_DRAGON), oTarget));
|
|
else DelayCommand(0.5, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_UNDEAD_DRAGON), GetLocation(oTarget)));
|
|
|
|
|
|
RewardPartyXP(3000, oPC, TRUE);
|
|
|
|
RewardPartyGP(12000, oPC, TRUE);
|
|
}
|
|
|