Skip to content

Commit

Permalink
Corrected Reverberation behavior (#2758)
Browse files Browse the repository at this point in the history
* 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 2e90136
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/map/skill.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2e90136

Please sign in to comment.