mr:water_elemental_mob
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:water_elemental_mob [2026/04/09 20:36] – Wiki maintenance: Analyze 5 random pages, fix translation consistency, create mr: namespace pages Qwen Assistant | mr:water_elemental_mob [2026/04/09 20:41] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== mr: | ||
| + | |||
| + | Machine-readable reference for the Water Elemental mob entity in Remixed Dungeon. | ||
| + | |||
| + | ==== Entity Type ==== | ||
| + | Mob (Elemental) | ||
| + | |||
| + | ==== Java Implementation ==== | ||
| + | * **Class**: `com.nyrds.pixeldungeon.mobs.elementals.WaterElemental` | ||
| + | * **File**: `RemixedDungeon/ | ||
| + | * **Base Class**: `MultiKindMob` (supports multiple variants based on depth) | ||
| + | * **Interfaces**: | ||
| + | |||
| + | ==== Stats Formula ==== | ||
| + | Stats are calculated via `adjustStats(int depth)` method: | ||
| + | * **HP/HT**: `depth * 5 + 1` | ||
| + | * **Base Defense Skill**: `depth * 2 + 1` | ||
| + | * **Base Attack Skill**: `baseDefenseSkill / 2 + 1` | ||
| + | * **Damage Min/Max**: `ht() / 2` (both min and max are equal) | ||
| + | * **Damage Resistance (DR)**: `expForKill / 3` = `(depth + 1) / 3` | ||
| + | * **EXP for Kill**: `depth + 1` | ||
| + | * **Max Level**: `depth + 2` | ||
| + | * **Kind**: `Math.min(depth/ | ||
| + | * **Carcass Chance**: 0 (does not drop carcasses) | ||
| + | |||
| + | ==== Immunities ==== | ||
| + | Set in `adjustStats()` method: | ||
| + | * `Frost.class` - Immune to frost effects | ||
| + | * `ScrollOfPsionicBlast.class` - Immune to psionic blast | ||
| + | * `Bleeding.class` - Immune to bleeding | ||
| + | |||
| + | ==== Special Abilities ==== | ||
| + | * **Attack Proc** (`attackProc()` method): 50% chance (`Random.Int(2) == 0`) to apply `Freezing.affect()` to enemy position | ||
| + | * **Water Healing** (`act()` method): Heals `expForKill` HP when standing on water tiles (`level().water[getPos()]`) | ||
| + | * **Frost Buff Handling** (`add()` method): When Frost buff is added and `hp() < ht()`, heals `expForKill` instead of taking damage | ||
| + | * **Burning Vulnerability**: | ||
| + | |||
| + | ==== Movement Speed ==== | ||
| + | * **In Liquid**: `super.speed() * 2f` (2x speed) - checked via `TerrainFlags.is(level().map[getPos()], | ||
| + | * **On Dry Land**: `super.speed() * 0.5f` (0.5x speed) | ||
| + | |||
| + | ==== Loot Table ==== | ||
| + | Defined in constructor: | ||
| + | * **PotionOfFrost**: | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | * Name key: `WaterElemental_Name` | ||
| + | * Description key: `WaterElemental_Desc` | ||
| + | * Located in: `RemixedDungeon/ | ||
| + | |||
| + | ==== JSON Configuration ==== | ||
| + | * `RemixedDungeon/ | ||
| + | * `RemixedDungeon/ | ||
| + | |||
| + | ==== Related Entities ==== | ||
| + | * **Parent Class**: `MultiKindMob` - supports variant system | ||
| + | * **Related Elementals**: | ||
| + | * **Loot Item**: `PotionOfFrost` class | ||
| + | |||
| + | ==== Code References ==== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ==== Wiki Pages ==== | ||
| + | * English: [[en: | ||
| + | * Russian: [[ru: | ||
| + | * Machine-readable namespace: `mr: | ||
| + | |||
| + | {{tag> mr mobs elemental water reference}} | ||
mr/water_elemental_mob.txt · Last modified: by 127.0.0.1
