Aliases:
E = 322:1
# WSkills made by Winnn
# Like Bedwars skills
# Version: 1.0
# make a suggest of an skill in my discord! winnn#3300
# permissions:
# skill.hitkill.use # Skill Hit-Kill #
# skill.speed.use # Skill Speed #
# skill.fire.use # Skill Fire #
# skill.poison.use # Skill Poison #
# skill.goldapple.use # Skill GoldApple #
# skill.morehealth.use # Skill MoreHealth #
# skill.enchantsword.use # Skill EnchantSword #
options:
# --------------------------------------------------------------------------------- #
# SETTINGS
# Chance of all skills (in percentage)
Chance-HitKill: 0.15%
Chance-Speed: 17.5%
Chance-Fire: 3%
Chance-Poison: 3%
Chance-GoldApple: 12.5%
Chance-MoreHealth: 10%
Chance-EnchantSword: 7.5%
# Time of all skills (in seconds)
Time-Speed: 60
Time-Fire: 6
Time-Poison: 6
Time-MoreHealth: 45
# Settings for skills
# skill EnchantSword:
Enchantment: sharpness # Enchantment that will be enchanted
Level: 1 # level of enchantment
# skill MoreHealth:
aLevel: 2 # Absorption level
# skill GoldApple
Enchanted-GoldenApple: false # Golden apple enchanted
GoldenApple: 1 # Quantity of golden apples
# END OF SETTINGS
# --------------------------------------------------------------------------------- #
# --------------------------------------------------------------------------------------------------------------------- #
# ALL SKILLS
#Skill HitKill
#Chance of kill the player
on damage:
if attacker has permission "skill.hitkill.use":
if attacker is a player:
if victim is player:
chance of {@Chance-HitKill}:
kill the victim
#Skill Speed
#Chance to gain speed by killing a player
on death:
if attacker has permission "skill.speed.use":
if attacker is a player:
if victim is player:
chance of {@Chance-Speed}:
apply speed to attacker for {@Time-Speed} seconds
#Skill Fire
#Chance to ignite player when attacking
on damage:
if attacker has permission "skill.fire.use":
if attacker is a player:
if victim is player:
chance of {@Chance-Fire}:
ignite the victim for {@Time-Fire} seconds
#Skill Poison
#Chance to poison player when attacking
on damage:
if attacker has permission "skill.poison.use":
if attacker is a player:
if victim is player:
chance of {@Chance-Poison}:
apply poison to victim for {@Time-Poison} seconds
#Skill GoldApple
#Chance to gain a golden apple on kill a player
on death:
if attacker has permission "skill.goldapple.use":
if attacker is a player:
if victim is player:
chance of {@Chance-GoldApple}:
if {@Enchanted-GoldenApple} = true:
give {@GoldenApple} E to attacker
else:
give {@GoldenApple} golden apple to attacker
#Skill MoreHealth
#Chance to gain more healths on kill a player
on death:
if attacker has permission "skill.morehealth.use":
if attacker is a player:
if victim is a player:
chance of {@Chance-MoreHealth}:
apply absorption {@aLevel} to attacker for {@Time-MoreHealth} seconds
#Skill EnchantSword
#Chance to gain an enchantment in your sword on kill a player
on death:
if attacker has permission "skill.enchantsword.use":
if attacker is a player:
if victim is player:
chance of {@Chance-EnchantSword}:
enchant the attacker's tool with {@Enchantment} {@Level}
# END OF SKILLS
# --------------------------------------------------------------------------------------------------------------------- #