Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #░░▓▓▓▓▓▓▓▓░░░▓▓▓▓▓▓▓▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓░░▓▓▓▓▓▓▓▓▓░░▓▓▓▓▓▓▓▓░░░
- #░░▓░░░░░░░▓░░▓░░░░░░░░░░░░░░░░▓░░░░░░░░░░░░░░▓░░░░░░░░▓░░░░░░░░░░▓░░░░░░░▓░░
- #░░▓░░░░░░░▓░░▓░░░░░░░░░░░░░░░░▓░░░░░░░░░░░░░░▓░░░░░░░░▓░░░░░░░░░░▓░░░░░░░▓░░
- #░░▓░░░░░░░▓░░▓░░░░░░░░░░░░░░░░▓░░░░░░░░░░░░░░▓░░░░░░░░▓░░░░░░░░░░▓░░░░░░░▓░░
- #░░▓░░░░░▓▓░░░▓▓▓▓▓▓░░░░░░░░░░░▓░░░░░░░░░░░░░░▓░░░░░░░░▓▓▓▓▓▓░░░░░▓▓▓▓▓▓▓▓░░░
- #░░▓░░░░░░░▓░░▓░░░░░░░░░░░░░░░░▓░░░░░░░░░░░░░░▓░░░░░░░░▓░░░░░░░░░░▓░▓░░░░░░░░
- #░░▓░░░░░░░▓░░▓░░░░░░░░░░░░░░░░▓░░░░░░░░░░░░░░▓░░░░░░░░▓░░░░░░░░░░▓░░▓░░░░░░░
- #░░▓░░░░░░░▓░░▓░░░░░░░░░░░░░░░░▓░░░░░░░░░░░░░░▓░░░░░░░░▓░░░░░░░░░░▓░░░▓░░░░░░
- #░░▓▓▓▓▓▓▓▓░░░▓▓▓▓▓▓▓▓░░░░░░░░░▓░░░░░░░░░░░░░░▓░░░░░░░░▓▓▓▓▓▓▓▓░░░▓░░░▓░░░░░░
- #░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
- #░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
- #░░░░░░░░░░▓▓▓▓▓▓▓▓░░░░░▓▓▓▓▓▓░░░░░░▓▓▓▓▓░░░░░░▓▓▓▓▓░░░░░░▓▓▓▓▓▓▓▓▓▓░░░░░░░░░
- #░░░░░░░░░░▓░░░░░░░▓░░░▓░░░░░░▓░░░░▓░░░░░▓░░░░▓░░░░░▓░░░░░░▓▓▓▓▓▓▓▓░░░░░░░░░░
- #░░░░░░░░░░▓░░░░░░░▓░░▓░░░░░░░░▓░░░░▓░░░░▓░░░░░▓░░░░▓░░░░░░░▓▓▓▓▓▓░░░░░░░░░░░
- #░░░░░░░░░░▓░░░░░░░▓░░▓░░░░░░░░▓░░░░░▓░░░░░░░░░░▓░░░░░░░░░░░░▓▓▓▓░░░░░░░░░░░░
- #░░░░░░░░░░▓░░░░░▓▓░░░▓░░░░░░░░▓░░░░░░▓░░░░░░░░░░▓░░░░░░░░░░░▓▓▓▓░░░░░░░░░░░░
- #░░░░░░░░░░▓░░░░░░░▓░░▓░░░░░░░░▓░░░░░░░▓░░░░░░░░░░▓░░░░░░░░░░░▓▓░░░░░░░░░░░░░
- #░░░░░░░░░░▓░░░░░░░▓░░▓░░░░░░░░▓░░░░░░░░▓░░░░░░░░░░▓░░░░░░░░░░░░░░░░░░░░░░░░░
- #░░░░░░░░░░▓░░░░░░░▓░░░▓░░░░░░▓░░░▓░░░░░░▓░░░▓░░░░░░▓░░░░░░░░░▓▓░░░░░░░░░░░░░
- #░░░░░░░░░░▓▓▓▓▓▓▓▓░░░░░▓▓▓▓▓▓░░░░░▓▓▓▓▓▓░░░░░▓▓▓▓▓▓░░░░░░░░░░▓▓░░░░░░░░░░░░░
- #░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
- #╔═══════════════════════════════════════╗
- #║ Podstawowe informacje ║
- #║Nazwa skryptu: ║
- #║ ► BetterBoss ║
- #║Autor: ║
- #║ ► Slupik98 ║
- #║Wersja: ║
- #║ ► Beta v2.1.0 ║
- #╠═══════════════════════════════════════╣
- #║ Licencja ║
- #║ ► Zakaz rozpowszechniania skryptu ║
- #║ bez zgody autora ║
- #║ ► Zakaz używania cześci skryptu ║
- #║ bez zgody autora ║
- #║ ► Zakaz czerpania bezpośrednich i ║
- #║ pośrednich korzyści ║
- #║ majątkowych z tego skryptu ║
- #║ ► Zakaz zmiany licencji ║
- #║ ► Skrypt można modyfikować tylko ║
- #║ na własy użytek ║
- #╚═══════════════════════════════════════╝
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Opcje ║
- #║ ║
- #╚═══════════════════════════════════════╝
- Options:
- #
- #►►►►►Tytuł Skryptu◄◄◄◄◄
- #
- s.boss.autoupdate.check: yes #Czy ma automatycznie sprawdzać aktualizację
- s.boss.autoupdate.install: yes #Czy ma automatycznie instalować aktualizację(yes - tak, no - nie, będzie wysyłało tylko powiadomienie
- s.boss.autoupdate.time: 3 #Co ile godzin będzie sprawdzało aktualizację
- #
- #►►►►►Tytuł Skryptu◄◄◄◄◄
- #
- s.boss.prefix: &4[BOSS]
- #
- #►►►►►Opcje losowe◄◄◄◄◄
- #
- #►►►Opcje◄◄◄
- s.boss.rspawn.time: 1 #Co ile ma być losowy spawn bossa w godzinach
- s.boss.rspawn.is: YES #Czy ma się odbywać losowy spawn bossa
- #►►►Rogi◄◄◄
- s.boss.corner.rspawn.x.1: 50 #Wartość x rogu 1
- s.boss.corner.rspawn.z.1: 50 #Wartość z rogu 1
- s.boss.corner.rspawn.x.2: 55 #Wartość x rogu 2
- s.boss.corner.rspawn.z.2: 55 #Wartość z rogu 2
- #►►►Opcje Randomowego BOSSA◄◄◄
- s.boss.name.rBOSS.1: &2&l&nRandom_Mob #Imię BOSSa numer 1
- s.boss.type.rBOSS.1: Zombie #Typ potwora numer 1
- s.boss.hp.rBOSS.1: 500 #Ile HP ma mieć BOSS numer 1
- s.boss.dmg.rBOSS.1: 25 #Ile dmg ma zadawać BOSS numer 1
- #►►►EQ◄◄◄
- #►hełm◄
- s.boss.helmet.rBOSS.1: leather #Hełm
- s.boss.czy.helmet.rBOSS.1: yes #Czy ma mieć Hełm
- s.boss.ench.helmet.rBOSS.1: protection 1 #Enchant hełmu
- s.boss.czy.ench.helmet.rBOSS.1: yes #Czy ma być enchant hełmu
- #►napiersnik◄
- s.boss.chestplate.rBOSS.1: leather #Napierśnik
- s.boss.czy.chestplate.rBOSS.1: yes #Czy ma mieć Napierśnik
- s.boss.ench.chestplate.rBOSS.1: protection 1 #Enchant napierśnika
- s.boss.czy.ench.chestplate.rBOSS.1: yes #Czy ma być enchant napierśnika
- #►spodnie◄
- s.boss.leggings.rBOSS.1: leather #Spodnie
- s.boss.czy.leggings.rBOSS.1: yes #Czy ma mieć Spodnie
- s.boss.ench.leggings.rBOSS.1: protection 1 #Enchant spodni
- s.boss.czy.ench.leggings.rBOSS.1: yes #Czy ma być enchant spodni
- #►buty◄
- s.boss.boots.rBOSS.1: leather #Buty
- s.boss.czy.boots.rBOSS.1: yes #Czy ma mieć Buty
- s.boss.ench.boots.rBOSS.1: protection 1 #Enchant butów
- s.boss.czy.ench.boots.rBOSS.1: yes #Czy ma być enchant butów
- #►miecz◄
- s.boss.sword.rBOSS.1: diamond #Miecz
- s.boss.czy.sword.rBOSS.1: yes #Czy ma mieć Miecz
- s.boss.ench.sword.rBOSS.1: Sharpness 1 #Enchant miecza
- s.boss.czy.ench.sword.rBOSS.1: yes #Czy ma być enchant miecza
- #►►►Nagroda rBOSS.1◄◄◄
- s.boss.nagroda1.przedmiot.rBOSS.1: sword #Nagroda(przedmiot) numer 1
- s.boss.nagroda1.typ.rBOSS.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda1.ench.rBOSS.1: Sharpness 6,Fire Aspect 3,Unbreaking 3 #Jaki enchant nagrody numer 1
- s.boss.nagroda1.nazwa.rBOSS.1: &2&l&nOstrze_Pogromcy_Zombie #Jaka nazwa nagrody numer 1
- s.boss.nagroda1.opis.rBOSS.1: Test #Opis nagrody rBOSS.1 numer 1
- #►►►Nagroda 2◄◄◄
- s.boss.nagroda2.przedmiot.rBOSS.1: helmet #Nagroda(przedmiot) numer 1
- s.boss.nagroda2.typ.rBOSS.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda2.ench.rBOSS.1: protection 5 #Jaki enchant nagrody numer 1
- s.boss.nagroda2.nazwa.rBOSS.1: &2&l&nHełm Najtwardszego #Jaka nazwa nagrody numer 1
- s.boss.nagroda2.opis.rBOSS.1: test #Opis nagrody rBOSS.1 numer 1
- #►►►Nagroda 3◄◄◄
- s.boss.nagroda3.przedmiot.rBOSS.1: chestplate #Nagroda(przedmiot) numer 1
- s.boss.nagroda3.typ.rBOSS.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda3.ench.rBOSS.1: protection 5 #Jaki enchant nagrody numer 1
- s.boss.nagroda3.nazwa.rBOSS.1: &2&l&nKaloryfer Trola #Jaka nazwa nagrody numer 1
- s.boss.nagroda3.opis.rBOSS.1: test #Opis nagrody rBOSS.1 numer 1
- #►►►Nagroda 4◄◄◄
- s.boss.nagroda4.przedmiot.rBOSS.1: leggings #Nagroda(przedmiot) numer 1
- s.boss.nagroda4.typ.rBOSS.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda4.ench.rBOSS.1: protection 5 #Jaki enchant nagrody numer 1
- s.boss.nagroda4.nazwa.rBOSS.1: &2&l&nStringi Jaskiniowca #Jaka nazwa nagrody numer 1
- s.boss.nagroda4.opis.rBOSS.1: test #Opis nagrody rBOSS.1 numer 1
- #►►►Nagroda 5◄◄◄
- s.boss.nagroda5.przedmiot.rBOSS.1: boots #Nagroda(przedmiot) numer 1
- s.boss.nagroda5.typ.rBOSS.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda5.ench.rBOSS.1: protection 5 #Jaki enchant nagrody numer 1
- s.boss.nagroda5.nazwa.rBOSS.1: &2&l&nCiezkie buty #Jaka nazwa nagrody numer 1
- s.boss.nagroda5.opis.rBOSS.1: test #Opis nagrody rBOSS.1 numer 1
- #
- #►►►►►Opcje eventowe◄◄◄◄◄
- #
- #►►►Opcje◄◄◄
- s.boss.eventmob.event.time: 1 #Co ile ma być event w godzinach
- s.boss.eventmob.event.is: YES #Czy ma się odbywać event
- #►►►Rogi◄◄◄
- s.boss.corner.eventmob.x.1: 50 #Wartość x rogu 1
- s.boss.corner.eventmob.z.1: 50 #Wartość z rogu 1
- s.boss.corner.eventmob.x.2: 55 #Wartość x rogu 2
- s.boss.corner.eventmob.z.2: 55 #Wartość z rogu 2
- #►►►Rodzaje◄◄◄
- s.boss.eventmob.type.x: zombie #Typ wszytkich mobów
- s.boss.eventmob.hp.x: 100 #Hp wszytkich mobów
- s.boss.eventmob.dmg.x: 5 #Dmg wszytkich mobów
- s.boss.eventmob.nazwa.x: &8Boss&7-eventowy #Nazwy wszytkich mobów
- s.boss.eventmob.how.many: 2 #Ile ma być wszytkich mobów przy 1 wahcie
- s.boss.eventmob.how.waves: 1 #Ile ma być wszytkich waht(fal ataku)
- s.boss.eventmob.time: 5 #Odstęp między wahtami(sekundy)
- #►►►EQ◄◄◄
- #►hełm◄
- s.boss.helmet.eventmob.1: leather #Hełm
- s.boss.czy.helmet.eventmob.1: yes #Czy ma mieć Hełm
- s.boss.ench.helmet.eventmob.1: protection 1 #Enchant hełmu
- s.boss.czy.ench.helmet.eventmob.1: yes #Czy ma być enchant hełmu
- #►napiersnik◄
- s.boss.chestplate.eventmob.1: leather #Napierśnik
- s.boss.czy.chestplate.eventmob.1: yes #Czy ma mieć Napierśnik
- s.boss.ench.chestplate.eventmob.1: protection 1 #Enchant napierśnika
- s.boss.czy.ench.chestplate.eventmob.1: yes #Czy ma być enchant napierśnika
- #►spodnie◄
- s.boss.leggings.eventmob.1: leather #Spodnie
- s.boss.czy.leggings.eventmob.1: yes #Czy ma mieć Spodnie
- s.boss.ench.leggings.eventmob.1: protection 1 #Enchant spodni
- s.boss.czy.ench.leggings.eventmob.1: yes #Czy ma być enchant spodni
- #►buty◄
- s.boss.boots.eventmob.1: leather #Buty
- s.boss.czy.boots.eventmob.1: yes #Czy ma mieć Buty
- s.boss.ench.boots.eventmob.1: protection 1 #Enchant butów
- s.boss.czy.ench.boots.eventmob.1: yes #Czy ma być enchant butów
- #►miecz◄
- s.boss.sword.eventmob.1: diamond #Miecz
- s.boss.czy.sword.eventmob.1: yes #Czy ma mieć Miecz
- s.boss.ench.sword.eventmob.1: Sharpness 1 #Enchant miecza
- s.boss.czy.ench.sword.eventmob.1: yes #Czy ma być enchant miecza
- #
- #►►►►►Ustawienia Bossa numer 1◄◄◄◄◄
- #
- s.boss.name.1: &2&l&nJaskiniowy_Trol #Imię BOSSa numer 1
- s.boss.type.1: Zombie #Typ potwora numer 1
- s.boss.hp.1: 1000 #Ile HP ma mieć BOSS numer 1
- s.boss.dmg.1: 20 #Ile dmg ma zadawać BOSS numer 1
- #►►►EQ◄◄◄
- #►hełm◄
- s.boss.helmet.1: leather #Hełm Bossa numer 1
- s.boss.ench.helmet.1: protection 1 #Enchant hełmu Bossa numer 1
- #►napiersnik◄
- s.boss.chestplate.1: leather #Napierśnik Bossa numer 1
- s.boss.ench.chestplate.1: protection 1 #Enchant napierśnika Bossa numer 1
- #►spodnie◄
- s.boss.leggings.1: leather #Spodnie Bossa numer 1
- s.boss.ench.leggings.1: protection 1 #Enchant spodni Bossa numer 1
- #►buty◄
- s.boss.boots.1: leather #Buty Bossa numer 1
- s.boss.ench.boots.1: protection 1 #Enchant butów Bossa numer 1
- #►miecz◄
- s.boss.sword.1: diamond #Miecz Bossa numer 1
- s.boss.ench.sword.1: Sharpness 1 #Enchant miecza Bossa numer 1
- #►►►Nagroda 1◄◄◄
- s.boss.nagroda1.przedmiot.1: sword #Nagroda(przedmiot) numer 1
- s.boss.nagroda1.typ.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda1.ench.1: Sharpness 6,Fire Aspect 3,Unbreaking 3 #Jaki enchant nagrody numer 1
- s.boss.nagroda1.nazwa.1: &2&l&nOstrze_Pogromcy_Troli_Jaskiniowych #Jaka nazwa nagrody numer 1
- s.boss.nagroda1.opis.1: Test #Opis nagrody 1 numer 1
- #►►►Nagroda 2◄◄◄
- s.boss.nagroda2.przedmiot.1: helmet #Nagroda(przedmiot) numer 1
- s.boss.nagroda2.typ.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda2.ench.1: protection 5 #Jaki enchant nagrody numer 1
- s.boss.nagroda2.nazwa.1: &2&l&nHełm Najtwardszego #Jaka nazwa nagrody numer 1
- s.boss.nagroda2.opis.1: test #Opis nagrody 1 numer 1
- #►►►Nagroda 3◄◄◄
- s.boss.nagroda3.przedmiot.1: chestplate #Nagroda(przedmiot) numer 1
- s.boss.nagroda3.typ.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda3.ench.1: protection 5 #Jaki enchant nagrody numer 1
- s.boss.nagroda3.nazwa.1: &2&l&nKaloryfer Trola #Jaka nazwa nagrody numer 1
- s.boss.nagroda3.opis.1: test #Opis nagrody 1 numer 1
- #►►►Nagroda 4◄◄◄
- s.boss.nagroda4.przedmiot.1: leggings #Nagroda(przedmiot) numer 1
- s.boss.nagroda4.typ.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda4.ench.1: protection 5 #Jaki enchant nagrody numer 1
- s.boss.nagroda4.nazwa.1: &2&l&nStringi Jaskiniowca #Jaka nazwa nagrody numer 1
- s.boss.nagroda4.opis.1: test #Opis nagrody 1 numer 1
- #►►►Nagroda 5◄◄◄
- s.boss.nagroda5.przedmiot.1: boots #Nagroda(przedmiot) numer 1
- s.boss.nagroda5.typ.1: diamond #Nagroda(typ) numer 1
- s.boss.nagroda5.ench.1: protection 5 #Jaki enchant nagrody numer 1
- s.boss.nagroda5.nazwa.1: &2&l&nCiezkie buty #Jaka nazwa nagrody numer 1
- s.boss.nagroda5.opis.1: test #Opis nagrody 1 numer 1
- #
- #>>>>>Ustawienia Bossa numer 2<<<<<
- #
- s.boss.name.2: &6&l&nKrol_Zombi #Imię BOSSa numer 2
- s.boss.type.2: Zombie #Typ potwora numer 2
- s.boss.hp.2: 5000 #Ile HP ma mieć BOSS numer 2
- s.boss.dmg.2: 25 #Ile dmg ma zadawać BOSS numer 2
- #>>>EQ<<<
- #>hełm<
- s.boss.helmet.2: gold #Hełm Bossa numer 2
- s.boss.ench.helmet.2: protection 1 #Enchant hełmu Bossa numer 2
- #>napiersnik<
- s.boss.chestplate.2: diamond #Napierśnik Bossa numer 2
- s.boss.ench.chestplate.2: protection 1 #Enchant napierśnika Bossa numer 2
- #>spodnie<
- s.boss.leggings.2: diamond #Spodnie Bossa numer 2
- s.boss.ench.leggings.2: protection 1 #Enchant spodni Bossa numer 2
- #>buty<
- s.boss.boots.2: diamond #Buty Bossa numer 2
- s.boss.ench.boots.2: protection 1 #Enchant butów Bossa numer 2
- #>miecz<
- s.boss.sword.2: diamond #Miecz Bossa numer 2
- s.boss.ench.sword.2: Sharpness 1 #Enchant miecza Bossa numer 2
- #>>>Nagroda 1<<<
- s.boss.nagroda1.przedmiot.2: sword #Nagroda(przedmiot) numer 2
- s.boss.nagroda1.typ.2: diamond #Nagroda(typ) numer 2
- s.boss.nagroda1.ench.2: Sharpness 9,Fire Aspect 4,Unbreaking 4 #Jaki enchant nagrody numer 2
- s.boss.nagroda1.nazwa.2: &6&l&nOstrze_Zdobywcy #Jaka nazwa nagrody numer 2
- s.boss.nagroda1.opis.2: Test #Opis nagrody 1 numer 2
- #>>>Nagroda 2<<<
- s.boss.nagroda2.przedmiot.2: helmet #Nagroda(przedmiot) numer 2
- s.boss.nagroda2.typ.2: gold #Nagroda(typ) numer 2
- s.boss.nagroda2.ench.2: protection 8 #Jaki enchant nagrody numer 2
- s.boss.nagroda2.nazwa.2: &6&nKorona_Królów #Jaka nazwa nagrody numer 2
- s.boss.nagroda2.opis.2: test #Opis nagrody 2 numer 2
- #>>>Nagroda 3<<<
- s.boss.nagroda3.przedmiot.2: chestplate #Nagroda(przedmiot) numer 2
- s.boss.nagroda3.typ.2: diamond #Nagroda(typ) numer 2
- s.boss.nagroda3.ench.2: Protection 8 #Jaki enchant nagrody numer 2
- s.boss.nagroda3.nazwa.2: &6&nNapierśnik_władcy #Jaka nazwa nagrody numer 2
- s.boss.nagroda3.opis.2: test #Opis nagrody 2 numer 2
- #>>>Nagroda 4<<<
- s.boss.nagroda4.przedmiot.2: leggings #Nagroda(przedmiot) numer 2
- s.boss.nagroda4.typ.2: diamond #Nagroda(typ) numer 2
- s.boss.nagroda4.ench.2: Protection 8 #Jaki enchant nagrody numer 2
- s.boss.nagroda4.nazwa.2: &5&nMajteczki_Królowej #Jaka nazwa nagrody numer 2
- s.boss.nagroda4.opis.2: test #Opis nagrody 2 numer 2
- #>>>Nagroda 5<<<
- s.boss.nagroda5.przedmiot.2: boots #Nagroda(przedmiot) numer 2
- s.boss.nagroda5.typ.2: diamond #Nagroda(typ) numer 2
- s.boss.nagroda5.ench.2: protection 8 #Jaki enchant nagrody numer 2
- s.boss.nagroda5.nazwa.2: &6&nButy_władców #Jaka nazwa nagrody numer 2
- s.boss.nagroda5.opis.2: test #Opis nagrody 2 numer 2
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Zmienne ║
- #║ ║
- #╚═══════════════════════════════════════╝
- variables:
- #╔═══════════════════════════════════════╗
- #║ Do edycji ║
- #╚═══════════════════════════════════════╝
- #
- #►►►►►Ustawienia nazw Bossów◄◄◄◄◄
- # Skrypt WYMAGA, by nazwa była
- # taka sama jak w opcjach, ale bez
- # koloru tzn zamiast uzupełniania dokładnie
- # tak samo jak w opcjiach, czyli np.
- # {s.boss.name.1} = "&n&l&2Boss"
- # trzeba wpisać:
- # {s.boss.name.1} = "Boss"
- # Jest to wymagane, by część pkuginu
- # działała poprawnie!
- {s.boss.name.1} = "Jaskiniowy_Trol"
- {s.boss.name.2} = "Krol_Zombie"
- {s.boss.name.3} = "nazwa"
- {s.boss.name.4} = "nazwa"
- {s.boss.name.5} = "nazwa"
- {s.boss.name.6} = "nazwa"
- {s.boss.name.7} = "nazwa"
- {s.boss.name.8} = "nazwa"
- {s.boss.name.9} = "nazwa"
- #►►►►►Ustawienia zbroi Bossa 1◄◄◄◄◄
- # true ← włączone
- # false ← wyłączone
- {s.boss.helmet.is.1} = true
- {s.boss.helmet.ench.is.1} = true
- {s.boss.chestplate.is.1} = true
- {s.boss.chestplate.ench.is.1} = true
- {s.boss.leggings.is.1} = true
- {s.boss.leggings.ench.is.1} = true
- {s.boss.boots.is.1} = true
- {s.boss.boots.ench.is.1} = true
- {s.boss.sword.is.1} = true
- {s.boss.sword.ench.is.1} = true
- #
- #►►►►►Ustawienia zbroi Bossa 2◄◄◄◄◄
- # true ← włączone
- # false ← wyłączone
- {s.boss.helmet.is.2} = true
- {s.boss.helmet.ench.is.2} = true
- {s.boss.chestplate.is.2} = true
- {s.boss.chestplate.ench.is.2} = true
- {s.boss.leggings.is.2} = true
- {s.boss.leggings.ench.is.2} = true
- {s.boss.boots.is.2} = true
- {s.boss.boots.ench.is.2} = true
- {s.boss.sword.is.2} = true
- {s.boss.sword.ench.is.2} = true
- #►►►►►Ustawienia obrażeń dla Bossów◄◄◄◄◄
- # Możesz tutaj zablokować niektóre
- # obrażenia, np od upadku, lub od
- # wilków dzięki czemu gracze będą
- # mięli większy kłopot z zabicie bossa ;)
- #►►►►►Ustawienia blokady obrażeń Bossa 1◄◄◄◄◄
- # true ← włączone(Zadaje obrażenia)
- # false ← wyłączone(Nie zadaje obrażeń)
- # możliwe do ustawienia opcje: fall, wolf, fire, projectile, burning, potion
- {s.boss.fall.is.1} = true
- {s.boss.wolf.is.1} = true
- {s.boss.fire.is.1} = true
- {s.boss.projectile.is.1} = true
- {s.boss.burning.is.1} = true
- {s.boss.potion.is.1} = true
- #►►►►►Ustawienia blokady obrażeń Bossa 2◄◄◄◄◄
- # true ← włączone(Zadaje obrażenia)
- # false ← wyłączone(Nie zadaje obrażeń)
- # możliwe do ustawienia opcje: fall, wolf, fire, projectile, burning, potion
- {s.boss.fall.is.2} = true
- {s.boss.wolf.is.2} = true
- {s.boss.fire.is.2} = true
- {s.boss.projectile.is.2} = true
- {s.boss.burning.is.2} = true
- {s.boss.potion.is.2} = true
- on load:
- set {alive.boss.1} to false
- set {alive.boss.2} to false
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ AutoUpdate ║
- #║ ║
- #╚═══════════════════════════════════════╝
- #Polecam nie dotykać ;)
- on load:
- set {b.boss.this.version} to "Beta 4.2.0.4"
- every {@s.boss.autoupdate.time} hours:
- if "{@s.boss.autoupdate.check}" is "yes":
- set {_connect} to result of connect to "http://pastebin.com/raw.php?i=uiBZ4pjw"
- if "%{_connect}%" is not "%{b.boss.this.version}%":
- if "{@s.boss.autoupdate.install}" is "yes":
- download from "http://pastebin.com/raw.php?i=6hTDxuFz" to file "plugins/Skript/scripts/%script%.sk"
- execute console command "skript reload %script%"
- set {b.boss.otrzymanie.info.a} to false
- else:
- set {b.boss.otrzymanie.info.b} to false
- every 10 minutes:
- if "{@s.boss.autoupdate.check}" is "yes":
- if {b.boss.otrzymanie.info.a} is false:
- loop all players:
- if loop-player have permissions "Better.Boss.check" or "Better.Boss.*":
- send "{@s.boss.prefix}<reset>&4UWAGA! SKRYPT ZOSTAŁ ZAKTUALIZOWANY!" to loop-player
- set {b.boss.otrzymanie.info.a} to true
- if {b.boss.otrzymanie.info.b} is false:
- loop all players:
- if loop-player have permissions "Better.Boss.check" or "Better.Boss.*":
- send "{@s.boss.prefix}<reset>&4UWAGA! SKRYPT POTRZEBUJE AKTUALIZACJI!" to loop-player
- set {b.boss.otrzymanie.info.b} to true
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Komenda główna ║
- #║ ║
- #╚═══════════════════════════════════════╝
- command /BetterBoss [<text>] [<text>] [<text>]:
- description: Komendy skryptu BetterBoss
- usage: /BetterBoss help
- #permission: skript.BetterBoss.*
- #permission message: &4Nie masz permisji do uzywania tej komendy!
- #executable by: players
- aliases: bb, boss
- trigger:
- set {_bb.correct.command.%player%} to false#sprawdza poprawność wpisanej komendy - nie ruszać ;)
- if arg 1 is not set:
- set {_bb.correct.command.%player%} to true
- execute player command "bb help"
- if arg 1 is "reload" or "relog" or "r":
- set {_bb.correct.command.%player%} to true
- if player have permissions "Better.Boss.spawn" or "Better.Boss.*":
- execute player command "skript reload %script%"
- else:
- send "&4Nie masz praw do użycia tej komendy!"
- if arg 1 is "version" or "v":
- set {_bb.correct.command.%player%} to true#sprawdza poprawność wpisanej komendy - nie ruszać ;)
- message "&7======================"
- message "&7Nazwa: &cBetterBoss"
- message "&7versja: &cBETA v2.1.0"
- message "&7Autor: &cSlupik98"
- message "&7======================"
- if arg 1 is "help" or "h":
- set {_bb.correct.command.%player%} to true#sprawdza poprawność wpisanej komendy - nie ruszać ;)
- message "&4/bb version &6- pokazuje informacje o pluginie"
- message "&4/bb spawn &cnazwa &6- spawnuje moba o danej nazwie"
- message "&4/bb list &6- pokazuje dostępne bossy"
- message "&4/bbc spawn &cHP DMG Nazwa Bron TypEq &6- spawnuje bossa o podanych(w komendzie) parametrach, aby zobaczyc typy eq wpisz &4/bmc help"
- if arg 1 is "spawn":
- set {_bb.correct.command.%player%} to true
- if player do not have permissions "Better.Boss.spawn" or "Better.Boss.*":
- if arg 3 is set:
- send "%{tooken.%player%.boss.spawn}%"
- if arg 3 is not "%{tooken.%player%.boss.spawn}%":
- send "&4Nie masz uprawnień do tego!"
- stop
- else:
- send "nic"
- else:
- stop
- if 1 is 1:
- set {_bb.correct.boss.%player%} to false#sprawdza poprawność wpisanego bossa - nie ruszać ;)
- #╔═══════════════════════════════════════╗
- #║ Boss 1 ║
- #╚═══════════════════════════════════════╝
- if arg 2 is {s.boss.name.1}:
- set {_bb.correct.boss.%player%} to true#sprawdza poprawność wpisanego bossa - nie ruszać ;)
- #►►►►►►►►►► spawn bossa 1 ◄◄◄◄◄◄◄◄◄◄
- set {_loc} to location of block 2 meters above the player
- set {_loc} to location of block 2 meters infront block at {_loc}
- spawn a {@s.boss.type.1} at {_loc}
- apply speed -1000 to the last spawned entity for 10 seconds
- apply resistance 99 to the last spawned entity for 10 seconds
- #►►►►►►►►►► HP bossa ◄◄◄◄◄◄◄◄◄◄
- set the last spawned entity's max health to {@s.boss.hp.1}
- heal last spawned entity
- #►►►►►►►►►► Nazwa bossa 1 ◄◄◄◄◄◄◄◄◄◄
- set the spawned {@s.boss.type.1}'s display name to "{@s.boss.name.1} %spawned {@s.boss.type.1}'s health%/%max health of last spawned entity%"
- #►►►►►►►►►► Ubiór bossa 1 i jego broń ◄◄◄◄◄◄◄◄◄◄
- if "{@s.boss.type.1}" is "zombie" or "Pig zombie" or "skeleton" or "pigman" or "pigzombie":
- if {s.boss.helmet.is.1} is true:
- if {s.boss.helmet.ench.is.1} is true:
- set helmet of the spawned {@s.boss.type.1} to a {@s.boss.helmet.1} helmet of {@s.boss.ench.helmet.1}
- else:
- set helmet of the spawned {@s.boss.type.1} to a {@s.boss.helmet.1} helmet
- if {s.boss.chestplate.is.1} is true:
- if {s.boss.chestplate.ench.is.1} is true:
- set chestplate of the spawned {@s.boss.type.1} to a {@s.boss.chestplate.1} chestplate of {@s.boss.ench.chestplate.1}
- else:
- set chestplate of the spawned {@s.boss.type.1} to a {@s.boss.chestplate.1} chestplate
- if {s.boss.leggings.is.1} is true:
- if {s.boss.leggings.ench.is.1} is true:
- set leggings of the spawned {@s.boss.type.1} to a {@s.boss.leggings.1} leggings of {@s.boss.ench.leggings.1}
- else:
- set leggings of the spawned {@s.boss.type.1} to a {@s.boss.leggings.1} leggings
- if {s.boss.boots.is.1} is true:
- if {s.boss.boots.ench.is.1} is true:
- set boots of the spawned {@s.boss.type.1} to a {@s.boss.boots.1} boots of {@s.boss.ench.boots.1}
- else:
- set boots of the spawned {@s.boss.type.1} to a {@s.boss.boots.1} boots
- if {s.boss.sword.is.1} is true:
- if {s.boss.sword.ench.is.1} is true:
- set tool of the spawned {@s.boss.type.1} to a {@s.boss.sword.1} sword of {@s.boss.ench.sword.1}
- else:
- set tool of the spawned {@s.boss.type.1} to a {@s.boss.sword.1} sword
- #►►►►►►►►►► Informacje o spawnie bossa 1 ◄◄◄◄◄◄◄◄◄◄
- if sender is a player:
- broadcast "{@s.boss.prefix}&6&l %player% &6zespawnowal bossa o imieniu {@s.boss.name.1}"
- else:
- broadcast "{@s.boss.prefix}&6&l Automatycznie &6zespawnowano bossa o imieniu {@s.boss.name.1}"
- #╔═══════════════════════════════════════╗
- #║ Boss 2 ║
- #╚═══════════════════════════════════════╝
- if arg 2 is {s.boss.name.2}:
- set {_bb.correct.boss.%player%} to true#sprawdza poprawność wpisanego bossa - nie ruszać ;)
- #►►►►►►►►►► spawn bossa 2 ◄◄◄◄◄◄◄◄◄◄
- set {_loc} to location of block 2 meters above the player
- set {_loc} to location of block 2 meters infront block at {_loc}
- spawn a {@s.boss.type.2} at {_loc}
- apply speed -1000 to the last spawned entity for 20 seconds
- apply resistance 99 to the last spawned entity for 20 seconds
- #►►►►►►►►►► HP bossa ◄◄◄◄◄◄◄◄◄◄
- set the last spawned entity's max health to {@s.boss.hp.2}
- heal last spawned entity
- #►►►►►►►►►► Nazwa bossa 2 ◄◄◄◄◄◄◄◄◄◄
- set the spawned {@s.boss.type.2}'s display name to "{@s.boss.name.2} %spawned {@s.boss.type.2}'s health%/%max health of last spawned entity%"
- #►►►►►►►►►► Ubiór bossa 2 i jego broń ◄◄◄◄◄◄◄◄◄◄
- if "{@s.boss.type.2}" is "zombie" or "Pig zombie" or "skeleton" or "pigman" or "pigzombie":
- if {s.boss.helmet.is.2} is true:
- if {s.boss.helmet.ench.is.2} is true:
- set helmet of the spawned {@s.boss.type.2} to a {@s.boss.helmet.2} helmet of {@s.boss.ench.helmet.2}
- else:
- set helmet of the spawned {@s.boss.type.2} to a {@s.boss.helmet.2} helmet
- if {s.boss.chestplate.is.2} is true:
- if {s.boss.chestplate.ench.is.2} is true:
- set chestplate of the spawned {@s.boss.type.2} to a {@s.boss.chestplate.2} chestplate of {@s.boss.ench.chestplate.2}
- else:
- set chestplate of the spawned {@s.boss.type.2} to a {@s.boss.chestplate.2} chestplate
- if {s.boss.leggings.is.2} is true:
- if {s.boss.leggings.ench.is.2} is true:
- set leggings of the spawned {@s.boss.type.2} to a {@s.boss.leggings.2} leggings of {@s.boss.ench.leggings.2}
- else:
- set leggings of the spawned {@s.boss.type.2} to a {@s.boss.leggings.2} leggings
- if {s.boss.boots.is.2} is true:
- if {s.boss.boots.ench.is.2} is true:
- set boots of the spawned {@s.boss.type.2} to a {@s.boss.boots.2} boots of {@s.boss.ench.boots.2}
- else:
- set boots of the spawned {@s.boss.type.2} to a {@s.boss.boots.2} boots
- if {s.boss.sword.is.2} is true:
- if {s.boss.sword.ench.is.2} is true:
- set tool of the spawned {@s.boss.type.2} to a {@s.boss.sword.2} sword of {@s.boss.ench.sword.2}
- else:
- set tool of the spawned {@s.boss.type.2} to a {@s.boss.sword.2} sword
- #►►►►►►►►►► Informacje o spawnie bossa 2 ◄◄◄◄◄◄◄◄◄◄
- if sender is a player:
- broadcast "{@s.boss.prefix}&6&l %player% &6zespawnowal bossa o imieniu {@s.boss.name.2}"
- else:
- broadcast "{@s.boss.prefix}&6&l Automatycznie &6zespawnowano bossa o imieniu {@s.boss.name.2}"
- #╔═══════════════════════════════════════╗
- #║ Obługa błędu braku podania bossa ║
- #╚═══════════════════════════════════════╝
- if arg 2 is not set:
- set {_bb.correct.boss.%player%} to true
- execute player command "bb lista"
- #╔═══════════════════════════════════════╗
- #║ Obługa błędu podania błędnego bossa ║
- #╚═══════════════════════════════════════╝
- if {_bb.correct.boss.%player%} is false:
- send "&4Error! Nie istnieje boss o nazwie &6%arg 2%!"
- execute player command "bb lista"
- #╔═══════════════════════════════════════╗
- #║ Pokazanie dosepnych bossów ║
- #╚═══════════════════════════════════════╝
- if arg 1 is "list" or "lista":
- message "&6Dostepne bossy:"
- message " &c- %{s.boss.name.1}%"
- message " &c- %{s.boss.name.2}%"
- #╔═══════════════════════════════════════╗
- #║ Obługa błędu podania błednej komendy ║
- #╚═══════════════════════════════════════╝
- # else:
- if {_bb.correct.command.%player%} is false:
- send "&4Error! Nie rozpoznano słowa %arg 1%!"
- wait 1 second
- execute player command "BetterBoss help"
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa obrażeń od bossa ║
- #║ ║
- #╚═══════════════════════════════════════╝
- on damage:
- if attacker is a creature:
- #╔═══════════════════════════════════════╗
- #║ Boss 1 ║
- #╚═══════════════════════════════════════╝
- if attacker is a {@s.boss.type.1}:
- name of attacker contains "{@s.boss.name.1}":
- set damage to {@s.boss.dmg.1}
- #╔═══════════════════════════════════════╗
- #║ Boss 2 ║
- #╚═══════════════════════════════════════╝
- if attacker is a {@s.boss.type.2}:
- name of attacker contains "{@s.boss.name.2}":
- set damage to {@s.boss.dmg.2}
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa śmierci ║
- #║ spowodowanej bossem(chat) ║
- #╚═══════════════════════════════════════╝
- on death of player:
- if attacker is a Creature:
- #╔═══════════════════════════════════════╗
- #║ Boss 1 ║
- #╚═══════════════════════════════════════╝
- if attacker is a {@s.boss.type.1}:
- name of attacker contains "{@s.boss.name.1}":
- wait 1 second
- broadcast "{@s.boss.prefix} {@s.boss.name.1} zabił gracza %player%"
- send "{@s.boss.prefix} Zostałeś zabity przez BOSSa o nazwie: {@s.boss.name.1}" to victim
- #╔═══════════════════════════════════════╗
- #║ Boss 2 ║
- #╚═══════════════════════════════════════╝
- if attacker is a {@s.boss.type.2}:
- name of attacker contains "{@s.boss.name.2}":
- wait 1 second
- broadcast "{@s.boss.prefix} {@s.boss.name.2} zabił gracza %player%"
- send "{@s.boss.prefix} Zostałeś zabity przez BOSSa o nazwie: {@s.boss.name.2}" to victim
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa zmiany paska ║
- #║ nad głową z hp bossa ║
- #╚═══════════════════════════════════════╝
- on damage of creature:
- #╔═══════════════════════════════════════╗
- #║ Boss 1 ║
- #╚═══════════════════════════════════════╝
- if name of victim contains "{@s.boss.name.1}":
- if {s.boss.fall.is.1} is false:
- if damage was caused by fall:
- cancel event
- if {s.boss.wolf.is.1} is false:
- if attacker is wolf:
- cancel event
- delete attacker
- if {s.boss.fire.is.1} is false:
- if damage was caused by fire:
- cancel event
- if {s.boss.projectile.is.1} is false:
- if damage was caused by projectile:
- cancel event
- if {s.boss.burning.is.1} is false:
- if damage was caused by burning:
- cancel event
- if {s.boss.potion.is.1} is false:
- if damage was caused by potion:
- cancel event
- set name of victim to "{@s.boss.name.1} &6%health of victim%/%max health of victim%"
- #╔═══════════════════════════════════════╗
- #║ Boss 2 ║
- #╚═══════════════════════════════════════╝
- if name of victim contains "{@s.boss.name.2}":
- if {s.boss.fall.is.2} is false:
- if damage was caused by fall:
- cancel event
- if {s.boss.wolf.is.2} is false:
- if attacker is wolf:
- cancel event
- delete attacker
- if {s.boss.fire.is.2} is false:
- if damage was caused by fire:
- cancel event
- if {s.boss.projectile.is.2} is false:
- if damage was caused by projectile:
- cancel event
- if {s.boss.burning.is.2} is false:
- if damage was caused by burning:
- cancel event
- if {s.boss.potion.is.2} is false:
- if damage was caused by potion:
- cancel event
- set name of victim to "{@s.boss.name.2} &6%health of victim%/%max health of victim%"
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa śmierci bossa ║
- #║ ║
- #╚═══════════════════════════════════════╝
- on death of creature:
- #╔═══════════════════════════════════════╗
- #║ Boss 1 ║
- #╚═══════════════════════════════════════╝
- if victim is a {@s.boss.type.1}:
- name of victim contains "{@s.boss.name.1}":
- #►►►►►►►►►► Ogłoszenie o zabiciu bossa 1◄◄◄◄◄◄◄◄◄◄
- broadcast "{@s.boss.prefix}&6: Gracz &6&l%attacker%&6 zabil bossa &6&l{@s.boss.name.1}"
- set {alive.boss.1} to false
- chance of 20%:
- add a {@s.boss.nagroda5.typ.1} {@s.boss.nagroda5.przedmiot.1} of {@s.boss.nagroda5.ench.1} named "{@s.boss.nagroda5.nazwa.1}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda4.typ.1} {@s.boss.nagroda4.przedmiot.1} of {@s.boss.nagroda4.ench.1} named "{@s.boss.nagroda4.nazwa.1}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda3.typ.1} {@s.boss.nagroda3.przedmiot.1} of {@s.boss.nagroda3.ench.1} named "{@s.boss.nagroda3.nazwa.1}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda2.typ.1} {@s.boss.nagroda2.przedmiot.1} of {@s.boss.nagroda2.ench.1} named "{@s.boss.nagroda2.nazwa.1}" to inventory of attacker
- stop
- chance of 100%:
- add a {@s.boss.nagroda1.typ.1} {@s.boss.nagroda1.przedmiot.1} of {@s.boss.nagroda1.ench.1} named "{@s.boss.nagroda1.nazwa.1}" to inventory of attacker
- stop
- #╔═══════════════════════════════════════╗
- #║ Boss 2 ║
- #╚═══════════════════════════════════════╝
- if victim is a {@s.boss.type.2}:
- name of victim contains "{@s.boss.name.2}":
- #►►►►►►►►►► Ogłoszenie o zabiciu bossa 2◄◄◄◄◄◄◄◄◄◄
- broadcast "{@s.boss.prefix}&6: Gracz &6&l%attacker%&6 zabil bossa &6&l{@s.boss.name.2}"
- set {alive.boss.2} to false
- chance of 20%:
- add a {@s.boss.nagroda5.typ.2} {@s.boss.nagroda5.przedmiot.2} of {@s.boss.nagroda5.ench.2} named "{@s.boss.nagroda5.nazwa.2}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda4.typ.2} {@s.boss.nagroda4.przedmiot.2} of {@s.boss.nagroda4.ench.2} named "{@s.boss.nagroda4.nazwa.2}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda3.typ.2} {@s.boss.nagroda3.przedmiot.2} of {@s.boss.nagroda3.ench.2} named "{@s.boss.nagroda3.nazwa.2}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda2.typ.2} {@s.boss.nagroda2.przedmiot.2} of {@s.boss.nagroda2.ench.2} named "{@s.boss.nagroda2.nazwa.2}" to inventory of attacker
- stop
- chance of 100%:
- add a {@s.boss.nagroda1.typ.2} {@s.boss.nagroda1.przedmiot.2} of {@s.boss.nagroda1.ench.2} named "{@s.boss.nagroda1.nazwa.2}" to inventory of attacker
- stop
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa spawnu tabliczką ║
- #║ ║
- #╚═══════════════════════════════════════╝
- on rightclick on sign:
- if line 1 is "&1[BetterBoss]":
- if line 2 is "&2spawn":
- set {tooken.znak1} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
- set {tooken.znak2} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
- set {tooken.znak3} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
- set {tooken.znak4} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
- set {tooken.znak5} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
- set {tooken.znak6} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
- set {tooken.kod} to "%{tooken.znak1}%%{tooken.znak2}%%{tooken.znak3}%%{tooken.znak4}%%{tooken.znak5}%%{tooken.znak6}%"
- if line 3 is "%{s.boss.name.1}%":
- if {alive.boss.1} is false:
- set {tooken.%player%.boss.spawn} to {tooken.kod}
- execute player command "BetterBoss spawn %{s.boss.name.1}% %{tooken.%player%.boss.spawn}%"
- set {alive.boss.1} to true
- if line 3 is "%{s.boss.name.2}%":
- if {alive.boss.2} is false:
- set {tooken.%player%.boss.spawn} to {tooken.kod}
- execute player command "BetterBoss spawn %{s.boss.name.2}% %{tooken.%player%.boss.spawn}%"
- set {alive.boss.2} to true
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Komenda na cutom bossy z poziomy gry ║
- #║ ║
- #╚═══════════════════════════════════════╝
- command /BetterBossCustom [<text>] [<text>] [<text>] [<text>] [<text>] [<text>] [<text>] [<text>]:
- description: Komendy skryptu BetterBoss
- usage: /BetterBoss help
- #permission: skript.BetterBoss.*
- #permission message: &4Nie masz permisji do uzywania tej komendy!
- #executable by: players
- aliases: bbc, bossc, cboss
- trigger:
- set {_bb.correct.command.%player%} to false#sprawdza poprawność wpisanej komendy - nie ruszać ;)
- if arg 1 is set:
- set {_bb.correct.command.%player%} to true
- if player have permissions "Better.Boss.custom" or "Better.Boss.*":
- if arg 1 is "spider" or "pigzombie" or "magmacube" or "enderman" or "blaze" or "skeleton" or "slime" or "zombie" or "cavespider" or "creeper" or "ghast" or "giant":
- if arg 2 is set:
- if arg 3 is set:
- if arg 4 is set:
- set {_rodzaj} to arg 1
- if {_rodzaj} is "spider":
- spawn spider at location of targeted block
- if {_rodzaj} is "pigzombie" or "pigman" or "ZombiePigman":
- spawn Zombie Pigman at location of targeted block
- if {_rodzaj} is "magmacube":
- spawn magma cube at location of targeted block
- if {_rodzaj} is "enderman":
- spawn enderman at location of targeted block
- if {_rodzaj} is "blaze":
- spawn blaze at location of targeted block
- if {_rodzaj} is "skeleton":
- spawn skeleton at location of targeted block
- if {_rodzaj} is "slime":
- spawn slime at location of targeted block
- if {_rodzaj} is "zombie":
- spawn zombie at location of targeted block
- if {_rodzaj} is "cavespider":
- spawn cavespider at location of targeted block
- if {_rodzaj} is "creeper":
- spawn creeper at location of targeted block
- if {_rodzaj} is "ghast":
- spawn ghast at location of targeted block
- if {_rodzaj} is "giant":
- spawn giant at location of targeted block
- set {_HP} to arg 2 parsed as integer
- set {_nazwa} to arg 4
- set {%{_nazwa}%.DMG} to arg 3 parsed as integer
- add {_nazwa} to {betterBoss.Custom.bossy::*}
- set the last spawned entity's max health to {_HP}
- heal the last spawned entity
- set the last spawned entity's display name to "%{_nazwa}%"
- #set the last spawned entity's display name to "%{_nazwa}% %last spawned entity's health%/%max health of last spawned entity%" #z powodów technicznych off
- if arg 1 is "zombie" or "pigzombie":
- if arg 5 is "leather" or "iron" or "gold" or "diamond" or "none":
- if arg 6 is "leather" or "iron" or "gold" or "diamond" or "none":
- if arg 7 is "leather" or "iron" or "gold" or "diamond" or "none":
- if arg 8 is "leather" or "iron" or "gold" or "diamond" or "none":
- if arg 5 is not "none":
- if arg 5 is "diamond":
- set helmet of the last spawned entity to a diamond helmet
- if arg 5 is "gold":
- set helmet of the last spawned entity to a gold helmet
- if arg 5 is "iron":
- set helmet of the last spawned entity to a iron helmet
- if arg 5 is "leather":
- set helmet of the last spawned entity to a leather helmet
- if arg 6 is not "none":
- if arg 6 is "diamond":
- set chestplate of the last spawned entity to a diamond chestplate
- if arg 6 is "gold":
- set chestplate of the last spawned entity to a gold chestplate
- if arg 6 is "iron":
- set chestplate of the last spawned entity to a iron chestplate
- if arg 6 is "leather":
- set chestplate of the last spawned entity to a leather chestplate
- if arg 7 is not "none":
- if arg 7 is "diamond":
- set leggings of the last spawned entity to a diamond leggings
- if arg 7 is "gold":
- set leggings of the last spawned entity to a gold leggings
- if arg 7 is "iron":
- set leggings of the last spawned entity to a iron leggings
- if arg 7 is "leather":
- set leggings of the last spawned entity to a leather leggings
- if arg 8 is not "none":
- if arg 8 is "diamond":
- set boots of the last spawned entity to a diamond boots
- if arg 8 is "gold":
- set boots of the last spawned entity to a gold boots
- if arg 8 is "iron":
- set boots of the last spawned entity to a iron boots
- if arg 8 is "leather":
- set boots of the last spawned entity to a leather boots
- else:
- send "Nie ma takiego rodzaju zbroi jak %arg 2%"
- else:
- send "Nie ma takiego rodzaju zbroi jak %arg 2%"
- else:
- send "Nie ma takiego rodzaju zbroi jak %arg 2%"
- else:
- send "Nie ma takiego rodzaju zbroi jak %arg 2%"
- else:
- send "&4Musisz podać nazwę bossa(bez spacji)"
- else:
- send "&4Musisz podać DMG bossa"
- else:
- send "&4Musisz podac ilość HP bossa"
- else:
- send "&4Podany mob musi być potworem i być napsiany poprawnie po angielsku!"
- else:
- send "&4Nie masz praw do użycia tej komendy!"
- else:
- send "&4/bbc &crodzaj_potwora HP DMG nazwa rodzaj_hełmu rodzaj_napierśnika rodzaj_spodni rodzaj_butów rodzaj_broni broń"
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa obrażeń zadanych ║
- #║ przez cutom bossa ║
- #╚═══════════════════════════════════════╝
- on damage of player:
- if attacker is creature:
- loop {betterBoss.Custom.bossy::*}:
- set {_nazwa} to loop-value
- if name of attacker contains {_nazwa}:
- set damage to {%{_nazwa}%.DMG}
- exit loop
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa obrażeń cutom bossa ║
- #║ ║
- #╚═══════════════════════════════════════╝
- #Z powodów technicznych chwiolowo off
- #on damage of creature:
- # loop {betterBoss.Custom.bossy::*}:
- # set {_nazwa} to loop-value
- # if name of victim contains {_nazwa}:
- # set display name of victim to "%name of victim% &6%health of victim%/%max health of victim%"
- # exit loop
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa śmierci cutom bossa ║
- #║ ║
- #╚═══════════════════════════════════════╝
- on death of creature:
- loop {betterBoss.Custom.bossy::*}:
- set {_nazwa} to loop-value
- if name of victim contains {_nazwa}:
- Broadcast "{@s.boss.prefix}&4Gracz %attacker% zabił bossa %{_nazwa}%"
- remove {_nazwa} from {betterBoss.Custom.bossy::*}
- exit loop
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Komenda na nakładanie eq na moby ║
- #║ ║
- #╚═══════════════════════════════════════╝
- command /bbfc [<text>][<text>][<text>]:
- aliases: BetterBossFastCustom
- trigger:
- if arg 1 is set:
- if arg 1 is "eq":
- if arg 2 is set:
- if arg 2 is "on":
- if player have permissions "Better.Boss.eq.on" or "Better.Boss.*":
- set {imposition.%player%} to true#imposition - nakładanie
- send "Pomyślnie włączono nakładanie itemków"
- if arg 2 is "off":
- if player have permissions "Better.Boss.eq.off" or "Better.Boss.*":
- set {imposition.%player%} to false#imposition - nakładanie
- send "Pomyślnie wyłączono nakładanie itemków"
- else:
- send "&4/bbfc &ceq &con/off &6-włącza/wyłącza nakładanie eq na moba klikając prawym przyciskiem myszy na niego"
- if arg 1 is "hp":
- if arg 2 is set:
- if arg 2 is "on":
- if arg 3 is set:
- if player have permissions "Better.Boss.hp.on" or "Better.Boss.*":
- set {bbfc.hp.%player%} to true
- set {bbfc.hp.%player%.ile} to arg 3 parsed as integer
- send "Pomyślnie włączono zmianę hp na %arg 3%"
- else:
- send "&4/bbfc &chp &con/off ilość &6-włącza/wyłącza zmianę hp moba na którego klikniemy"
- if arg 2 is "off":
- if player have permissions "Better.Boss.eq.on" or "Better.Boss.*":
- set {bbfc.hp.%player%} to false
- send "Pomyślnie wyłączono zmianę hp"
- else:
- send "&4/bbfc &chp &con/off ilość &6-włącza/wyłącza zmianę hp moba na którego klikniemy"
- send "0"
- send "%arg 1%"
- if arg 1 is "name":
- send "1"
- if arg 2 is set:
- send "2"
- if arg 2 is "on":
- send "3"
- if arg 3 is set:
- send "4"
- if player have permissions "Better.Boss.hp.on" or "Better.Boss.*":
- send "5"
- set {bbfc.name.%player%} to true
- set {bbfc.name.%player%.jakie} to arg 3
- send "Pomyślnie włączono zmianę imienia na %arg 3%"
- else:
- send "&4/bbfc &cname &con/off imie &6-włącza/wyłącza zmianę imienia moba na którego klikniemy"
- if arg 2 is "off":
- if player have permissions "Better.Boss.eq.on" or "Better.Boss.*":
- set {bbfc.name.%player%} to false
- send "Pomyślnie wyłączono nazwę moba"
- else:
- send "&4/bbfc &cname &con/off imie &6-włącza/wyłącza zmianę imienia moba na którego klikniemy"
- else:
- send "&4/bbfc &ceq &con/off &6-włącza/wyłącza nakładanie eq na moba klikając prawym przyciskiem myszy na niego"
- send "&4/bbfc &chp &con/off ilość &6-włącza/wyłącza zmianę hp moba na którego klikniemy"
- send "&4/bbfc &cname &con/off imie &6-włącza/wyłącza zmianę imienia moba na którego klikniemy"
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Szybkie custom ustawienia ║
- #║ ║
- #╚═══════════════════════════════════════╝
- on rightclick on creature:
- if {imposition.%player%} is true:
- if player's tool is any helmet or any chestplate or any leggings or any boots:
- if player have permissions "Better.Boss.imposition.helmet" or "Better.Boss.*":
- set helmet of clicked creature to player's tool
- cancel event
- if player's tool is chestplate:
- if player have permissions "Better.Boss.imposition.chestplate" or "Better.Boss.*":
- set chestplate of clicked creature to player's tool
- cancel event
- if player's tool is any leggings:
- if player have permissions "Better.Boss.imposition.leggings" or "Better.Boss.*":
- set leggings of clicked creature to player's tool
- cancel event
- if player's tool is any boots:
- if player have permissions "Better.Boss.imposition.boots" or "Better.Boss.*":
- set boots of clicked creature to player's tool
- cancel event
- if player's tool is any sword or bow:
- if player have permissions "Better.Boss.imposition.tool" or "Better.Boss.*":
- set tool of clicked creature to player's tool
- cancel event
- if {bbfc.hp.%player%} is true:
- set clicked entity's max health to {bbfc.hp.%player%.ile}
- heal clicked entity
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Część z randomowym Bossem ║
- #║ ║
- #╚═══════════════════════════════════════╝
- every {@s.boss.rspawn.time} hours:
- broadcast "{@s.boss.prefix}&6&l Automatycznie spawnowanie moba..."
- if "{@s.boss.rspawn.is}" is "yes":
- #►►►►►►►►►► spawn bossa 1 ◄◄◄◄◄◄◄◄◄◄
- set {_loc.x} to random integer between {@s.boss.corner.rspawn.x.1} and {@s.boss.corner.rspawn.x.2}
- set {_loc.z} to random integer between {@s.boss.corner.rspawn.z.1} and {@s.boss.corner.rspawn.z.2}
- set {_loc.y} to 200
- set {_loc} to location at {_loc.x}, {_loc.y}, {_loc.z} in the world "world"
- spawn a {@s.boss.type.rBOSS.1} at {_loc}
- apply speed 1 to the last spawned entity for 10 seconds
- apply resistance 99 to the last spawned entity for 10 seconds
- #►►►►►►►►►► HP bossa ◄◄◄◄◄◄◄◄◄◄
- set the last spawned entity's max health to {@s.boss.hp.rBOSS.1}
- heal last spawned entity
- #►►►►►►►►►► Nazwa bossa rBOSS.1 ◄◄◄◄◄◄◄◄◄◄
- set the spawned {@s.boss.type.rBOSS.1}'s display name to "{@s.boss.name.rBOSS.1} %spawned {@s.boss.type.rBOSS.1}'s health%/%max health of last spawned entity%"
- #►►►►►►►►►► Ubiór bossa rBOSS.1 i jego broń ◄◄◄◄◄◄◄◄◄◄
- if "{@s.boss.type.rBOSS.1}" is "zombie" or "Pig zombie" or "skeleton" or "pigman" or "pigzombie":
- if "{@s.boss.type.rBOSS.1}" is "zombie" or "Pig zombie" or "skeleton" or "pigman" or "pigzombie":
- if "{@s.boss.czy.helmet.rBOSS.1}" is "yes":
- if "{@s.boss.czy.ench.helmet.rBOSS.1}" is "yes":
- set helmet of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.helmet.rBOSS.1} helmet of {@s.boss.ench.helmet.rBOSS.1}
- else:
- set helmet of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.helmet.rBOSS.1} helmet
- if "{@s.boss.czy.chestplate.rBOSS.1}" is "yes":
- if "{@s.boss.czy.ench.chestplate.rBOSS.1}" is "yes":
- set chestplate of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.chestplate.rBOSS.1} chestplate of {@s.boss.ench.chestplate.rBOSS.1}
- else:
- set chestplate of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.chestplate.rBOSS.1} chestplate
- if "{@s.boss.czy.leggings.rBOSS.1}" is "yes":
- if "{@s.boss.czy.ench.leggings.rBOSS.1}" is "yes":
- set leggings of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.leggings.rBOSS.1} leggings of {@s.boss.ench.leggings.rBOSS.1}
- else:
- set leggings of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.leggings.rBOSS.1} leggings
- if "{@s.boss.czy.boots.rBOSS.1}" is "yes":
- if "{@s.boss.czy.ench.boots.rBOSS.1}" is "yes":
- set boots of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.boots.rBOSS.1} boots of {@s.boss.ench.boots.rBOSS.1}
- else:
- set boots of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.boots.rBOSS.1} boots
- if "{@s.boss.czy.sword.rBOSS.1}" is "yes":
- if "{@s.boss.czy.ench.sword.rBOSS.1}" is "yes":
- set tool of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.sword.rBOSS.1} sword of {@s.boss.ench.sword.rBOSS.1}
- else:
- set tool of the spawned {@s.boss.type.rBOSS.1} to a {@s.boss.sword.rBOSS.1} sword #►►►►►►►►►► Informacje o spawnie bossa rBOSS.1 ◄◄◄◄◄◄◄◄◄◄
- broadcast "{@s.boss.prefix}&6&l Automatycznie <reset>&6zespawnowano bossa o imieniu {@s.boss.name.rBOSS.1}<reset> &6na kordach %{_loc.x}%, %{_loc.y}%, %{_loc.z}%"
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa zmiany paska ║
- #║ nad głową z hp random bossa ║
- #╚═══════════════════════════════════════╝
- on damage of creature:
- if name of victim contains "{@s.boss.name.rBOSS.1}":
- set name of victim to "{@s.boss.name.rBOSS.1} &6%health of victim%/%max health of victim%"
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa obrażeń od random bossa ║
- #║ ║
- #╚═══════════════════════════════════════╝
- on damage:
- if attacker is a creature:
- if attacker is a {@s.boss.type.rBOSS.1}:
- name of attacker contains "{@s.boss.name.rBOSS.1}":
- set damage to {@s.boss.dmg.rBOSS.1}
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Obsługa śmierci random bossa ║
- #║ ║
- #╚═══════════════════════════════════════╝
- on death of creature:
- if victim is a {@s.boss.type.rBOSS.1}:
- name of victim contains "{@s.boss.name.rBOSS.1}":
- #►►►►►►►►►► Ogłoszenie o zabiciu bossa 1◄◄◄◄◄◄◄◄◄◄
- broadcast "{@s.boss.prefix}&6: Gracz &6&l%attacker%&6 zabil bossa &6&l{@s.boss.name.rBOSS.1}"
- set {alive.boss.rBOSS.1} to false
- chance of 20%:
- add a {@s.boss.nagroda5.typ.rBOSS.1} {@s.boss.nagroda5.przedmiot.rBOSS.1} of {@s.boss.nagroda5.ench.rBOSS.1} named "{@s.boss.nagroda5.nazwa.rBOSS.1}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda4.typ.rBOSS.1} {@s.boss.nagroda4.przedmiot.rBOSS.1} of {@s.boss.nagroda4.ench.rBOSS.1} named "{@s.boss.nagroda4.nazwa.rBOSS.1}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda3.typ.rBOSS.1} {@s.boss.nagroda3.przedmiot.rBOSS.1} of {@s.boss.nagroda3.ench.rBOSS.1} named "{@s.boss.nagroda3.nazwa.rBOSS.1}" to inventory of attacker
- stop
- chance of 20%:
- add a {@s.boss.nagroda2.typ.rBOSS.1} {@s.boss.nagroda2.przedmiot.rBOSS.1} of {@s.boss.nagroda2.ench.rBOSS.1} named "{@s.boss.nagroda2.nazwa.rBOSS.1}" to inventory of attacker
- stop
- chance of 100%:
- add a {@s.boss.nagroda1.typ.rBOSS.1} {@s.boss.nagroda1.przedmiot.rBOSS.1} of {@s.boss.nagroda1.ench.rBOSS.1} named "{@s.boss.nagroda1.nazwa.rBOSS.1}" to inventory of attacker
- stop
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Część eventowymi bossami ║
- #║ ║
- #╚═══════════════════════════════════════╝
- every {@s.boss.eventmob.time} hours:
- if "{@s.boss.eventmob.event.is}" is "yes":
- #►►►►►►►►►► Informacje o evencie ◄◄◄◄◄◄◄◄◄◄
- broadcast "{@s.boss.prefix}&6&l Rozpoczęto event!"
- #►►►►►►►►►► spawn mobów ◄◄◄◄◄◄◄◄◄◄
- set {_licznik.a} to 10
- set {_licznik.b} to 10
- set {_how.many.mobs} to 0
- set {_how.many.waves} to 0
- loop {_licznik.a} times:
- if {@s.boss.eventmob.how.waves} is {_how.many.waves}:
- exit loop
- add 1 to {_how.many.waves}
- wait {@s.boss.eventmob.time} seconds
- loop {_licznik.b} times:
- if {@s.boss.eventmob.how.many} is {_how.many.mobs}:
- exit loop
- add 1 to {_how.many.mobs}
- add 1 to {_licznik.b}
- set {_loc.x} to random integer between {@s.boss.corner.eventmob.x.1} and {@s.boss.corner.eventmob.x.2}
- set {_loc.z} to random integer between {@s.boss.corner.eventmob.z.1} and {@s.boss.corner.eventmob.z.2}
- set {_loc.y} to 200
- set {_loc} to location at {_loc.x}, {_loc.y}, {_loc.z} in the world "world"
- spawn a {@s.boss.eventmob.type.x} at {_loc}
- apply speed 1 to the last spawned entity for 10 seconds
- apply resistance 99 to the last spawned entity for 10 seconds
- #►►►►►►►►►► HP bossa ◄◄◄◄◄◄◄◄◄◄
- set the last spawned entity's max health to {@s.boss.eventmob.hp.x}
- heal last spawned entity
- #►►►►►►►►►► Nazwa bossa eventmob ◄◄◄◄◄◄◄◄◄◄
- set the spawned {@s.boss.eventmob.type.x}'s display name to "{@s.boss.eventmob.nazwa.x} %spawned {@s.boss.eventmob.type.x}'s health%/%max health of last spawned entity%"
- #►►►►►►►►►► Ubiór bossa eventmob.1 i jego broń ◄◄◄◄◄◄◄◄◄◄
- if "{@s.boss.eventmob.type.x}" is "zombie" or "Pig zombie" or "skeleton" or "pigman" or "pigzombie":
- if "{@s.boss.czy.helmet.eventmob.1}" is "yes":
- if "{@s.boss.czy.ench.helmet.eventmob.1}" is "yes":
- set helmet of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.helmet.eventmob.1} helmet of {@s.boss.ench.helmet.eventmob.1}
- else:
- set helmet of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.helmet.eventmob.1} helmet
- if "{@s.boss.czy.chestplate.eventmob.1}" is "yes":
- if "{@s.boss.czy.ench.chestplate.eventmob.1}" is "yes":
- set chestplate of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.chestplate.eventmob.1} chestplate of {@s.boss.ench.chestplate.eventmob.1}
- else:
- set chestplate of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.chestplate.eventmob.1} chestplate
- if "{@s.boss.czy.leggings.eventmob.1}" is "yes":
- if "{@s.boss.czy.ench.leggings.eventmob.1}" is "yes":
- set leggings of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.leggings.eventmob.1} leggings of {@s.boss.ench.leggings.eventmob.1}
- else:
- set leggings of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.leggings.eventmob.1} leggings
- if "{@s.boss.czy.boots.eventmob.1}" is "yes":
- if "{@s.boss.czy.ench.boots.eventmob.1}" is "yes":
- set boots of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.boots.eventmob.1} boots of {@s.boss.ench.boots.eventmob.1}
- else:
- set boots of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.boots.eventmob.1} boots
- if "{@s.boss.czy.sword.eventmob.1}" is "yes":
- if "{@s.boss.czy.ench.sword.eventmob.1}" is "yes":
- set tool of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.sword.eventmob.1} sword of {@s.boss.ench.sword.eventmob.1}
- else:
- set tool of the spawned {@s.boss.eventmob.type.x} to a {@s.boss.sword.eventmob.1} sword
- broadcast "{@s.boss.prefix}&6&l Zakończono spawnowanie mobów!"
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Część z dedem eventowych bossów ║
- #║ ║
- #╚═══════════════════════════════════════╝
- on death of creature:
- if victim is a {@s.boss.eventmob.type.x}:
- name of victim contains "{@s.boss.eventmob.nazwa.x}":
- #►►►►►►►►►► Ogłoszenie o zabiciu bossa 1◄◄◄◄◄◄◄◄◄◄
- broadcast "{@s.boss.prefix}&6: Gracz &6&l%attacker%&6 zabil bossa &2eventowego &6&l{@s.boss.eventmob.nazwa.x}"
- #╔═══════════════════════════════════════╗
- #║ ║
- #║ Koniec ║
- #║ ║
- #╚═══════════════════════════════════════╝
Advertisement
Add Comment
Please, Sign In to add comment