Amon_PRC8/_module/nss/ls_quijo.nss

28 lines
640 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
void main()
{
ExecuteScript ("uberloot", OBJECT_SELF);
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
int nDiceRoll = d100( 2 );
int nDiceRoll3 = d2( 1 );
if( nDiceRoll <=38 ){
switch ( nDiceRoll3 ){
case 1:
CreateItemOnObject("BogSoakedWood", OBJECT_SELF, 1);
break;
case 2:
CreateItemOnObject("QuijosPrize", OBJECT_SELF, 1);
break;
case 3:
CreateItemOnObject("FlatBaseLongbow", OBJECT_SELF, 1);
break;
}
}
else{}
}