====== Kobold Mob - Code References ======
===== Java Classes =====
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/icecaves/Kobold.java|Kobold.java]] - Main mob class in icecaves package
**Class Details:**
package com.nyrds.pixeldungeon.mobs.icecaves;
import com.watabou.pixeldungeon.actors.buffs.Terror;
import com.watabou.pixeldungeon.actors.mobs.Mob;
import com.watabou.pixeldungeon.items.potions.PotionOfFrost;
public class Kobold extends Mob {
public Kobold() {
hp(ht(60)); // Health: 60 HP
baseDefenseSkill = 18; // Defense skill: 18
baseAttackSkill = 21; // Attack skill: 21
dmgMin = 10; // Damage min: 10
dmgMax = 17; // Damage max: 17
dr = 9; // Damage reduction: 9
expForKill = 10; // EXP for kill: 10
maxLvl = 20; // Max level: 20
loot(new PotionOfFrost(), 0.1f); // 10% drop chance for Potion of Frost
addImmunity( Terror.class ); // Immune to Terror buff
}
}
**Stats from code:**
* Health (HP): 60
* Attack Skill: 21
* Defense Skill: 18
* Damage: 10-17
* Damage Reduction (DR): 9
* EXP for Kill: 10
* Max Level: 20
* Immunities: Terror
* Loot: PotionOfFrost (10% chance)
===== JSON Configuration =====
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Kobold.json|Kobold.json]] - Sprite configuration
===== String Resources =====
English (values/strings_all.xml):
kobold
masculine
kobold
It was believed that Kobolds are nothing more but a legend. The ancestors of common gnolls, kobolds dwelled in the deepest and coldest caves. It is also told that their race mastered engineering and machinery long before dwarfs did.
Russian (values-ru/strings_all.xml):
кобольд
masculine
кобольда
Вважалося, що кобольти це всього лише легенда. Предки теперішніх гнолів, кобольти жили глибоко в холодних печерах. Казали, що їхній народ оволодів мистецтвом машинерії та інженерії ще раніше за дворфів. Але незрозуміло, через що вони зникли багато років тому...
===== Lua Scripts =====
This entity is implemented in Java, no Lua script exists
===== Related Entities =====
* [[mr:kobold_icemancer_mob|Kobold Icemancer]] - Elite variant of Kobold
* [[mr:caged_kobold_mob|Caged Kobold]] - NPC variant for quest