mr:brute_mob
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:brute_mob [2026/04/07 02:00] – Fix broken wiki links and improve mr: namespace pages Qwen Assistant | mr:brute_mob [2026/04/07 02:03] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Brute Mob - Code References ====== | ||
| + | {{ rpd: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * **Main Class**: [[https:// | ||
| + | * **Package**: | ||
| + | * **Parent Class**: [[https:// | ||
| + | * **Subclass**: | ||
| + | * **Registration**: | ||
| + | |||
| + | ===== Java Class Content ===== | ||
| + | <code java> | ||
| + | package com.watabou.pixeldungeon.actors.mobs; | ||
| + | |||
| + | import com.watabou.pixeldungeon.actors.buffs.Terror; | ||
| + | import com.watabou.pixeldungeon.actors.hero.HeroSubClass; | ||
| + | import com.watabou.pixeldungeon.items.Gold; | ||
| + | |||
| + | public class Brute extends Mob { | ||
| + | |||
| + | public Brute() { | ||
| + | |||
| + | hp(ht(40)); | ||
| + | baseAttackSkill = 15; | ||
| + | baseDefenseSkill = 20; | ||
| + | dmgMin = 8; | ||
| + | dmgMax = 18; | ||
| + | |||
| + | expForKill = 8; | ||
| + | maxLvl = 15; | ||
| + | |||
| + | dr = 8; | ||
| + | |||
| + | loot(Gold.class, | ||
| + | |||
| + | addImmunity( Terror.class ); | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public HeroSubClass getSubClass() { | ||
| + | return HeroSubClass.BERSERKER; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Key Properties from Code ===== | ||
| + | * **HP**: 40 (base hit points) | ||
| + | * **Attack Skill**: 15 (base attack skill level) | ||
| + | * **Defense Skill**: 20 (base defense skill level) | ||
| + | * **Damage**: 8-18 (damage range) | ||
| + | * **Defense Rating**: 8 (damage reduction) | ||
| + | * **Experience**: | ||
| + | * **Max Level**: 15 (maximum level scaling) | ||
| + | * **Loot**: Gold (50% chance) | ||
| + | * **Immunities**: | ||
| + | * **Hero Subclass**: Berserker (unlocks Berserker subclass for Warrior) | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity may have JSON configuration for spawning. Check: | ||
| + | * [[https:// | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <!-- English (values/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Entity Kind ===== | ||
| + | * getEntityKind(): | ||
| + | |||
| + | ===== Additional Code References ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | * **Gnoll**: [[mr: | ||
| + | * **Shielded**: | ||
| + | * **English Page**: [[en: | ||
| + | * **Russian Page**: [[ru: | ||
| + | |||
| + | {{tag> rpd mobs gnolls mr}} | ||
mr/brute_mob.txt · Last modified: by 127.0.0.1
