Advertisement
Guest User

Untitled

a guest
Jul 15th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. on damage:
  2. if the attaker is holding a stone hoe named "§a§l1":
  3. set {_critical} to random integer between 1 and 5
  4. if {_critical} is 1:
  5. poison the player for 5 seconds
  6. damage victom by 1 heart
  7. execute console command "/playsound minecraft:block.anvil.place master @a" to event-location
  8. if the attacker is holding a stone shovel named "§a§l2":
  9. set {_critical} to random integrer between 1 and 10
  10. if {_critical} is 1:
  11. damage victom by 5 hearts
  12. execute console command "/playsound minecraft:block.anvil.place master @a" to event-location
  13. if the attacker is holding a stone axe named "§a§l3":
  14. set {_critical} to random integrer between 1 and 2
  15. if {_critical} is 1:
  16. damage victom by 1 heart
  17. execute console command "/playsound minecraft:block.anvil.place master @a" to event-location
  18. execute console command "/playsound minecraft:entity.zombie.attack_door_wood master @a" to event location
  19. #初期地点指定(運営用)
  20. on rightclick holding a stick named "§a§l初期スポーン地点を指定":
  21. set {m0spawn} to event-location
  22. #死亡時の処理
  23. on death:
  24. force victim to respawn
  25. teleport the victom to {m0spawn}
  26. remove all items from the victom
  27. set the victom's gamemode to 3
  28. command /enter:
  29. description: pvpを開始する
  30. trigger:
  31. execute console command "/tp @p @r[type=armor_stand,tag=spawn]"
  32. set the player's gamemode to 2
  33. if {kit.%player%} is 1:
  34. 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"}}"
  35. if {kit.%player%} is 2:
  36. 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"}}"
  37. if {kit.%player%} is 3:
  38. 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"}}"
  39. command /kit [<number>]:
  40. description: kitを変更する
  41. trigger:
  42. add arg-1 to {kit.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement