fix(DB/Quest): Healthy Dragon Scale (#1807)

* fix(DB/Quest): Healthy Dragon Scale

- Added conditions. Item will be drop, just if the quest 5529 is completed.
- Loot updated to 100 drop chance.

* fix(DB/Quest): Healthy Dragon Scale

- Updated drop chance to 6 (Source: wowhead and some other DB's for patch 3.3.5)
This commit is contained in:
Poszer
2019-05-14 02:39:55 +02:00
committed by Pondaveia
parent f05fee7436
commit c420603a52

View File

@@ -0,0 +1,8 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1557180801797784400');
-- Healthy Dragon Scale https://www.wowdb.com/items/13920-healthy-dragon-scale
DELETE FROM `conditions` WHERE `SourceGroup`=10678 AND `SourceEntry` IN (13920,5582) AND `ConditionValue1`=5529;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(1, 10678, 13920, 0, 0, 8, 0, 5529, 0, 0, 0, 0, 0, '', 'Healthy Dragon Scale drop if Quest 5529 rewarded');
UPDATE `creature_loot_template` SET `Chance`='6' WHERE `Entry`=10678 AND `Item`=13920;