Permalink
Browse files

Corrected Reverberation behavior (#2758)

* Fixes #2757.
* Reverberation will no longer trigger the cast animation on the caster when a target walks into it.
Thanks to @MrAntares!
  • Loading branch information...
aleos89 committed Jan 12, 2018
1 parent 0ccf309 commit 2e90136dc3a3056758d232c18df6fa1119f0f45d
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/map/skill.cpp
View
@@ -3427,10 +3427,6 @@ int64 skill_attack (int attack_type, struct block_list* src, struct block_list *
case WM_SEVERE_RAINSTORM_MELEE:
dmg.dmotion = clif_skill_damage(src,bl,tick,dmg.amotion,dmg.dmotion,damage,dmg.div_,WM_SEVERE_RAINSTORM,-2,DMG_SPLASH);
break;
case WM_REVERBERATION_MELEE:
case WM_REVERBERATION_MAGIC:
dmg.dmotion = clif_skill_damage(src,bl,tick,dmg.amotion,dmg.dmotion,damage,dmg.div_,WM_REVERBERATION,-2,DMG_SKILL);
break;
case SR_TIGERCANNON:
dmg.dmotion = clif_skill_damage(src, bl, tick, status_get_amotion(bl), dmg.dmotion, damage, dmg.div_, skill_id, skill_lv, DMG_SKILL);
break;
@@ -4151,7 +4147,7 @@ static int skill_timerskill(int tid, unsigned int tick, int id, intptr_t data)
break;
case WM_REVERBERATION_MELEE:
case WM_REVERBERATION_MAGIC:
skill_castend_damage_id(src,target,skl->skill_id,skl->skill_lv,tick,skl->flag);
skill_castend_damage_id(src,target,skl->skill_id,skl->skill_lv,tick,skl->flag|SD_LEVEL|SD_ANIMATION);
break;
case SC_FATALMENACE:
unit_warp(src, -1, skl->x, skl->y, CLR_TELEPORT);

0 comments on commit 2e90136

Please sign in to comment.