fix(Scripts/Quest): Improved Varedis Must Be Stopped (#16799)

* fix(Scripts/Quest): Varedis Must Be Stopped

* Update spell_quest.cpp

* Update data/sql/updates/pending_db_world/rev_1689813586760998100.sql

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
Grimgravy
2023-08-19 17:13:56 -03:00
committed by GitHub
parent 3033b2da4e
commit edc92b4282
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
--
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_q10651_q10692_book_of_fel_names';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(36298, 'spell_q10651_q10692_book_of_fel_names');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceGroup` = 0) AND (`SourceEntry` = 37906) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 31) AND (`ConditionTarget` = 1) AND (`ConditionValue1` = 3) AND (`ConditionValue2` = 21178) AND (`ConditionValue3` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 37906, 0, 0, 31, 1, 3, 21178, 0, 0, 0, 0, '', 'Book of Fel Names can only target Varedis');