Fixed SU_GROOMING while being frozen (#3756)

Fixes #3728

Thanks to @Everade
This commit is contained in:
Lemongrass3110 2018-12-17 14:14:58 +01:00 committed by GitHub
parent 9183a54a0d
commit 7fa903ce22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12227,7 +12227,7 @@ void clif_parse_UseSkillToId(int fd, struct map_session_data *sd)
if ((pc_cant_act2(sd) || sd->chatID) &&
skill_id != RK_REFRESH &&
!(skill_id == SR_GENTLETOUCH_CURE && (sd->sc.opt1 == OPT1_STONE || sd->sc.opt1 == OPT1_FREEZE || sd->sc.opt1 == OPT1_STUN)) &&
!( ( skill_id == SR_GENTLETOUCH_CURE || skill_id == SU_GROOMING ) && (sd->sc.opt1 == OPT1_STONE || sd->sc.opt1 == OPT1_FREEZE || sd->sc.opt1 == OPT1_STUN)) &&
!(sd->state.storage_flag && (inf&INF_SELF_SKILL))) //SELF skills can be used with the storage open, issue: 8027
return;