====== Ranged Weapons ====== Ranged weapons are weapons used for combat at a distance in Remixed Dungeon. ==== Description ==== Ranged weapons allow the hero to attack enemies from a distance, typically requiring ammunition like arrows or bolts. They're essential for fighting enemies from a safe distance or when direct combat would be disadvantageous. ==== Common Ranged Weapons ==== * [[en:rpd:bow_item|Bows]] - Standard ranged weapons requiring arrows * [[en:rpd:crossbow_item|Crossbows]] - High-damage ranged weapons requiring bolts * [[en:rpd:sling_item|Sling]] - Simple ranged weapon using stones * [[en:rpd:dart_item|Darts]] - Thrown weapons for short to medium range * [[en:rpd:throwing_knife_item|Throwing Knives]] - Sharp projectiles for close to medium range ==== Ranged Weapon Properties ==== * **Damage**: The range of damage dealt per hit * **Speed**: How quickly the weapon can be used * **Accuracy**: How likely the weapon is to hit its target * **Range**: Maximum distance for effective use * **Ammunition**: Type of ammunition required for use ==== Ranged Combat Considerations ==== * **Ammunition Management**: Ensuring adequate supply of appropriate ammunition * **Positioning**: Strategic positioning to maximize effectiveness while minimizing risk * **Enemy Count**: More effective against groups of enemies * **Environmental Factors**: Walls and obstacles block ranged attacks ==== Code References ==== * Ranged Weapon System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/missiles/MissileWeapon.java|MissileWeapon.java]] - Base ranged weapon implementation * Ammunition System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/missiles/Arrow.java|Arrow.java]] - Example ammunition implementation * Combat System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java|Char.java]] - How ranged combat works * Ballistica System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/mechanics/Ballistica.java|Ballistica.java]] - How projectiles travel through the dungeon * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]] - All ranged weapon names and descriptions ==== See Also ==== * [[en:rpd:weapon_item|Weapons]] * [[en:rpd:melee_weapons|Melee Weapons]] * [[en:rpd:combat_mechanics|Combat]] * [[en:rpd:missile_weapons|Missile Weapons]] {{tag> rpd items weapons ranged }}