SHOW:
|
|
- or go back to the newest paste.
| 1 | every 10 minutes: | |
| 2 | loop all players: | |
| 3 | set {_x} to location of loop-player
| |
| 4 | set {_resp} to a random integer between 1 and 4
| |
| 5 | if {_resp} is equal to 1:
| |
| 6 | Increase x-coordinate of {_x} by 20 or 40 or 50
| |
| 7 | spawn 1 wither skeleton at {_x}
| |
| 8 | equip spawned entity with stone sword | |
| 9 | if {_resp} is equal to 2:
| |
| 10 | Increase x-coordinate of {_x} by -20 or -10 or -15
| |
| 11 | spawn 1 wither skeleton at {_x}
| |
| 12 | equip spawned entity with stone sword | |
| 13 | if {_resp} is equal to 3:
| |
| 14 | Increase Z-coordinate of {_x} by 20 or 40 or 50
| |
| 15 | spawn 1 wither skeleton at {_x}
| |
| 16 | - | spawn 1 wither skeleton at {_x} |
| 16 | + | equip spawned entity with stone sword |
| 17 | if {_resp} is equal to 4:
| |
| 18 | Increase z-coordinate of {_x} by -20 or -40 or -50
| |
| 19 | spawn 1 wither skeleton at {_x}
| |
| 20 | equip spawned entity with stone sword | |
| 21 | ||
| 22 | on death of wither skeleton: | |
| 23 | chance of 50%: | |
| 24 | drop wither skull at attacker |