v0.3.5: big consistency pass on how items handle execution
This commit is contained in:
@@ -107,6 +107,9 @@ public class MagesStaff extends MeleeWeapon {
|
||||
|
||||
@Override
|
||||
public void execute(Hero hero, String action) {
|
||||
|
||||
super.execute(hero, action);
|
||||
|
||||
if (action.equals(AC_IMBUE)) {
|
||||
|
||||
curUser = hero;
|
||||
@@ -120,8 +123,7 @@ public class MagesStaff extends MeleeWeapon {
|
||||
}
|
||||
|
||||
wand.execute(hero, AC_ZAP);
|
||||
} else
|
||||
super.execute(hero, action);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user