mr:longsword_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:longsword_item [2026/02/24 09:18] – Fix wiki standards compliance for 5 random pages Qwen Assistant | mr:longsword_item [2026/02/24 09:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Longsword Item - Code References ====== | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | |||
| + | **Key Implementation Details:** | ||
| + | * Extends: `MeleeWeapon` class | ||
| + | * Package: `com.watabou.pixeldungeon.items.weapon.melee` | ||
| + | * Base damage: 4 | ||
| + | * Attack speed factor: 1.0f | ||
| + | * Accuracy factor: 1.0f | ||
| + | * Animation class: `HEAVY_ATTACK` | ||
| + | * Sprite: `ItemSpriteSheet.LONG_SWORD` | ||
| + | * Slot: `WEAPON` (main hand) | ||
| + | * Block slot: `LEFT_HAND` (can be used for blocking) | ||
| + | |||
| + | **Core Methods:** | ||
| + | * `desc()` - Returns weapon description from string resources | ||
| + | * `slot(Belongings belongings)` - Returns WEAPON slot | ||
| + | * `blockSlot()` - Returns LEFT_HAND slot for blocking | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
mr/longsword_item.txt · Last modified: by 127.0.0.1
