mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 15:33:59 +00:00
(Instance/Culling of Stratholme/Trial of Crusader) removed duplicated gossip_menus, fixed hardcoded texts (#18516)
* (Instance/Culling of Stratholme) removed duplicated gossip_menus, fixed hardcoded texts * Update culling_of_stratholme.sql * Update culling_of_stratholme.sql * (Instance/TrialOfTheCrusader) fixed hardcoded text from Jaraxxus text line boss_twin_valkyr: removed unnececarry random txt line select (already exist groupid 6 id 0 and 1 in creature_text) added ruRU locale for Acidmaw and Dreadscale GroupID 2 * move sqls * Update culling_of_stratholme.sql * Update data/sql/updates/pending_db_world/culling_of_stratholme.sql Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> * Update culling_of_stratholme.sql * update naming of variables to better understand the sequence of events * Change locale attribute to Locale I'm not 100% sure, but since in Linux, uppercase and lowercase letters represent different values, I think that's why it doesn't pass the tests. In Windows nothing happens, but in Linux there are 2 different attributes. * strange MySQL in Linux * Update trial_of_crusader.sql * updated sequence of txt lines with cityman before Malganis appear according to @Trinitycore enum RPEventLines2 combine all SQL in 1 file --------- Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Co-authored-by: Walter Pagani <paganiwalter@gmail.com>
This commit is contained in:
@@ -36,10 +36,9 @@ enum Yells
|
||||
EMOTE_VORTEX = 3,
|
||||
EMOTE_TWINK_PACT = 4,
|
||||
SAY_TWINK_PACT = 5,
|
||||
SAY_KILL_PLAYER_1 = 6,
|
||||
SAY_KILL_PLAYER = 6,
|
||||
SAY_BERSERK = 7,
|
||||
SAY_DEATH = 8,
|
||||
SAY_KILL_PLAYER_2 = 9,
|
||||
};
|
||||
|
||||
enum Equipment
|
||||
@@ -502,10 +501,9 @@ struct boss_twin_valkyrAI : public ScriptedAI
|
||||
{
|
||||
if( who->GetTypeId() == TYPEID_PLAYER )
|
||||
{
|
||||
int32 id = urand(0, 1) ? SAY_KILL_PLAYER_1 : SAY_KILL_PLAYER_2;
|
||||
Talk(id);
|
||||
Talk(SAY_KILL_PLAYER);
|
||||
if( Creature* twin = GetSister() )
|
||||
twin->AI()->Talk(id);
|
||||
twin->AI()->Talk(SAY_KILL_PLAYER);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -884,8 +884,7 @@ public:
|
||||
{
|
||||
if( Creature* c = instance->GetCreature(NPC_JaraxxusGUID) )
|
||||
{
|
||||
c->Yell("Banished to the Nether!", LANG_UNIVERSAL);
|
||||
c->PlayDirectSound(16146, 0);
|
||||
c->AI()->Talk(SAY_STAGE_1_06_1);
|
||||
if( Creature* f = instance->GetCreature(NPC_FizzlebangGUID) )
|
||||
{
|
||||
c->CastSpell(f, 67888, true);
|
||||
|
||||
@@ -260,6 +260,7 @@ enum eTexts
|
||||
|
||||
// Lord Jaraxxus
|
||||
SAY_STAGE_1_05 = 0,
|
||||
SAY_STAGE_1_06_1 = 9,
|
||||
|
||||
// The Lich King
|
||||
SAY_STAGE_4_02 = 0,
|
||||
|
||||
Reference in New Issue
Block a user