Hello, im using Tuske to create Custom Enchantments and the won't work properly...
Spigot: 1.12.2
Plugins: Tuske, Skript
Skript: 2.4-alpha3
Tuske: 1.8.2-Pikachu-Patch-3
Problem: Everything works with no errors but it wont send the message "Glowing" (on damage event).
Spigot: 1.12.2
Plugins: Tuske, Skript
Skript: 2.4-alpha3
Tuske: 1.8.2-Pikachu-Patch-3
Code:
on skript load:
register a new custom enchantment with id name "Glowing"
set {_enchantment} to "Glowing" parsed as custom enchantment
set max level of {_enchantment} to 1
set rarity of {_enchantment} to 1
set accepted items for {_enchantment} to "Swords"
set lore name of {_enchantment} to "Glowing"
on damage:
message "Damage" to attacker
if attacker's tool has custom enchantment Glowing:
message "Glowing" to attacker
apply glowing to victim for 2 seconds
command /enchantmytool:
trigger:
add Glowing to all custom enchantments of player's tool
Problem: Everything works with no errors but it wont send the message "Glowing" (on damage event).