User Tools

Site Tools


en:rpd:ranged_weapon_mechanic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:rpd:ranged_weapon_mechanic [2026/01/02 00:29] – Add missing ranged_weapon_mechanic.txt to address red link in ranged_weapon.txt mikeen:rpd:ranged_weapon_mechanic [2026/01/02 00:32] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Ranged Weapon Mechanics ======
  
 +Ranged weapons in Remixed Dungeon follow specific mechanics that govern how they function, including ammunition requirements, accuracy, and special properties.
 +
 +==== Properties ====
 +  * **Damage**: The minimum and maximum damage values the weapon can deal
 +  * **Delay**: The time needed to perform an attack with this weapon
 +  * **Accuracy**: How likely the weapon is to hit its target at range
 +  * **Strength**: The minimum strength required to use the weapon effectively
 +  * **Ammunition**: Most ranged weapons require specific ammunition to function
 +
 +==== Ammunition System ====
 +Ranged weapons use an [[en:rpd:ammunition|ammunition]] system that requires specific types of projectiles:
 +  * **Bows** require [[en:rpd:arrow_item|Arrows]]
 +  * **Crossbows** require [[en:rpd:bolt_item|Bolts]]
 +  * **Dart Throwers** require [[en:rpd:dart_item|Darts]]
 +  * **Wands** use charges instead of physical ammunition
 +
 +==== Accuracy and Range ====
 +Ranged weapons have different accuracy based on distance:
 +  * **Close range** (1-2 tiles): 100% accuracy
 +  * **Medium range** (3-4 tiles): 80% accuracy
 +  * **Long range** (5+ tiles): 60% accuracy, with additional penalty for each additional tile
 +
 +==== Special Effects ====
 +Some ranged weapons have special properties when used:
 +  * **Wands** can have unique magical effects based on their type
 +  * **Enhanced ranged weapons** with [[en:rpd:enchantments|enchantments]] may have additional effects
 +  * **Throwing weapons** may break after use depending on their durability
 +
 +==== Weapon Types ====
 +  * [[en:rpd:bow_item|Bows]] - Traditional projectile weapons requiring arrows
 +  * [[en:rpd:crossbow_item|Crossbows]] - Powerful ranged weapons with slower fire rate
 +  * [[en:rpd:dart_item|Dart Throwers]] - Throwing weapons for short-medium range
 +  * [[en:rpd:wand_item|Wands]] - Magic projectile weapons with charges
 +
 +==== Code References ====
 +  * Implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/missiles/MissileWeapon.java|MissileWeapon.java]] - Base class for ranged weapons
 +  * Weapon Factory: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/WeaponFactory.java|WeaponFactory.java]] - Weapon creation factory
 +  * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2272-L2280|Ranged Weapon strings]] - English names and descriptions
 +  * NamedEntityKind Interface: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/NamedEntityKind.java|NamedEntityKind.java]]
 +
 +==== Related ====
 +  * [[en:rpd:ranged_weapon_item|Ranged Weapons]]
 +  * [[en:rpd:weapon_item|Weapon]]
 +  * [[en:rpd:melee_weapon_item|Melee Weapon]]
 +  * [[en:rpd:enchantments|Enchantments]]
 +  * [[en:rpd:ammo|Ammunition]]
 +  * [[en:rpd:hero_class|Hero Classes]]
 +  * [[en:rpd:combat_mechanics|Combat Mechanics]]
 +
 +{{tag> rpd items weapons ranged ammunition equipment mechanics}}