mr:cold_spirit_mob
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:cold_spirit_mob [2026/08/28 23:55] – wiki maintenance: fix 5 random pages compliance issues Hermes Agent | mr:cold_spirit_mob [2026/08/28 23:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Cold Spirit Mob - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * Location: `com/ | ||
| + | * Extends: `com.watabou.pixeldungeon.actors.mobs.Mob` | ||
| + | * Registered in: [[https:// | ||
| + | |||
| + | <code java> | ||
| + | public class ColdSpirit extends Mob { | ||
| + | |||
| + | public ColdSpirit(){ | ||
| + | hp(ht(50)); | ||
| + | baseSpeed = 1.3f; | ||
| + | baseDefenseSkill = 16; | ||
| + | baseAttackSkill | ||
| + | flying = true; | ||
| + | expForKill = 8; | ||
| + | maxLvl = 20; | ||
| + | dmgMin = 12; | ||
| + | dmgMax = 15; | ||
| + | dr = 22; | ||
| + | loot(Gold.class, | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public int attackProc(@NotNull Char enemy, int damage ) { | ||
| + | if (Random.Int( 4 ) == 1) { | ||
| + | Freezing.affect( enemy.getPos()); | ||
| + | } | ||
| + | return damage; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Stats from Code ===== | ||
| + | * **HP:** 50 | ||
| + | * **Base Speed:** 1.3 | ||
| + | * **Base Defense Skill:** 16 | ||
| + | * **Base Attack Skill:** 22 | ||
| + | * **Flying:** true (can pass over terrain that non-flying mobs cannot) | ||
| + | * **EXP for Kill:** 8 | ||
| + | * **Max Level:** 20 | ||
| + | * **Damage Min:** 12 | ||
| + | * **Damage Max:** 15 | ||
| + | * **Defense Rating (DR):** 22 | ||
| + | * **Loot:** 2% chance to drop Gold (loot class `com.watabou.pixeldungeon.items.Gold`) | ||
| + | |||
| + | ===== Abilities ===== | ||
| + | * **Freezing Attack:** 25% chance on attack (1-in-4) to apply the `Freezing` blob at the enemy' | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration found. | ||
| + | |||
| + | ===== Sprite ===== | ||
| + | * SpriteDesc: [[https:// | ||
| + | * Texture: `mobs/ | ||
| + | * Frames: idle [0,1,2], run [0,1,2], attack [3,2,1], die [4, | ||
| + | * `bloodColor: | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | * English: `RemixedDungeon/ | ||
| + | * Other translations live in the corresponding `values-< | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists. | ||
| + | |||
| + | ===== Related Classes ===== | ||
| + | * `com.watabou.pixeldungeon.actors.blobs.Freezing` — Freezing blob applied on attack | ||
| + | * `com.watabou.pixeldungeon.items.Gold` — Potential loot drop | ||
| + | * `com.watabou.pixeldungeon.actors.mobs.Mob` — Parent class | ||
mr/cold_spirit_mob.txt · Last modified: (external edit)
