Amon_PRC8/_module/nss/tr_get_log_a.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

23 lines
417 B
Plaintext

void main()
{
object oPC= GetLastAttacker();
int nDiceRoll = d100(1);
int nDiceRoll2 = d3(1);
if(nDiceRoll <= 50)
{
switch(nDiceRoll2){
case 1:
CreateItemOnObject("Log", GetLastAttacker(), 1);
break;
case 2:
CreateItemOnObject("ashlog", GetLastAttacker(), 1);
break;
case 3:
CreateItemOnObject("ashlog", GetLastAttacker(), 1);
break;
}
}
}