summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wither.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Wither.cpp')
-rw-r--r--src/Mobs/Wither.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Mobs/Wither.cpp b/src/Mobs/Wither.cpp
index dd85d7d2b..a76ac80a1 100644
--- a/src/Mobs/Wither.cpp
+++ b/src/Mobs/Wither.cpp
@@ -11,11 +11,14 @@
cWither::cWither(void) :
- super("Wither", mtWither, "entity.wither.hurt", "entity.wither.death", 0.9, 4.0),
+ super(mtWither, "entity.wither.hurt", "entity.wither.death", 0.9, 4.0),
m_WitherInvulnerableTicks(220)
{
SetMaxHealth(300);
SetHealth(GetMaxHealth() / 3);
+ m_EMPersonality = AGGRESSIVE;
+ m_BehaviorDoNothing.AttachToMonster(*this);
+ GetMonsterConfig("Wither");
}