v0.3.5: big consistency pass on how items handle execution
This commit is contained in:
@@ -59,6 +59,9 @@ public class TomeOfMastery extends Item {
|
||||
|
||||
@Override
|
||||
public void execute( Hero hero, String action ) {
|
||||
|
||||
super.execute( hero, action );
|
||||
|
||||
if (action.equals( AC_READ )) {
|
||||
|
||||
curUser = hero;
|
||||
@@ -85,10 +88,6 @@ public class TomeOfMastery extends Item {
|
||||
}
|
||||
GameScene.show( new WndChooseWay( this, way1, way2 ) );
|
||||
|
||||
} else {
|
||||
|
||||
super.execute( hero, action );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user