Browse Source

Follow up to 8d2c26d115f0c44fb2d53efb5409c43ad0103946

Daegaladh 5 years ago
parent
commit
48fd0e859b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/map/skill.cpp

+ 4 - 0
src/map/skill.cpp

@@ -2272,6 +2272,10 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
 
 			if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
 				type = CAST_GROUND;
+#ifndef RENEWAL
+			else if (skill == AS_SONICBLOW)
+				pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.
+#endif
 
 			sd->state.autocast = 1;
 			skill_consume_requirement(sd,skill,autospl_skill_lv,1);