# Skrypt dla: Whiteyea # Od: SaYjacoB options: excalibur: diamond sword of unbreaking 1000 and sharpness 15 and fire aspect 10 and knockback 5 named "&4Excalibur" with lore "&2&lZatruwa atakowanego gracza" kosa: diamond hoe of knockback 10 and sharpness 20 and unbreaking 1000 and fire aspect 15 named "&6Kosa Smierci" with lore "&8&lSpowalnia atakowanego gracza" topór: golden axe of sharpness 25 and unbreaking 1000 and fire aspect 20 named "&5Topor Bogow" with lore "&7&lUderza atakowanego gracza piorunem" DlugoscTrwaniaTrucizny: 10 # Czas w sekundach DlugoscTrwaniaSpowolnienia: 10 # Czas w sekundach on damage of a player: if attacker is player: if victim is player: if attacker's tool is {@excalibur}: apply poison to the victim for {@DlugoscTrwaniaTrucizny} seconds # Nie wiem czy to działa if attacker's tool is {@kosa}: apply slowness to the victim for {@DlugoscTrwaniaSpowolnienia} seconds # Czy to działa też nie wiem if attacker's tool is {@topór}: strike lightning effect at victim command /daj []: trigger: if player doesn't have permission "itemy.gracz": send "&4Nie masz uprawnien!" if player has permission "itemy.gracz": if arg 1 is "exc": give {@excalibur} to player send "&7Otrzymales excalibur!" stop if arg 1 is "kosa": give {@kosa} to player send "&7Otrzymales Kose Smierci!" stop if arg 1 is "topor": give {@topór} to player send "&7Otrzymales Topor Bogow!" stop if arg 1 is not set: send "&7Nie podano nazwy iteemu jaki ta komenda ma dac! &2(exc/kosa/topor)"