v0.2.3d: tweaks to stealth deactivation, also fixes some bugs with hourglass
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
package com.shatteredpixel.shatteredpixeldungeon.items.armor;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Invisibility;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
|
||||
import com.watabou.utils.Bundle;
|
||||
@@ -103,6 +104,7 @@ abstract public class ClassArmor extends Armor {
|
||||
GLog.w( TXT_NOT_EQUIPPED );
|
||||
} else {
|
||||
curUser = hero;
|
||||
Invisibility.dispel();
|
||||
doSpecial();
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Fury;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Invisibility;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Paralysis;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
|
||||
@@ -95,7 +94,7 @@ public class WarriorArmor extends ClassArmor {
|
||||
Buff.affect( curUser, Fury.class );
|
||||
}
|
||||
|
||||
Invisibility.dispel();
|
||||
|
||||
|
||||
final int dest = cell;
|
||||
curUser.busy();
|
||||
|
||||
Reference in New Issue
Block a user