Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Nazwa: EnchEZ
- # Autor: DaltonEZ
- # Wersja: 1.1
- # Zakaz usuwanie podpisu autora skriptu.
- # Zakaz podpisywania skriptu wlasnym nickiem.
- options:
- # Szansa na zatrucie I po uderzeniu. Pamiętaj by ustawiać w "%"
- TruciznaI: 35
- # Szansa na zatrucie II po uderzeniu. Pamiętaj by ustawiać w "%"
- TruciznaII: 40
- # Szansa na spowolnienie I po uderzeniu. Pamiętaj by ustawiać w "%"
- SpowolnienieI: 25
- # Szansa na spowolnienie II po uderzeniu. Pamiętaj by ustawiać w "%"
- SpowolnienieII: 30
- # Szansa na oślepienie I po uderzeniu. Pamiętaj by ustawiać w "%"
- OślepienieI: 40
- # Szansa na oślepienie II po uderzeniu. Pamiętaj by ustawiać w "%"
- OślepienieII: 50
- on damage:
- lore of attacker's tool is "&7Trucizna I":
- chance of {@TruciznaI}%:
- remove poison from victim
- wait a tick
- apply poison 1 to victim for 5 seconds
- lore of attacker's tool is "&7Trucizna II":
- chance of {@TruciznaII}%:
- remove poison from victim
- wait a tick
- apply poison 2 to victim for 5 seconds
- lore of attacker's tool is "&7Spowolnienie I":
- chance of {@SpowolnienieI}%:
- remove slow from victim
- wait a tick
- apply slow 1 to victim for 5 seconds
- lore of attacker's tool is "&7Spowolnienie II":
- chance of {@SpowonienieII}%:
- remove slow from victim
- wait a tick
- apply slow 2 to victim for 5 seconds
- lore of attacker's tool is "&7Oślepienie I":
- chance of {@OślepienieI}%:
- remove blindness from victim
- wait a tick
- apply blindness 1 to victim for 5 seconds
- lore of attacker's tool is "&7Oślepienie II":
- chance of {@OślepienieII}%:
- remove blindness from victim
- wait a tick
- apply blindness 2 to victim for 5 seconds
- on enchant:
- if event-item is diamond sword:
- chance of 5%:
- set lore of event-item to "&7Trucizna II"
- chance of 7%:
- set lore of event-item to "&7Oślepienie II"
- chance of 3%:
- set lore of event-item to "&7Spowolnienie II"
- chance of 10%:
- set lore of event-item to "&7Trucizna I"
- chance of 12%:
- set lore of event-item to "&7Oślepienie I"
- chance of 8%:
- set lore of event-item to "&7Spowolnienie I"
Advertisement
Add Comment
Please, Sign In to add comment