on death:
if player is in world "Mining":
if attacker is a player:
if victim is mob:
if chance of 50%:
drop gold ingot at location of victim
if chance of 40%:
drop 2 gold ingots at location of victim
if chance of 9%:
drop 3 gold ingots at location of victim
if chance of 1%:
drop diamond at location of victim
how to fix that it is not working?
and how can i do same percentages but for diamond block break
if player is in world "Mining":
if attacker is a player:
if victim is mob:
if chance of 50%:
drop gold ingot at location of victim
if chance of 40%:
drop 2 gold ingots at location of victim
if chance of 9%:
drop 3 gold ingots at location of victim
if chance of 1%:
drop diamond at location of victim
how to fix that it is not working?
and how can i do same percentages but for diamond block break