Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- if attacker is a player:
- if attacker's tool is any sword or any axe or any bow:
- if victim is a chicken or cow or pig or rabbit or sheep or wolf:
- if player has permission "mobcash.amount.double":
- set {_mobcash.amount} to random number between 25 and 45
- add {_mobcash.amount} to attacker's balance
- else:
- set {_mobcash.amount} to random number between 0.50 and 2
- add {_mobcash.amount} to attacker's balance
- if victim is a zombie pigman or cave spider or enderman:
- if player has permission "mobcash.amount.double":
- set {_mobcash.amount} to random number between 25 and 45
- add {_mobcash.amount} to attacker's balance
- else:
- set {_mobcash.amount} to random number between 0.50 and 4
- add {_mobcash.amount} to attacker's balance
- if victim is a zombie or skeleton or creeper or slime:
- if player has permission "mobcash.amount.double":
- set {_mobcash.amount} to random number between 25 and 45
- add {_mobcash.amount} to attacker's balance
- else:
- set {_mobcash.amount} to random number between 0.50 and 3
- add {_mobcash.amount} to attacker's balance
- if victim is a powered creeper or blaze or ghast:
- if player has permission "mobcash.amount.double":
- set {_mobcash.amount} to random number between 25 and 45
- add {_mobcash.amount} to attacker's balance
- else:
- set {_mobcash.amount} to random number between 0.50 and 5
- add {_mobcash.amount} to attacker's balance
- if victim is a stray or creature:
- if player has permission "mobcash.amount.double":
- set {_mobcash.amount} to random number between 25 and 45
- add {_mobcash.amount} to attacker's balance
- else:
- set {_mobcash.amount} to random number between 0.50 and 2
- add {_mobcash.amount} to attacker's balance
Add Comment
Please, Sign In to add comment