mr:piranha_mob
Table of Contents
Piranha Mob - Code References
Java Classes
-
- Entity Kind:
getEntityKind()returns “Piranha” - Sprite Class:
spriteClass = “spritesDesc/Piranha.json” - Walking Type:
walkingType = WalkingType.WATER - HP:
hp(ht(10 + Dungeon.depth * 5)) - Base Defense:
baseDefenseSkill = 10 + Dungeon.depth * 2 - Base Attack:
baseAttackSkill = 20 + Dungeon.depth * 2 - Damage Resistance:
dr = Dungeon.depth - Damage Range:
dmgMin = Dungeon.depth; dmgMax = 4 + Dungeon.depth * 2 - Base Speed:
baseSpeed = 2f - Experience:
expForKill = 0 - Immunities:
Burning.class,Paralysis.class,ToxicGas.class,Roots.class,Frost.class - Special Behavior: Dies if moved off water tiles in
act()method
JSON Configuration
- Not applicable - Mob is implemented in Java code
String Resources
<string name="Piranha_Name">giant piranha</string> <string name="Piranha_Gender">feminine</string> <string name="Piranha_Name_Objective">giant piranha</string> <string name="Piranha_Desc">These carnivorous fish are not natural inhabitants of underground pools. They were bred specifically to protect flooded treasure vaults.</string>
Lua Scripts
- Not applicable - Mob is implemented in Java, no custom Lua script
Additional References
- Level Generation: PoolPainter.java
- Statistics Tracking: Statistics.java
- Badge System: Badges.java
mr/piranha_mob.txt · Last modified: by 127.0.0.1
