Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- victim is a player
- if the attacker is holding a stone hoe named "§a§lOROCHI":
- set {_critical} to random integer between 1 and 5
- if {_critical} is 1:
- poison the victim for 5 seconds
- damage victim by 1 heart
- if the attacker is holding a stone shovel named "§a§lLONG-SWORD":
- set {_critical} to random integer between 1 and 10
- if {_critical} is 1:
- damage victim by 5 hearts
- if the attacker is holding a stone axe named "§a§lSHORT-SWORD":
- set {_critical} to random integer between 1 and 2
- if {_critical} is 1:
- damage victim by 1 heart
- execute console command "/execute %victim% ~ ~ ~ /playsound minecraft:entity.zombie.attack_door_wood master @a ~ ~ ~"
- if {fruits.%player%} is 1
- cancel the event
- set {fruits.%player%} to 2
- wait 30 seconds
- set {fruits.%player%} to 0
- #初期地点指定(運営用)
- on rightclick with stick:
- send "初期スポーン地点を指定しました!" to player
- set {m0spawn} to location of player
- #死亡時の処理
- on death:
- force victim to respawn
- teleport victim to {m0spawn}
- remove all items from the victim
- set the victim's gamemode to spectator
- set {enter.%victim%} to 0
- command /enter:
- description: pvpを開始する
- trigger:
- if {enter.%player%} is 0
- execute console command "tp @p @r[type=armor_stand,tag=spawn]"
- set the player's gamemode to adventure
- set {enter.%player%} to 1
- if {kit.%player%} is 1:
- make player execute 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:
- make player execute 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:
- make player execute 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""}}"
- if {enter.%player%} is 1
- send "すでにpvp中です!" to player
- command /kit [<number>]:
- description: kitを変更する
- trigger:
- if {enter.%player%} is 0
- send "kitを変更しました!" to player
- set {kit.%player%} to arg-1
- if {enter.%player%} is 1
- send "ゲーム中はkitを変更できません!" to player
- on first join:
- set {enter.%player%} to 0
- send "初めまして!「/kit 1~3」でkitを変更、「/enter」で参加できます!"
- on join:
- if {enter.%player%} is 1
- teleport player to m0spawn
- set the player's gamemode to spectator
- send "pvp中の退出はやめましょう!" to player
- set {enter.%player%} to 0
- on left click:
- block is coal ore
- set {_success} to random iteger between 1 and 3
- if {_success} is between 2 and 3
- send "採掘は失敗しました!" to player
- if {_success} is 1
- set {_randomitem} to random integer between 1 and 5
- if {_randomitem} is 1:
- make player execute command "/give @p minecraft:apple 1 0 {display:{Name:"§a§lシールドフルーツ",Lore:["§7§l右クリックでシールドを張る"]}}"
- if {_randomitem} is 2:
- make player execute command "/give @p minecraft:paper 1 0 {display:{Name:"§a§l包帯",Lore:["§7§l右クリックで回復する"]}}"
- if {_randomitem} is 3:
- make player execute command "tell @p 考えてない"
- if {_randomitem} is 4:
- make player execute command "tell @p 考えてない"
- if {_randomitem} is 5:
- make player execute command "tell @p 考えてない"
- on right click with paper:
- name of held item contains "§a§l包帯"
- if {bandage.%player%} is 1
- send "包帯を2つ同時に使用することはできません" to player
- if {bandage.%player%} is 0
- set {bandage.%player%} to 1
- remove 1 of event-item from player
- apply blindness 1 to player for 2 seconds
- apply slowness 1 to player for 2 seconds
- heal player by 3 hearts
- wait 2 seconds
- set {bandage.%player%} to 0
- on right click with apple:
- name of held item contains "§a§lシールドフルーツ"
- if {fruits.%player%} is 1
- send "シールドは2枚以上はれません" to player
- if {fruits.%player%} is 0
- set {fruits.%player%} to 1
- remove 1 of event-item from player
- if {fruits.%player%} is 2
- send "ダメージを受けてから30秒間はシールドフルーツを使用できません"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement