en:rpd:weapon_item
Table of Contents
Weapon
Weapon is the base class for all weapon items in Remixed Dungeon.
Description
Weapon items are equipped to enhance the hero's combat capabilities. They can be melee weapons for close combat or ranged weapons for distance attacks.
Base Properties
- Type: Equipment for main hand slot
- Damage: Increases damage dealt to enemies
- Tier: Weapons come in different tiers affecting damage and weight
- Enchantments: Can be enchanted with special effects
- Durability: Depletes with use and time
- Speed: Affects attack speed
Weapon Categories
- Melee Weapons - Used for close combat
- Ranged Weapons - For distance attacks using ammunition
- Special Weapons - Unique mechanics and effects
Common Mechanics
- Damage Range: Specifies minimum and maximum damage dealt
- Speed Factor: Affects how quickly attacks can be made
- Enchantments: Can be upgraded with weapon enchantments
- Identification: Weapons must be identified to see their level and enchantment
- Upgrading: Weapons can be enchanted to improve stats
Code References
- Java Base Class: Weapon.java - Base implementation
- Item System: Item.java - General item mechanics
- Equipment System: Belongings.java - How weapons are equipped
- Sprite System: ItemSpriteSheet.java - Weapon sprites
- String Resources: strings_all.xml - All weapon names and descriptions
Common Weapons
See Also
en/rpd/weapon_item.txt · Last modified: by 127.0.0.1
