Table of Contents
Fire Elemental Mob - Code References
Entity Kind
Java Classes
Java Class Implementation Details
Immunities
Special Abilities
JSON Configuration
Sprite Animation Frames
String Resources
Lua Scripts
Related Entities
Code References Summary
Fire Elemental Mob - Code References
Entity Kind
Entity Kind:
FireElemental
Type:
Mob (enemy)
Namespace:
mr: (machine-readable reference)
Java Classes
Main Class:
FireElemental.java
Base Class:
Mob.java
Parent Hierarchy:
FireElemental → Mob → Char → Actor
Java Class Implementation Details
Constructor:
FireElemental()
HP:
65 (ht(65))
Base Defense Skill:
20
Base Attack Skill:
25
Experience for Kill:
10
Max Level:
20
Damage Range:
16-20 (dmgMin = 16, dmgMax = 20)
Damage Reduction:
5 (dr = 5)
Flying:
true (flying = true)
Carcass Chance:
0 (no corpse left)
Loot:
PotionOfLiquidFlame (10% chance)
Immunities
FireElemental has immunities to the following:
Fire
enchantment
Burning
buff
WandOfFirebolt
ScrollOfPsionicBlast
Bleeding
buff
Special Abilities
Attack Proc:
50% chance to apply
Burning
buff to enemy on attack
Burning Immunity:
When affected by Burning, heals for Random.NormalIntRange(1, ht() * 4) HP instead of taking damage
Frost Weakness:
When affected by Frost, takes Random.NormalIntRange(1, ht() * 2 / 3) damage
JSON Configuration
Sprite Configuration:
FireElemental.json
Texture:
fire_elemental.png
Sprite Dimensions:
12×14 pixels
Blood Color:
0xFFFF7D13 (orange-red)
States:
burning
Sprite Animation Frames
Idle:
Frames [0,1,2] at 10 FPS, looped
Run:
Frames [0,1,3] at 12 FPS, looped
Attack:
Frames [4,5,6] at 15 FPS, not looped
Die:
Frames [7,8,9,10,11,12,13,12] at 15 FPS, not looped
String Resources
English:
strings_all.xml#L1243-L1246
FireElemental_Name: “fire elemental”
FireElemental_Gender: “masculine”
FireElemental_Name_Objective: “fire elemental”
FireElemental_Desc: “Wandering fire elementals are a byproduct of summoning greater entities…”
Russian:
strings_all.xml#L771-L774
FireElemental_Name: “огненный элементаль”
Spanish, French, German, Chinese, Japanese, and other languages:
Available in respective values-XX/strings_all.xml files
Lua Scripts
No specific Lua scripts for this entity (implemented entirely in Java)
Related Entities
Potion Of Liquid Flame Item - Code References
- Loot drop
Burning - Code References
- Applied on attack, heals FireElemental
frost_buff - Code References
- Deals damage to FireElemental
fire_enchantment
- Immune to this enchantment
Code References Summary
Java Implementation:
FireElemental.java
Sprite Configuration:
FireElemental.json
String Resources:
Multiple language files (values/, values-ru/, values-es/, etc.)
Sprite Texture:
fire_elemental.png (referenced in JSON config)
mr
,
mobs
,
fire elemental
,
undead