adding in changes missed in merge
This commit is contained in:
parent
e6853c9eb6
commit
c6ba32075c
|
@ -108,7 +108,7 @@ public enum HeroClass {
|
|||
Dart darts = new Dart( 8 );
|
||||
darts.identify().collect();
|
||||
|
||||
if ( Badges.global.contains(Badges.Badge.TUTORIAL_WARRIOR) ){
|
||||
if ( Badges.isUnlocked(Badges.Badge.TUTORIAL_WARRIOR) ){
|
||||
if (!Dungeon.isChallenged(Challenges.NO_ARMOR))
|
||||
hero.belongings.armor.affixSeal(new BrokenSeal());
|
||||
Dungeon.quickslot.setSlot(0, darts);
|
||||
|
@ -127,7 +127,7 @@ public enum HeroClass {
|
|||
private static void initMage( Hero hero ) {
|
||||
MagesStaff staff;
|
||||
|
||||
if ( Badges.global.contains(Badges.Badge.TUTORIAL_MAGE) ){
|
||||
if ( Badges.isUnlocked(Badges.Badge.TUTORIAL_MAGE) ){
|
||||
staff = new MagesStaff(new WandOfMagicMissile());
|
||||
} else {
|
||||
staff = new MagesStaff();
|
||||
|
|
|
@ -49,10 +49,8 @@ import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.Scroll;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.items.wands.Wand;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.plants.Plant.Seed;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.windows.WndTitledMessage;
|
||||
import com.watabou.noosa.audio.Sample;
|
||||
import com.watabou.utils.Bundlable;
|
||||
import com.watabou.utils.Bundle;
|
||||
|
@ -125,8 +123,8 @@ public class Heap implements Bundlable {
|
|||
case TOMB:
|
||||
Wraith.spawnAround( hero.pos );
|
||||
break;
|
||||
case SKELETON:
|
||||
case REMAINS:
|
||||
case SKELETON:
|
||||
CellEmitter.center( pos ).start(Speck.factory(Speck.RATTLE), 0.1f, 3);
|
||||
for (Item item : items) {
|
||||
if (item.cursed) {
|
||||
|
|
|
@ -136,6 +136,7 @@ public class RankingsScene extends PixelScene {
|
|||
noRec.hardlight( 0xCCCCCC );
|
||||
noRec.x = (w - noRec.width()) / 2;
|
||||
noRec.y = (h - noRec.height()) / 2;
|
||||
align(noRec);
|
||||
add(noRec);
|
||||
|
||||
}
|
||||
|
|
|
@ -117,6 +117,7 @@ public class WndLangs extends Window {
|
|||
title.x = textLeft + (textWidth - title.width())/2f;
|
||||
title.y = 0;
|
||||
title.hardlight(TITLE_COLOR);
|
||||
PixelScene.align(title);
|
||||
add(title);
|
||||
|
||||
if (currLang == Languages.ENGLISH){
|
||||
|
|
Loading…
Reference in New Issue
Block a user