* Fixes #7075. * Adjusts the skill status check to look for OPT1 flags again instead of cant.cast as this is value is checked later on. * Resolves items like Fly Wing not working when Silenced. Thanks to @LadyNanuia!
@@ -1899,7 +1899,7 @@ bool status_check_skilluse(struct block_list *src, struct block_list *target, ui
return false;
}
- if (skill_id && sc->cant.cast && skill_id != RK_REFRESH && skill_id != SU_GROOMING && skill_id != SR_GENTLETOUCH_CURE) { // Stuned/Frozen/etc
+ if (skill_id > 0 && sc->opt1 && sc->opt1 != OPT1_STONEWAIT && sc->opt1 != OPT1_BURNING && skill_id != RK_REFRESH && skill_id != SU_GROOMING && skill_id != SR_GENTLETOUCH_CURE) { // Stuned/Frozen/etc
if (flag != 1) // Can't cast, casted stuff can't damage.
if (skill_get_casttype(skill_id) == CAST_DAMAGE)