hello, i got a issue with the lore detection, it works when there is 1 line of lore .. but when it has more then it stops to work.
before of 1.17 it worked, but now stoped work for any weird reason
on rightclick:
if uncolored lore of player's Tool contains "Charged Combo":
set {_waited} to difference between {cooldown::skill3::%player's uuid%} and now
if {_waited} is less than 30 seconds:
send action bar "&cYou are tired wait %difference between 30 seconds and {_waited}% before doing this again." to player
stop
execute console command "execute as %player% at @s run scoreboard players set @s chargedsword 300"
send "&e&lattack as fast as you can" to player
play sound "entity.lightning_bolt.thunder" with volume 1 and pitch 2 at player
apply glowing tier 1 to player for 10 seconds
apply strength tier 2 to player for 12 seconds
set {cooldown::skill3::%player's uuid%} to now
in this item with only the lore it works
but when I add any extra lore about his attributes and more contents.
it stops to work
before of 1.17 it worked, but now stoped work for any weird reason
on rightclick:
if uncolored lore of player's Tool contains "Charged Combo":
set {_waited} to difference between {cooldown::skill3::%player's uuid%} and now
if {_waited} is less than 30 seconds:
send action bar "&cYou are tired wait %difference between 30 seconds and {_waited}% before doing this again." to player
stop
execute console command "execute as %player% at @s run scoreboard players set @s chargedsword 300"
send "&e&lattack as fast as you can" to player
play sound "entity.lightning_bolt.thunder" with volume 1 and pitch 2 at player
apply glowing tier 1 to player for 10 seconds
apply strength tier 2 to player for 12 seconds
set {cooldown::skill3::%player's uuid%} to now
in this item with only the lore it works
but when I add any extra lore about his attributes and more contents.
it stops to work