if ( Dungeon.depth / 5 == enchChapter && Dungeon.seed % 4 + 1 == Dungeon.depth % 5){ addItemToSpawn( new StoneOfEnchantment() );
@Override protected void onItemSelected(Item item) { if (item instanceof Weapon) { ((Weapon)item).enchant(); } else { ((Armor)item).inscribe(); } curUser.sprite.emitter().start( Speck.factory( Speck.LIGHT ), 0.1f, 5 ); Enchanting.show( curUser, item ); if (item instanceof Weapon) { GLog.p(Messages.get(this, "weapon")); } else { GLog.p(Messages.get(this, "armor")); } useAnimation(); }
if ( Dungeon.depth / 5 == enchChapter && Dungeon.seed % 4 + 1 == Dungeon.depth % 5){ addItemToSpawn( new StoneOfEnchantment() );
@Override protected void onItemSelected(Item item) { if (item instanceof Weapon) { ((Weapon)item).enchant(); } else { ((Armor)item).inscribe(); } curUser.sprite.emitter().start( Speck.factory( Speck.LIGHT ), 0.1f, 5 ); Enchanting.show( curUser, item ); if (item instanceof Weapon) { GLog.p(Messages.get(this, "weapon")); } else { GLog.p(Messages.get(this, "armor")); } useAnimation(); }
dropPos = level.pointToCell(random()); } while (level.map[dropPos] != Terrain.EMPTY_SP); level.drop( new StoneOfEnchantment(), dropPos);
dropPos = level.pointToCell(random()); } while (level.map[dropPos] != Terrain.EMPTY_SP); level.drop( new StoneOfEnchantment(), dropPos);
"_-_ Greatshield base damage increased by ~17%")); changes.addButton( new ChangeButton(new ItemSprite(new StoneOfEnchantment()), "Enchant and Glyph Balance Changes", "_-_ Vampiric enchant lifesteal reduced by 20%\n\n" + "Lucky enchant rebalanced:\n" +
"_-_ Greatshield base damage increased by ~17%")); changes.addButton( new ChangeButton(new ItemSprite(new StoneOfEnchantment()), "Enchant and Glyph Balance Changes", "_-_ Vampiric enchant lifesteal reduced by 20%\n\n" + "Lucky enchant rebalanced:\n" +