v0.3.5: fixed bombs not working
This commit is contained in:
parent
e7f45d7c40
commit
bf04f7d8d1
|
@ -73,13 +73,14 @@ public class Bomb extends Item {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute(Hero hero, String action) {
|
public void execute(Hero hero, String action) {
|
||||||
super.execute(hero, action);
|
|
||||||
|
|
||||||
if (action.equals(AC_LIGHTTHROW)) {
|
if (action.equals(AC_LIGHTTHROW)) {
|
||||||
lightingFuse = true;
|
lightingFuse = true;
|
||||||
action = AC_THROW;
|
action = AC_THROW;
|
||||||
} else
|
} else
|
||||||
lightingFuse = false;
|
lightingFuse = false;
|
||||||
|
|
||||||
|
super.execute(hero, action);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user