浏览代码

Fixed SU_GROOMING while being frozen (#3756)

Fixes #3728

Thanks to @Everade
Lemongrass3110 6 年之前
父节点
当前提交
7fa903ce22
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/clif.cpp

+ 1 - 1
src/map/clif.cpp

@@ -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;