Table of Contents

Kobold Mob - Code References

Java Classes

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:

JSON Configuration

String Resources

English (values/strings_all.xml):

<string name="Kobold_Name">kobold</string>
<string name="Kobold_Gender">masculine</string>
<string name="Kobold_Name_Objective">kobold</string>
<string name="Kobold_Desc">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.</string>

Russian (values-ru/strings_all.xml):

<string name="Kobold_Name">кобольд</string>
<string name="Kobold_Gender">masculine</string>
<string name="Kobold_Name_Objective">кобольда</string>
<string name="Kobold_Desc">Вважалося, що кобольти це всього лише легенда. Предки теперішніх гнолів, кобольти жили глибоко в холодних печерах. Казали, що їхній народ оволодів мистецтвом машинерії та інженерії ще раніше за дворфів. Але незрозуміло, через що вони зникли багато років тому...</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists