Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ability:
- trigger:
- open chest with 1 rows named "&4&lAbility&r&7(%{%uuid of player%::AP}%)" to player
- format slot 0 of player with Iron sword with custom nbt "{HideFlags:2,display:{Name:""&c&lSTR"", Lore:[""&b+0.05%%(ATK)""]}}" to run [execute player command "/STRPOINT"]
- format slot 1 of player with Iron chestplate with custom nbt "{HideFlags:2,display:{Name:""&6&lVIT"", Lore:[""&bHP+1"",""&bDEF+0.5""]}}" to run [execute player command "/VITPOINT"]
- format slot 2 of player with Arrow with custom nbt "{HideFlags:2,display:{Name:""&e&lDEX"", Lore:[""&b+0.07%%(SAT)""]}}" to run [execute player command "/DEXPOINT"]
- format slot 3 of player with end crystal with custom nbt "{HideFlags:2,display:{Name:""&5&lINT"", Lore:[""&bMANA+1"", ""&bMANAR+0.1""]}}" to run [execute player command "/INTPOINT"]
- command /STRPOINT:
- trigger:
- {%uuid of player%::AP} > 0
- add 0.5 to {%uuid of player%::STR}
- subtract 1 from {%uuid of player%::AP}
- command /VITPOINT:
- trigger:
- {%uuid of player%::AP} > 0
- add 0.5 to player's max health
- set player's scaled health to 10
- add 0.5 to {%uuid of player%::DEF}
- subtract 1 from {%uuid of player%::AP}
- stop
- command /DEXPOINT:
- trigger:
- {%uuid of player%::AP} > 0
- add 0.5 to {%uuid of player%::DEF}
- subtract 1 from {%uuid of player%::AP}
- command /INTPOINT:
- trigger:
- {%uuid of player%::AP} > 0
- add 1 to {%uuid of player%::maxMP}
- subtract 1 from {%uuid of player%::AP}
- every second:
- loop all players:
- if loop-player's max health != loop-player's health:
- heal the loop-player by (loop-player's max health/200)
- if {%uuid of loop-player%::maxMP} > {%uuid of loop-player%::MP}:
- add ({%uuid of loop-player%::maxMP}/100) to {%uuid of loop-player%::MP}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement