Table of Contents

Brute Mob - Code References

Brute Mob

Java Classes

Java Class Content

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, 0.5f);
 
		addImmunity( Terror.class );
	}
 
	@Override
	public HeroSubClass getSubClass() {
		return HeroSubClass.BERSERKER;
	}
}

Key Properties from Code

JSON Configuration

This entity may have JSON configuration for spawning. Check:

String Resources

<!-- English (values/strings_all.xml) -->
<string name="Brute_Name">gnoll brute</string>
<string name="Brute_Desc">Gnoll Brutes are tougher than their regular comrades. They are easily recognized by the crude leather armor they wear.</string>
<string name="Brute_Info">A powerful brute is rising!</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

Entity Kind

Additional Code References