44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
//::// mehoden LEWT
|
||
|
//:://///////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100( 2 );
|
||
|
int nDiceRoll3 = d4( 1 );
|
||
|
if( nDiceRoll <=58 ){
|
||
|
switch ( nDiceRoll3 ){
|
||
|
case 1:
|
||
|
CreateItemOnObject("MehodensHate", OBJECT_SELF, 1);
|
||
|
break;
|
||
|
case 2:
|
||
|
CreateItemOnObject("BeholdersWhip", OBJECT_SELF, 1);
|
||
|
CreateItemOnObject("DarkStone", OBJECT_SELF, 1);
|
||
|
break;
|
||
|
case 3:
|
||
|
CreateItemOnObject("SharpWilt", OBJECT_SELF, 1);
|
||
|
CreateItemOnObject("DarkStone", OBJECT_SELF, 1);
|
||
|
break;
|
||
|
case 4:
|
||
|
CreateItemOnObject("DaggeroftheEquinox", OBJECT_SELF, 1);
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
else{}
|
||
|
ActionCastFakeSpellAtObject(SPELL_CHAIN_LIGHTNING, OBJECT_SELF, 0);
|
||
|
ActionCastFakeSpellAtObject(SPELL_EARTHQUAKE, OBJECT_SELF, 0);
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "LilEye", GetLocation(OBJECT_SELF));
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "LilEye", GetLocation(OBJECT_SELF));
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "LilEye", GetLocation(OBJECT_SELF));
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "LilEye", GetLocation(OBJECT_SELF));
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "LilEye", GetLocation(OBJECT_SELF));
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "LilEye", GetLocation(OBJECT_SELF));
|
||
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||
|
|
||
|
}
|