v0.3.5: big consistency pass on how items handle execution
This commit is contained in:
@@ -119,6 +119,9 @@ public abstract class Scroll extends Item {
|
||||
|
||||
@Override
|
||||
public void execute( Hero hero, String action ) {
|
||||
|
||||
super.execute( hero, action );
|
||||
|
||||
if (action.equals( AC_READ )) {
|
||||
|
||||
if (hero.buff( Blindness.class ) != null) {
|
||||
@@ -133,10 +136,6 @@ public abstract class Scroll extends Item {
|
||||
doRead();
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
super.execute( hero, action );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user