Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if the attaker is holding a stone hoe named "§a§l1":
- set {_critical} to random integer between 1 and 5
- if {_critical} is 1:
- poison the player for 5 seconds
- damage victom by 1 heart
- execute console command "/playsound minecraft:block.anvil.place master @a" to event-location
- if the attacker is holding a stone shovel named "§a§l2":
- set {_critical} to random integrer between 1 and 10
- if {_critical} is 1:
- damage victom by 5 hearts
- execute console command "/playsound minecraft:block.anvil.place master @a" to event-location
- if the attacker is holding a stone axe named "§a§l3":
- set {_critical} to random integrer between 1 and 2
- if {_critical} is 1:
- damage victom by 1 heart
- execute console command "/playsound minecraft:block.anvil.place master @a" to event-location
- execute console command "/playsound minecraft:entity.zombie.attack_door_wood master @a" to event location
- #初期地点指定(運営用)
- on rightclick holding a stick named "§a§l初期スポーン地点を指定":
- set {m0spawn} to event-location
- #死亡時の処理
- on death:
- force victim to respawn
- teleport the victom to {m0spawn}
- remove all items from the victom
- set the victom's gamemode to 3
- command /enter:
- description: pvpを開始する
- trigger:
- execute console command "/tp @p @r[type=armor_stand,tag=spawn]"
- set the player's gamemode to 2
- if {kit.%player%} is 1:
- execute onsole command "/give @p minecraft:stone_hoe 1 0 {HideFlags:4,AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:3,Operation:0,UUIDLeast:602690,UUIDMost:619059,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.55,Operation:0,UUIDLeast:817507,UUIDMost:877308,Slot:"mainhand"}],Unbreakable:1,display:{Name:"§a§lOROCHI"}}"
- if {kit.%player%} is 2:
- execute onsole command "/give @p minecraft:stone_shovel 1 0 {HideFlags:4,AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:3,Operation:0,UUIDLeast:602690,UUIDMost:619059,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-2,Operation:0,UUIDLeast:817507,UUIDMost:877308,Slot:"mainhand"}],Unbreakable:1,display:{Name:"§a§lLONG-SWORD"}}"
- if {kit.%player%} is 3:
- execute onsole command "/give @p minecraft:stone_axe 1 0 {HideFlags:4,AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:2,Operation:0,UUIDLeast:602690,UUIDMost:619059,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.5,Operation:0,UUIDLeast:817507,UUIDMost:877308,Slot:"mainhand"}],Unbreakable:1,display:{Name:"§a§lSHORT-SWORD"}}"
- command /kit [<number>]:
- description: kitを変更する
- trigger:
- add arg-1 to {kit.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement