====== Dual Wielding ====== {{ rpd:images:short_sword_item.png|Short Sword}} **Dual Wielding** is a combat system in Remixed Pixel Dungeon that allows players to equip weapons in both the main hand and off-hand (left hand) slots. ==== Overview ==== The game features a left hand slot (Belongings.Slot.LEFT_HAND) that allows players to equip a second weapon for dual wielding, though it's not specifically labeled as "dual wielding" in the game code. ==== Mechanics ==== * **Slots**: Uses both the main weapon slot and the left hand slot * **Combat**: Each equipped weapon can be used in combat, but the game doesn't have a special dual wielding attack system * **Weapon Requirements**: Generally works with weapons that can be equipped in the left hand slot * **Strategy**: Increases offensive potential but reduces defensive options ==== Equipment Requirements ==== To use both weapon slots: * Weapons that can be equipped in the left hand slot (not all weapons can be) * Free left hand slot (cannot dual wield if using a shield or two-handed weapon in main hand) * Sufficient strength to wield both weapons effectively ==== Combat Strategy ==== Using both weapon slots changes the combat approach: * **Offense**: Higher potential damage output by having more weapons available * **Defense**: Reduced defensive capabilities compared to using a shield * **Versatility**: Ability to switch between different weapon types quickly * **Tactics**: Allows carrying multiple weapon types for different situations ==== Weapon Compatibility ==== Not all weapons can be equipped in the left hand slot: * Many one-handed weapons can be equipped in the left hand slot * Two-handed weapons like [[en:rpd:war_hammer_item|War Hammer]], [[en:rpd:quarterstaff_item|Quarterstaff]], [[en:rpd:long_sword_item|Long Sword]], [[en:rpd:battle_axe_item|Battle Axe]], [[en:rpd:polearm_item|Polearm]], and [[en:rpd:claymore_item|Claymore]] cannot be used together with another weapon in the left hand * Bows (KindOfBow) are designed to use the left hand slot * Wands also use the left hand slot * The left hand slot is a general secondary equipment slot, not specifically for dual wielding ==== Code References ==== * Main Java class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Belongings.java|Belongings.java]] * LEFT_HAND slot definition: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Belongings.java#L173|Belongings.Slot.LEFT_HAND (line 173)]] * Slot blocking logic: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Belongings.java#L280|slotBlocked method (line 280)]] * Equipment blocking: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Belongings.java#L679|equip method (line 679)]] * Weapon compatibility: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/KindOfWeapon.java#L35|KindOfWeapon.java (line 35)]] * Two-handed weapon blocking: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/KindOfWeapon.java#L30|KindOfWeapon.java (line 30)]] * Specific weapon slot assignments: * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/WarHammer.java#L31|WarHammer.java (line 31)]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/Quarterstaff.java#L31|Quarterstaff.java (line 31)]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/Longsword.java#L31|Longsword.java (line 31)]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/BattleAxe.java#L31|BattleAxe.java (line 31)]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/Polearm.java#L28|Polearm.java (line 28)]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/KindOfBow.java#L103|KindOfBow.java (line 103)]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/Wand.java#L402|Wand.java (line 402)]] * Combat dual-weapon usage: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/HeroSubClass.java#L151|HeroSubClass.java (lines 133, 151)]] ==== See Also ==== * [[en:rpd:equipment_slots_mechanic|Equipment Slots]] * [[en:rpd:shields|Shields]] * [[en:rpd:mechanics|Game Mechanics]] * [[en:rpd:items|Items]] {{tag> rpd mechanics equipment}}