Skip to content

Commit

Permalink
Corrected Tiger Cannon combo bonus (fixes #1233)
Browse files Browse the repository at this point in the history
* Tiger Cannon combo bonus should not be applied when used through Flash Combo.
* Follow up to e30df46.
  • Loading branch information
aleos89 committed May 2, 2016
1 parent 1967fab commit cb52138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/skill.c
Expand Up @@ -5537,8 +5537,8 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, uint
} else if (sd) {
skill_area_temp[1] = bl->id;
skill_area_temp[3] = skill_id;
if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == SR_FALLENEMPIRE)
flag |= 8;
if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == SR_FALLENEMPIRE && !sc->data[SC_FLASHCOMBO])
flag |= 8; // Only apply Combo bonus when Tiger Cannon is not used through Flash Combo
skill_attack(BF_WEAPON, src, src, bl, skill_id, skill_lv, tick, flag);
map_foreachinrange(skill_area_sub, bl, skill_get_splash(skill_id, skill_lv), BL_CHAR|BL_SKILL, src, skill_id, skill_lv, tick, flag|BCT_ENEMY|SD_SPLASH|1, skill_castend_damage_id);
}
Expand Down

0 comments on commit cb52138

Please sign in to comment.