Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- victim isn't player
- victim's health - damage <= 0
- set {_long} to 0
- set {_LV} to ""
- set {_split::*} to victim's name split at "Lv."
- loop length of {_split::2} times:
- set {_long} to {_long} + 1
- set {_L} to sub text of {_split::2} between {_long} and {_long}
- if {_L} parsed as number is number:
- set {_LV} to "%{_LV}%%{_L}%"
- else if {_L} is "§":
- set {_long} to {_long} + 1
- else if {_L} is " ":
- exit this loop
- set {_LV} to {_LV} parsed as number
- set {money::%attacker%} to {money::%attacker%} + {_LV}
- every second:
- loop all players:
- send actionbar "&6[所持金%{money::%loop-player%}%A]" to loop-player
- {money::%loop-player%} is none
- set {money::%loop-player%} to 0
Add Comment
Please, Sign In to add comment