fix(Scripts/TheEye): Kael'thas advisors, refactor and RP (#20188)

refactor to use base advisor class

refactor doaction

extract phase enchanted weapons

sql delete script kael_phase_two
This commit is contained in:
Jelle Meeus
2024-11-14 10:06:42 +01:00
committed by GitHub
parent 87fbdb7967
commit 980b9246c8
2 changed files with 151 additions and 342 deletions

View File

@@ -0,0 +1,5 @@
--
DELETE FROM `spell_script_names` WHERE `spell_id`=36450 AND `ScriptName`='spell_kaelthas_resurrection';
DELETE FROM `spell_script_names` WHERE `spell_id`=36709 AND `ScriptName`='spell_kaelthas_kael_phase_two';
-- fix entry from 19871 to Kael'thas for ID - 36709 Kael Phase Two
UPDATE `conditions` SET `ConditionValue2` = 19622 WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 1) AND (`SourceEntry` = 36709) AND (`SourceId` = 0) AND (`ConditionTypeOrReference` = 31);