diff options
| author | tkrokli <tkrokli@hotmail.com> | 2015-10-09 04:46:58 +0200 |
|---|---|---|
| committer | MitchesD <majklprofik@seznam.cz> | 2015-10-30 11:33:40 +0100 |
| commit | 3d9b2d8de20650b6210d46d8110d9c730c1632f8 (patch) | |
| tree | ce743d3fd57ada88665ee555c92804f594f0e4e1 /src/server/game/Spells/SpellMgr.cpp | |
| parent | 7504f75af7e40c43852d30193a670b358ea4eb15 (diff) | |
Core/Scripts: The Endless Hunger & Death's Challenge, creature text
This PR solves the following say text issues:
In quest ID 12733, Death's Challenge, the creature script npc_death_knight_initiate is supposed to target the player and refer to the player character's name in the following 2 lines from `creature_text`.`entry` 28406:
- "You don't stand a chance, $n." (`BroadcastTextId` 29267)
- "Remember this day, $n, for it is the day that you will be thoroughly owned." (`BroadcastTextId` 29270)
In quest ID 12848, The Endless Hunger, the creature script npc_unworthy_initiate is supposed to target the player and refer to the player character's race in the following 2 lines from `creature_text`.`entry` 29519, 29520, 29565, 29566 and 29567:
- "You are hopelessly outmatched, $r." (`BroadcastTextId` 30212)
- "Sate your hunger on cold steel, $r!" (`BroadcastTextId` 30214)
The untargeted variables $r and $n appear in the say lines because the existing script assigns the text to the player character instead of the creatures. This does not produce any race or name information in /say or chat.
This Pull Request closes issue #14700 and replaces PR #15678.
(cherry picked from commit 89107c3a8e61447fb6d34fd77fd454074ae5e064)
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
0 files changed, 0 insertions, 0 deletions
