void main() { object oPC= GetLastAttacker(); int nDiceRoll = d100(1); if(nDiceRoll <= 50) { CreateItemOnObject("honey", GetLastAttacker(), 1); } }