mr:kobold_mob
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:kobold_mob [2026/02/25 21:27] – Wiki standards compliance fixes for 5 random pages Qwen Assistant | mr:kobold_mob [2026/02/25 21:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Kobold Mob - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | |||
| + | **Class Details:** | ||
| + | <code java> | ||
| + | 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)); | ||
| + | baseDefenseSkill = 18; // Defense skill: 18 | ||
| + | baseAttackSkill | ||
| + | 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(), | ||
| + | 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:// | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | English (values/ | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | Russian (values-ru/ | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
mr/kobold_mob.txt · Last modified: by 127.0.0.1
