v0.2.3f: corrected quickslot refresh logic across items
This commit is contained in:
@@ -8,7 +8,6 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.QuickSlotButton;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
|
||||
import com.watabou.noosa.audio.Sample;
|
||||
import com.watabou.noosa.tweeners.AlphaTweener;
|
||||
@@ -185,7 +184,7 @@ public class CloakOfShadows extends Artifact {
|
||||
if (cooldown > 0)
|
||||
cooldown --;
|
||||
|
||||
QuickSlotButton.refresh();
|
||||
updateQuickslot();
|
||||
|
||||
spend( TICK );
|
||||
|
||||
@@ -227,7 +226,7 @@ public class CloakOfShadows extends Artifact {
|
||||
GLog.p("Your Cloak Grows Stronger!");
|
||||
}
|
||||
|
||||
QuickSlotButton.refresh();
|
||||
updateQuickslot();
|
||||
|
||||
spend( TICK );
|
||||
|
||||
@@ -247,7 +246,7 @@ public class CloakOfShadows extends Artifact {
|
||||
cooldown = 10 - (level / 3);
|
||||
|
||||
|
||||
QuickSlotButton.refresh();
|
||||
updateQuickslot();
|
||||
super.detach();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user