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
|
||||
public void execute(Hero hero, String action) {
|
||||
super.execute(hero, action);
|
||||
|
||||
if (action.equals(AC_LIGHTTHROW)) {
|
||||
lightingFuse = true;
|
||||
action = AC_THROW;
|
||||
} else
|
||||
lightingFuse = false;
|
||||
|
||||
super.execute(hero, action);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user