mr:wand_of_shadowbolt_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:wand_of_shadowbolt_item [2026/08/28 23:55] – wiki maintenance: fix 5 random pages compliance issues Hermes Agent | mr:wand_of_shadowbolt_item [2026/08/28 23:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Wand of Shadowbolt - Code References ====== | ||
| + | |||
| + | ===== Entity Information ===== | ||
| + | * **Entity Kind**: WandOfShadowbolt | ||
| + | * **Class**: com.nyrds.pixeldungeon.items.common.WandOfShadowbolt | ||
| + | * **Entity Type**: item | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * Parent: [[https:// | ||
| + | |||
| + | ===== Configuration Files ===== | ||
| + | * **JSON**: This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | * **Name**: @string/ | ||
| + | * **Description**: | ||
| + | * **English**: | ||
| + | * **Russian**: | ||
| + | |||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | * This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * **Parent Class**: [[https:// | ||
| + | * **Image File**: items/ | ||
| + | * **Image Index**: 13 | ||
| + | * **Always Identified**: | ||
| + | * **Sound Effect**: Assets.SND_ZAP | ||
| + | * **Particle Effect**: PurpleParticle.FACTORY (0x551A8B color) | ||
| + | * **Particle Interval**: 0.1f | ||
| + | |||
| + | ===== Game Mechanics ===== | ||
| + | * **Damage Formula**: `Random.Int(4 + level*2, 3 + level*3)` — i.e. the minimum is `4 + 2*level` and the maximum is `3 + 3*level` | ||
| + | * **Visual Effect on Hit**: `ch.getSprite().burst(0x551A8B, | ||
| + | * **Projectile Type**: MagicMissile.shadow() | ||
| + | * **Target**: Single enemy (Char) | ||
| + | * **Damage Type**: Magic damage (no physical mitigation; subject to magical resistances) | ||
| + | |||
| + | ===== Code References ===== | ||
| + | * **Constructor**: | ||
| + | * **onZap(int cell, Char ch)**: Deals damage and creates purple particle burst effect at the target cell | ||
| + | * **fx(int cell, Callback callback)**: | ||
| + | * **isKnown()**: | ||
| + | * **emitter()**: | ||
| + | * **emitterInterval()**: | ||
| + | * **desc()**: Returns string from `R.string.WandOfShadowbolt_Info` | ||
mr/wand_of_shadowbolt_item.txt · Last modified: by 127.0.0.1
