options:
prefix: &5&lBOSS &6&l>
command /boss [<text>] [<text>]:
permission: sk.boss
permission message: &cBunu yapmak icin yetkiniz yok!
trigger:
if arg 1 is not set:
send "YARDIM KISMI GELECEK" to player
if arg 1 is "sec":
if arg 2 is "Cabbar":
set {boss.dogma.cabbar} to location of player
send " {@prefix} &aCabbar &badlı bosun dogma yeri secildi!"
if arg 2 is "Yorgo":
set {boss.dogma.yorgo} to location of player
send " {@prefix} &aYorgo &badlı bosun dogma yeri secildi!"
if arg 1 is "spawn":
if arg 2 is "Yorgo":
spawn 1 zombie at {boss.dogma.yorgo}
set name of spawned zombie to "&6&lYorgo"
set maximum health of last spawned zombie to 1000
set health of last spawned zombie to 1000
set last spawned zombie's walking speed to 7
set last spawned zombie's tool to diamond sword of sharpness 4 and unbreaking 1000
make last spawned zombie wear a diamond helmet of protection 4 and unbreaking 1000
make last spawned zombie wear a diamond chestplate of protection 4 and unbreaking 1000
make last spawned zombie wear a diamond leggings of protection 4 and unbreaking 1000
make last spawned zombie wear a diamond boots of protection 4 and unbreaking 1000
broadcast " {@prefix} &6&lYorgo &2adlı boss doğdu. Dikkat edin!"
if arg 2 is "Cabbar":
spawn 1 skeleton at {boss.dogma.cabbar}
set name of spawned skeleton to "&4&lCabbar"
set maximum health of last spawned skeleton to 700
set health of last spawned skeleton to 700
set last spawned skeleton's walking speed to 10
set last spawned skeleton's tool to bow of power 5 and unbreaking 1000
make last spawned skeleton wear a diamond chestplate of protection 4 and unbreaking 1000
make last spawned skeleton wear a diamond leggings of protection 4 and unbreaking 1000
make last spawned skeleton wear a diamond boots of protection 4 and unbreaking 1000
broadcast " {@prefix} &4&lCabbar &2adlı boss doğdu. Dikkat edin!"
on death of zombie:
attacker is a player
victim is a zombie
attacker's world is "Spawn":
victim's name is "&6&lYorgo":
clear drops
give a diamond sword of sharpness 4 and smite 3 named "&3&lHelen's Sword" with lore "Helen'in tükürükle||kutsayıp Yorgo'ya||hediye ettiği kılıçtır!" to attacker
give a diamond helmet of protection 4 and unbreaking 3 named "&3&lHelen's Helmet" with lore "Helen'in tükürükle||kutsayıp Yorgo'ya||hediye ettiği kafalıktır!" to attacker
give a diamond chestplate of protection 4 and unbreaking 3 named "&3&lHelen's Chestplate" with lore "Helen'in tükürükle||kutsayıp Yorgo'ya||hediye ettiği zırhtır!" to attacker
give a diamond leggings of protection 4 and unbreaking 3 named "&3&lHelen's Leggings" with lore "Helen'in tükürükle||kutsayıp Yorgo'ya||hediye ettiği pantalondur!" to attacker
give a diamond boots of protection 4 and unbreaking 3 named "&3&lHelen's Boots" with lore "Helen'in tükürükle||kutsayıp Yorgo'ya||hediye ettiği ayakkabidir!" to attacker
broadcast "&7 > &3%attacker% &2adli oyuncu &6&lYorgo &2adli bossu öldürerek, kahramanligini gösterdi!"
wait 3 second
broadcast " &6&lYorgo &7> &4Geri döneceğim, benden asla kurtulamazsınız!"
on death of skeleton:
attacker is a player
victim is a skeleton
attacker's world is "Spawn":
victim's name is "&4&lCabbar":
clear drops
give a bow of power 4 and punch 3 and flame 2 named "&e&lHoly Bow" to attacker
give a diamond chestplate of protection 4 and unbreaking 3 named "&e&lHoly Chestplate" to attacker
give a diamond leggings of protection 4 and unbreaking 3 named "&e&lHoly Leggings" to attacker
give a diamond boots of protection 4 and unbreaking 3 named "&e&lHoly Boots" to attacker
broadcast "&7 > &3%attacker% &2adli oyuncu &4&lCabbar &2adli bossu öldürerek, kahramanligini gösterdi!"
wait 3 second
broadcast " &4&lCabbar &7> &3Insallah oklarımın tadına bakmışsındır!"
on damage of entity:
attacker is a player
victim is a zombie
attacker's world is "Spawn":
victim's name is "&6&lYorgo":
send " {@prefix} &2Yorgo'nun&4&l %health of victim% &2canı kaldı!" to attacker
on damage of entity:
attacker is a player
victim is a skeleton
attacker's world is "Spawn":
victim's name is "&4&lCabbar":
send " {@prefix} &2Cabbar'ın&4&l %health of victim% &2canı kaldı!" to attacker
every 2 hours:
execute console command "boss spawn cabbar"