Initial Commit
Initial Commit [v1.01]
This commit is contained in:
29
_module/nss/ls_ghlorgesh.nss
Normal file
29
_module/nss/ls_ghlorgesh.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
//:://////////////////////////////////////////////
|
||||
//::// Ghlorgesh LEWT
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
ExecuteScript ("uberloot", OBJECT_SELF);
|
||||
|
||||
int nDiceRoll = d100( 2 );
|
||||
int nDiceRoll3 = d3( 1 );
|
||||
if( nDiceRoll <=35 ){
|
||||
switch ( nDiceRoll3 ){
|
||||
case 1:
|
||||
CreateItemOnObject("bracersoffocus", OBJECT_SELF, 1);
|
||||
break;
|
||||
case 2:
|
||||
CreateItemOnObject("shiningsteelblad", OBJECT_SELF, 1);
|
||||
break;
|
||||
case 3:
|
||||
CreateItemOnObject("serratedblade", OBJECT_SELF, 1);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||||
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user