Fixes erupt so it has a base push of 1
This commit is contained in:
parent
2dc25c9b53
commit
12aff9afad
|
@ -974,7 +974,7 @@ skill_erupt(Skill *skill, SkillData *data)
|
||||||
gui_log("%s takes %d damage from the explosion", r->monster->label, result.dmg);
|
gui_log("%s takes %d damage from the explosion", r->monster->label, result.dmg);
|
||||||
monster_set_state(r->monster, SCARED, 3);
|
monster_set_state(r->monster, SCARED, 3);
|
||||||
|
|
||||||
int lvl = player_has_artifact(player, PUSH_BACK);
|
int lvl = 1 + player_has_artifact(player, PUSH_BACK);
|
||||||
Vector2d dir = vector2d_to_direction(&VEC2D((float) i, (float) j));
|
Vector2d dir = vector2d_to_direction(&VEC2D((float) i, (float) j));
|
||||||
for (int k = 0; k < lvl; ++k) {
|
for (int k = 0; k < lvl; ++k) {
|
||||||
monster_push(r->monster,
|
monster_push(r->monster,
|
||||||
|
|
Loading…
Reference in New Issue