Browse Source

Fixed Estun not damaging all monsters (#5293)

*Estun should damage monsters of all sizes, but only stun medium sized monsters
Daegaladh 4 years ago
parent
commit
ec479635c6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/map/battle.cpp

+ 2 - 2
src/map/battle.cpp

@@ -6320,8 +6320,8 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
 					case SL_STIN: //Target size must be small (0) for full damage
 						skillratio += (tstatus->size != SZ_SMALL ? -99 : 10 * skill_lv);
 						break;
-					case SL_STUN: //Full damage is dealt on small/medium targets
-						skillratio += (tstatus->size != SZ_BIG ? 5 * skill_lv : -99);
+					case SL_STUN:
+						skillratio += 5 * skill_lv;
 						break;
 					case SL_SMA: //Base damage is 40% + lv%
 						skillratio += -60 + status_get_lv(src);