v0.8.1: dwarven ghouls now drop gold

This commit is contained in:
Evan Debenham 2020-05-16 17:22:52 -04:00
parent ab6aa5a044
commit 2dc9150f66

View File

@ -27,6 +27,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Corruption;
import com.shatteredpixel.shatteredpixeldungeon.effects.Pushing;
import com.shatteredpixel.shatteredpixeldungeon.items.Gold;
import com.shatteredpixel.shatteredpixeldungeon.levels.features.Chasm;
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
import com.shatteredpixel.shatteredpixeldungeon.sprites.GhoulSprite;
@ -50,6 +51,9 @@ public class Ghoul extends Mob {
SLEEPING = new Sleeping();
WANDERING = new Wandering();
state = SLEEPING;
loot = Gold.class;
lootChance = 0.2f;
properties.add(Property.UNDEAD);
}