aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
authorjoschiwald <joschiwald@online.de>2013-12-23 23:55:15 +0100
committerjoschiwald <joschiwald@online.de>2013-12-23 23:55:15 +0100
commitfd6167cf66d3acf56f11bdcfac0d395e33c9a242 (patch)
treefff457d480b6c41a3afaf24bbfc480742b906ee5 /src/server/scripts/EasternKingdoms
parent6858a234b3c5e6f7fd2e75547d5295ebd8de5133 (diff)
Scripts:
- cleanup obsidian sanctum script - prevent yelling texts if non player died in some scripts
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
index 526daaffee1..f436b3c89ab 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
@@ -126,9 +126,10 @@ class boss_akilzon : public CreatureScript
_JustDied();
}
- void KilledUnit(Unit* /*victim*/) OVERRIDE
+ void KilledUnit(Unit* who) OVERRIDE
{
- Talk(SAY_KILL);
+ if (who->GetTypeId() == TYPEID_PLAYER)
+ Talk(SAY_KILL);
}
void SetWeather(uint32 weather, float grade)