Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if {job::%attacker%} = 1:
- if attacker's tool is a sword:
- set damage to damage + {str::%attacker%}
- if attacker's tool is a axe:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if attacker's tool is a hoe:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if attacker's tool is a shovel:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if {job::%attacker%} = 2:
- if attacker's tool is a shovel:
- set {str1::%attacker%} to {str::%attacker%} * 0.6
- set damage to damage + {str1::%attacker%}
- if attacker's tool is a axe:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if attacker's tool is a hoe:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if attacker's tool is a sword:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if {job::%attacker%} = 3:
- if attacker's tool is a hoe:
- set {str1::%attacker%} to {str::%attacker%} * 1.5
- set damage to damage + {str1::%attacker%}
- if attacker's tool is a axe:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if attacker's tool is a shovel:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if attacker's tool is a sword:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if {job::%attacker%} = 4:
- if attacker's tool is a axe:
- set {str1::%attacker%} to {str::%attacker%} * 1.7
- set damage to damage + {str1::%attacker%}
- if attacker's tool is a hoe:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if attacker's tool is a shovel:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- if attacker's tool is a sword:
- set damage to damage * 0.5 + {str::%attacker%} * 0.5
- every second in "world":
- loop all players:
- set the maximum health of the loop-player to 10 + {hp::%loop-player%} * 0.5
- on damage:
- victim is player:
- damage is caused by attack:
- set damage to damage - {vit::%victim%} * 0.5
- on citizen right click:
- NPC is named is "&b&l剣士"
- set {job::%player%} to 1
- send "&b&l職業を剣士に変更しました" to player
- on citizen right click:
- NPC is named is "&b&l槍使い"
- set {job::%player%} to 2
- send "&b&l職業を槍使いに変更しました" to player
- on citizen right click:
- NPC is named is "&b&l大鎌使い"
- set {job::%player%} to 3
- send "&b&l職業を大鎌使いに変更しました" to player
- on citizen right click:
- NPC is named is "&b&l斧使い"
- set {job::%player%} to 4
- send "&b&l職業を斧使いに変更しました" to player
- on citizen right click:
- NPC is named is "&a&l職業を確定"
- set {job1::%player%} to 1
- if {job::%player%} = 1:
- execute console command "/scoreboard players set %player% buki 1"
- teleport the player to {point}
- send "&b&l職業を確定しました" to player
- if {job::%player%} = 2:
- execute console command "/scoreboard players set %player% buki 2"
- send "&b&l職業を確定しました" to player
- teleport the player to {point}
- if {job::%player%} = 3:
- execute console command "/scoreboard players set %player% buki 3"
- send "&b&l職業を確定しました" to player
- teleport the player to {point}
- if {job::%player%} = 4:
- execute console command "/scoreboard players set %player% buki 4"
- teleport the player to {point}
- send "&b&l職業を確定しました" to player
- if {job::%player%} = 0:
- send "&C&l職業を選択してください!" to player
- on citizen right click:
- NPC is named is "&e&l職業を選択":
- if {job1::%player%} = 1:
- send "&c&lこれ以上職業は変更できません!" to player
- else:
- teleport the player to {job.point}
- on citizen right click:
- NPC is named is "&e&l始まりの村へ":
- if {job1::%player%} = 1:
- teleport the player to {point}
- if {job1::%player%} = 0:
- send "&c&l職業を選択して確定してください!" to player
- on citizen right click:
- NPC is named is "&e&l骸骨散歩道へ":
- teleport the player to {point3}
- on citizen right click:
- NPC is named is "&eイベントへ":
- teleport the player to {ivent}
- command /level <player> [<numbers>]:
- permission: op
- trigger:
- add arg 2 to {lv::%player%}
- command /exp <player> [<numbers>]:
- permission: op
- trigger:
- add arg 2 to {exp::%player%}
- command /reset <player>:
- permission: op
- trigger:
- set {exp::%player%} to 0
- set {exp1::%player%} to 0
- set {lv::%player%} to 0
- set {sp::%player%} to 0
- set {sp1::%player%} to 0
- set {hp::%player%} to 0
- set {str::%player%} to 0
- set {vit::%player%} to 0
- command /resetjob <player>:
- permission: op
- trigger:
- set {job1::%player%} to 0
- every second in "world":
- loop all players:
- if {exp::%loop-player%} <= 104040:
- set {exp1::%loop-player%} to 13 * {lv::%loop-player%} ^ 2 * 5 + {lv::%loop-player%}
- add 1 to {lv::%loop-player%} if {exp::%loop-player%} > {exp1::%loop-player%}
- if {exp::%loop-player%} >= 104040:
- set {exp1::%loop-player%} to 104040
- set {exp::%loop-player%} to 104040
- set {lv::%loop-player%} to 40
- on damage:
- if victim's health / victim's max health * 100 >= 100:
- set action bar of attacker to "&f&l(&a&l||||||||||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 95:
- if victim's health / victim's max health * 100 < 100:
- set action bar of attacker to "&f&l(&a&l||||||||||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 90:
- if victim's health / victim's max health * 100 < 95:
- set action bar of attacker to "&f&l(&a&l|||||||||||||||||||&c&l|&f&l)"
- if victim's health / victim's max health * 100 >= 85:
- if victim's health / victim's max health * 100 < 90:
- set action bar of attacker to "&f&l(&a&l||||||||||||||||||&c&l||&f&l)"
- if victim's health / victim's max health * 100 >= 80:
- if victim's health / victim's max health * 100 < 85:
- set action bar of attacker to "&f&l(&a&l|||||||||||||||||&c&l|||&f&l)"
- if victim's health / victim's max health * 100 >= 80:
- if victim's health / victim's max health * 100 < 85:
- set action bar of attacker to "&f&l(&a&l||||||||||||||||&c&l||||&f&l)"
- if victim's health / victim's max health * 100 >= 75:
- if victim's health / victim's max health * 100 < 80:
- set action bar of attacker to "&f&l(&a&l|||||||||||||||&c&l|||||&f&l)"
- if victim's health / victim's max health * 100 >= 70:
- if victim's health / victim's max health * 100 < 75:
- set action bar of attacker to "&f&l(&a&l||||||||||||||&c&l||||||&f&l)"
- if victim's health / victim's max health * 100 >= 70:
- if victim's health / victim's max health * 100 < 75:
- set action bar of attacker to "&f&l(&a&l|||||||||||||&c&l|||||||&f&l)"
- if victim's health / victim's max health * 100 >= 65:
- if victim's health / victim's max health * 100 < 70:
- set action bar of attacker to "&f&l(&a&l||||||||||||&c&l||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 60:
- if victim's health / victim's max health * 100 < 65:
- set action bar of attacker to "&f&l(&a&l|||||||||||&c&l|||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 55:
- if victim's health / victim's max health * 100 < 60:
- set action bar of attacker to "&f&l(&a&l||||||||||&c&l||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 50:
- if victim's health / victim's max health * 100 < 55:
- set action bar of attacker to "&f&l(&a&l|||||||||&c&l|||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 45:
- if victim's health / victim's max health * 100 < 50:
- set action bar of attacker to "&f&l(&a&l||||||||&c&l||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 40:
- if victim's health / victim's max health * 100 < 45:
- set action bar of attacker to "&f&l(&a&l|||||||&c&l|||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 35:
- if victim's health / victim's max health * 100 < 40:
- set action bar of attacker to "&f&l(&a&l||||||&c&l||||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 30:
- if victim's health / victim's max health * 100 < 35:
- set action bar of attacker to "&f&l(&a&l|||||&c&l|||||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 25:
- if victim's health / victim's max health * 100 < 30:
- set action bar of attacker to "&f&l(&a&l||||&c&l||||||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 20:
- if victim's health / victim's max health * 100 < 25:
- set action bar of attacker to "&f&l(&a&l|||&c&l|||||||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 15:
- if victim's health / victim's max health * 100 < 20:
- set action bar of attacker to "&f&l(&a&l||&c&l||||||||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 10:
- if victim's health / victim's max health * 100 < 15:
- set action bar of attacker to "&f&l(&a&l|&c&l|||||||||||||||||||&f&l)"
- if victim's health / victim's max health * 100 >= 5:
- if victim's health / victim's max health * 100 < 10:
- set action bar of attacker to "&f&l(&c&l||||||||||||||||||||&f&l)"
- on death:
- set action bar of attacker to "&f&l(&c&l||||||||||||||||||||&f&l)"
- command /sp <player> :
- permission: op
- trigger:
- send "%{arg 1 .sp1}%" to player
- command /str:
- trigger:
- if {sp::%player%} >= 1:
- add 1 to {str::%player%}
- remove 1 from {sp::%player%}
- send "&a&lSTRのステータスを上昇しました!" to player
- if {sp::%player%} = 0:
- send "&c&lSPが足りません!" to player
- command /vit:
- trigger:
- if {sp::%player%} >= 1:
- add 1 to {vit::%player%}
- remove 1 from {sp::%player%}
- send "&a&lVITのステータスを上昇しました!" to player
- if {sp::%player%} = 0:
- send "&c&lSPが足りません!" to player
- command /hp:
- trigger:
- if {sp::%player%} >= 1:
- add 1 to {hp::%player%}
- remove 1 from {sp::%player%}
- send "&a&lHPのステータスを上昇しました!" to player
- if {sp::%player%} = 0:
- send "&c&lSPが足りません!" to player
- command /status:
- trigger:
- send "&d&lHP:%{hp::%player%}%" to player
- send "&c&lSTR:%{str::%player%}%" to player
- send "&b&lVIT:%{vit::%player%}%" to player
- on join:
- add 0 to {hp::%player%}
- add 0 to {vit::%player%}
- add 0 to {str::%player%}
- add 0 to {job::%player%}
- add 0 to {reido::%player%}
- every second in "world":
- add 1 to {nannid}
- if {nannid} = 990:
- broadcast "&cあと10秒でピースフルになります!"
- if {nannid} = 995:
- broadcast "&cあと5秒でピースフルになります!"
- if {nannid} = 996:
- broadcast "&cあと4秒でピースフルになります!"
- if {nannid} = 997:
- broadcast "&cあと3秒でピースフルになります!"
- if {nannid} = 998:
- broadcast "&cあと2秒でピースフルになります!"
- if {nannid} = 999:
- broadcast "&cあと1秒でピースフルになります!"
- if {nannid} = 1000:
- set the difficulty of "world" to peaceful
- broadcast "&aモンスターの増えすぎを抑制するために一時的にピースフルになりました!この処理は1000秒ごとに行われます!"
- command "/setblock 2000 6 1064 wooden_button 5"
- if {nannid} = 1001:
- set the difficulty of "world" to normal
- set {nannid} to 1
- command /psps :
- permission: op
- trigger:
- send "現在進行時間%{nannid}%" to player
- command /job:
- permission: op
- trigger:
- send "%{job::%player%}%" to player
- command /psset <number>:
- permission: op
- trigger:
- set {nannid} to arg 1
- send "arg 1 に設定" to player
- On Craft:
- Cancel Event
- command /setpoint <number>:
- permission: op
- trigger:
- if arg 1 = 0:
- set {job.point} to location of player
- send "チェックポイントを保存しました。" to player
- if arg 1 = 1:
- set {point} to location of player
- send "チェックポイントを保存しました。" to player
- if arg 1 = 2:
- set {point2} to location of player
- send "チェックポイントを保存しました。" to player
- if arg 1 = 3:
- set {point3} to location of player
- send "チェックポイントを保存しました。" to player
- if arg 1 = 4:
- set {ivent} to location of player
- send "チェックポイントを保存しました。" to player
- on death:
- the victim's display name is "&5極炎将ガンマグナ"
- command "/setblock 2000 6 1064 wooden_button 5"
- add {reido2::%player%} to {reido::%player%}
- set {reido2::%player%} to 0
- every second in "world":
- loop all players:
- if {reido1::%loop-player%} >= 100:
- set {reido2::%loop-player%} to 1000
- if {reido1::%loop-player%} >= 500:
- set {reido2::%loop-player%} to 5000
- if {reido1::%loop-player%} >= 1500:
- set {reido2::%loop-player%} to 20000
- if {reido1::%loop-player%} >= 2500:
- set {reido2::%loop-player%} to 60000
- if {reido1::%loop-player%} >= 4000:
- set {reido2::%loop-player%} to 95000
- if {reido1::%loop-player%} >= 7000:
- set {reido2::%loop-player%} to 120000
- if {reido1::%loop-player%} >= 9500:
- set {reido2::%loop-player%} to 180000
- on damage:
- the victim's display name is "&5極炎将ガンマグナ"
- add damage to {reido::%attacker%}
- add damage to {reido1::%attacker%}
- every Minutes in "world":
- loop all players:
- add 1 to {teiki::%loop-player%}
- if {teiki::%loop-player%} >= 30:
- command "/scoreboard players set %loop-player% teiki 1"
- send "&b&l定期アイテムを獲得しました!" to loop-player
- set {teiki::%loop-player%} to 0
- on weather change to rain:
- command "/weather clear"
- on weather change to thunder:
- command "/weather clear"
- command /reido:
- permission: op
- trigger:
- send "%{reido2::%player%}%" to player
Add Comment
Please, Sign In to add comment