Fix : Missing with vampiric blow doesn't seem to trigger a 'Dodge' action text #59
This commit is contained in:
parent
af957eb662
commit
78e9413188
|
@ -342,9 +342,11 @@ vampiric_blow_skill(Skill *skill, SkillData *data)
|
||||||
player->stats.advantage = true;
|
player->stats.advantage = true;
|
||||||
CombatResult result = stats_fight(&player->stats, &monster->stats);
|
CombatResult result = stats_fight(&player->stats, &monster->stats);
|
||||||
player->stats.advantage = false;
|
player->stats.advantage = false;
|
||||||
|
|
||||||
|
monster_hit(monster, result.dmg, result.critical);
|
||||||
|
|
||||||
if (result.dmg) {
|
if (result.dmg) {
|
||||||
mixer_play_effect(SWORD_HIT);
|
mixer_play_effect(SWORD_HIT);
|
||||||
monster_hit(monster, result.dmg, result.critical);
|
|
||||||
monster_set_bleeding(monster);
|
monster_set_bleeding(monster);
|
||||||
|
|
||||||
unsigned int gain = player->stats.lvl * 3;
|
unsigned int gain = player->stats.lvl * 3;
|
||||||
|
|
Loading…
Reference in New Issue