aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortkrokli <tkrokli@users.noreply.github.com>2017-04-23 01:15:00 +0200
committertkrokli <tkrokli@users.noreply.github.com>2017-04-23 01:15:00 +0200
commit6cc267d90918a0663f928db302ef1465f7952c61 (patch)
tree2409d0b7a43349b88dd8500c17b72e79c650c55c /src
parent3049d19b53db7e7f2042ee837771f7a71ad31373 (diff)
Core/Scripts: Willix the Importer - $n in aggro text
* In the existing core script, Willix the Importer in Razorfen Kraul says "Help! Get this $n off of me!" (showing the $n part in his SAY text) instead of naming the attacker when using his 'SAY_AGGRO1' creature_text. * With this commit change, unit target is no longer missing for Talk, making Willix name the attacking unit when he shouts for help.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
index 88b6cf0b1b7..21048bf9be7 100644
--- a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
+++ b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
@@ -113,9 +113,9 @@ public:
void Reset() override { }
- void EnterCombat(Unit* /*who*/) override
+ void EnterCombat(Unit* who) override
{
- Talk(SAY_AGGRO1);
+ Talk(SAY_AGGRO1, who);
}
void JustSummoned(Creature* summoned) override