diff options
author | Haru <haru@dotalux.com> | 2014-08-30 15:47:54 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-08-30 15:48:34 +0200 |
commit | 77b0915c79809c6653ff497eaa1f079e629c18b2 (patch) | |
tree | 8c25da983a676a6aefd2125b2cf1812d5afbf34f /src/map/battle.c | |
parent | 4e68ad05a1ac9b586e58d89e8eaa2e9f8dd6614b (diff) | |
download | hercules-77b0915c79809c6653ff497eaa1f079e629c18b2.tar.gz hercules-77b0915c79809c6653ff497eaa1f079e629c18b2.tar.bz2 hercules-77b0915c79809c6653ff497eaa1f079e629c18b2.tar.xz hercules-77b0915c79809c6653ff497eaa1f079e629c18b2.zip |
Follow-up to d45cf975aab39d04bd43dabaa455fde35b61b8da
- Fixed faulty / misleading indentation of a closing curly brace
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index e3b8bb40e..945d52c64 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2874,9 +2874,9 @@ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Dam if(flag&BF_SKILL) { //25% reduction if ( !(skill->get_inf(skill_id)&INF_GROUND_SKILL) && !(skill->get_nk(skill_id)&NK_SPLASH) ) damage -= 25*damage/100; - } - else if ((flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON)) + } else if ((flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON)) { damage >>= 2; //75% reduction + } } if ( sc->data[SC_WATER_BARRIER] ) |