====== mr:earth_elemental_mob ====== Machine-readable reference page for Earth Elemental mob in Remixed Dungeon. ==== Java Implementation ==== **Class File**: * File: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/elementals/EarthElemental.java|EarthElemental.java]] * Path: com/nyrds/pixeldungeon/mobs/elementals/EarthElemental.java * Entity Kind: EarthElemental * Type: Mob ==== Mob Properties ==== **Basic Stats**: * HP: 60 * Defense: 14 * Attack: 14 * EXP: 14 * Level: 14 **Lua Definition**: * No Lua script - implemented in Java ==== Effects ==== **Primary Effects**: * Can entangle player with roots * Roots grow around player when entangled * Immune to entanglement itself * Slowed on water (50% speed) * Found only on grassy levels **Implementation**: * File: EarthElemental.java * attackProc() - entanglement mechanics * adjustStats() - immunities * speed() - water speed penalty ==== String Resources ==== **English (values/strings_all.xml)**: * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|EarthElemental_Name]] - Mob name * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|EarthElemental_Info]] - Mob description **Russian (values-ru/strings_all.xml)**: * EarthElemental_Name - Russian mob name * EarthElemental_Info - Russian description ==== Drops ==== **Seeds**: * Various seeds can drop from Earth Elemental ==== Wiki Pages ==== **English**: * [[en:rpd:earth_elemental_mob|Earth Elemental]] - Main wiki page **Russian**: * [[ru:rpd:earth_elemental_mob|Земляной элементаль]] - Russian wiki page ==== Code References ==== * Main implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/elementals/EarthElemental.java|EarthElemental.java]] * Attack proc: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/elementals/EarthElemental.java#L35-L51|EarthElemental.attackProc()]] * Immunities: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/elementals/EarthElemental.java#L23-L29|EarthElemental.adjustStats()]] * Water speed: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/elementals/EarthElemental.java#L31-L33|EarthElemental.speed()]] * Drops: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/elementals/EarthElemental.java#L18|EarthElemental constructor]] * String resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L2959-L2960|strings_all.xml:EarthElemental]] {{tag> mr mobs earth_elemental reference machine-readable}}