Make erupt always push back 1 tile without any artifacts
This commit is contained in:
parent
43ca8f4560
commit
7ddaab816e
|
@ -891,8 +891,8 @@ skill_erupt(Skill *skill, SkillData *data)
|
||||||
monster_hit(r->monster, dmg);
|
monster_hit(r->monster, dmg);
|
||||||
gui_log("%s takes %d damage from the explosion", r->monster->label, dmg);
|
gui_log("%s takes %d damage from the explosion", r->monster->label, dmg);
|
||||||
monster_set_bleeding(r->monster);
|
monster_set_bleeding(r->monster);
|
||||||
if (player_has_artifact(player, PUSH_BACK)) {
|
|
||||||
int lvl = player_has_artifact(player, PUSH_BACK);
|
int lvl = 1 + player_has_artifact(player, PUSH_BACK);
|
||||||
monster_push(r->monster,
|
monster_push(r->monster,
|
||||||
player,
|
player,
|
||||||
rm,
|
rm,
|
||||||
|
@ -902,7 +902,6 @@ skill_erupt(Skill *skill, SkillData *data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue