====== Berserk Armor ====== {{ rpd:images:berserkarmor_sprite.png|Berserk Armor }} Berserk Armor is the class-specific armor obtained by using an [[rpd:armor_kit_item|Armor Kit]] on any regular armor for the [[rpd:berserker_subclass|Berserker]] subclass in Remixed Dungeon. ==== Acquisition ==== * Use an [[rpd:armor_kit_item|Armor Kit]] on any regular armor while playing as a [[rpd:warrior_class|Warrior]] who has chosen the [[rpd:berserker_subclass|Berserker]] subclass * When using the Armor Kit, the game calls ClassArmor.upgrade() method which creates a BerserkArmor instance if the hero's subclass is Berserker * Transforms the base armor into Berserk Armor with special properties, inheriting the original armor's stats and enchantments ==== Special Properties ==== * Inherits all properties of Warrior Armor (Leap ability) * Exclusively usable by the [[rpd:berserker_subclass|Berserker]] subclass - cannot be equipped by other classes/subclasses * Inherits the helmet from Warrior Armor (hasHelmet = true) * Cover hair: Yes (coverHair = true) * Image ID: 6 * Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/BerserkArmor.java|BerserkArmor.java]] ==== Special Ability: Leap ==== * Allows jumping to a targeted location * Stuns adjacent enemies for 3 turns upon landing (SHOCK_TIME constant) * Uses 1 turn of time (LEAP_TIME constant) * Creates dust particles at landing location * Causes camera shake upon landing * Requires selecting a target location using the cell selector * If the target location has an enemy, the leap will land on the closest empty adjacent cell * Can be used to reposition in combat or escape dangerous situations * Skill points cost: 1/3 of max skill points rounded up ==== Usage ==== * Essential armor for maximizing the effectiveness of the [[rpd:berserker_subclass|Berserker]] subclass * Should be crafted as soon as possible after choosing the [[rpd:berserker_subclass|Berserker]] subclass * Allows full utilization of subclass abilities * Cannot be equipped by non-Warrior classes or other Warrior subclasses ==== Strategy ==== * Use the leap ability for positioning and to control enemy spacing * The stun effect can give you breathing room against multiple enemies * Can be used to reach distant areas quickly or escape dangerous situations * Consider using it before engaging groups of enemies to separate them * The leap can be used to land next to special level features or items ==== Technical Details ==== * **Java Class:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/BerserkArmor.java|com.watabou.pixeldungeon.items.armor.BerserkArmor]] * **Parent Class:** Extends WarriorArmor class * **Implementation:** Overrides doEquip method to restrict to Berserker subclass only * **Visual:** Uses image ID 6 with helmet * **Armor Type:** ClassArmor subclass (cannot be upgraded, always identified) ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/BerserkArmor.java|BerserkArmor.java]] - Main implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/WarriorArmor.java|WarriorArmor.java]] - Parent class with leap ability * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/ClassArmor.java|ClassArmor.java]] - Base class for all class-specific armors * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/ArmorKit.java|ArmorKit.java]] - Item that creates class-specific armors * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2015|String Resources]] - Name and description ==== Related ==== * [[rpd:berserker_subclass|Berserker]] - The subclass that can use this armor * [[rpd:warrior_armor_item|Warrior Armor]] - Parent class with shared abilities * [[rpd:armor_kit_item|Armor Kit]] - Item needed to craft class armor * [[rpd:warrior_class|Warrior]] - Hero class that can unlock Berserker * [[rpd:armor|Armor]] - Other armor types in the game * [[rpd:gladiator_armor_item|Gladiator Armor]] - Alternative Warrior subclass armor {{tag> rpd items armor berserker warrior}}