Fix (DB\Reputiation): Western Plaguelands monster reputation (#10020)

* fix(DB): Western Plaguelands monster reputation

- Changed reputation to monsters in Western Plaguelands according to the
  wiki, which was updated until patch 2.2

* missing comment
This commit is contained in:
Cláudio Costa
2022-01-06 01:51:11 +00:00
committed by GitHub
parent 5aad087d25
commit 89aa2a00c6

View File

@@ -0,0 +1,22 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641384460010602200');
-- Reputation level
SET @REVERED = 6;
SET @HONORED = 5;
-- NPCs
SET @CAULDRON_LORDS = 11075;
SET @ARAJ = 1852;
SET @GIBBERING_GHOUL = 8531;
-- Monsters in Western Plaguelands reward 10 reputation until <= Revered (6)
UPDATE `creature_onkill_reputation` SET `MaxStanding1` = @REVERED WHERE `creature_id` IN (8558, 1788, 11873, 1804, 12262, 12263, 8543, 8545);
-- Gibbering Ghoul rewards 10 reputation until <= Honored (5)
UPDATE `creature_onkill_reputation` SET `MaxStanding1` = @HONORED WHERE `creature_id` IN (@GIBBERING_GHOUL);
-- Cauldron Lords should reward 30 reputation <= Honored (5)
UPDATE `creature_onkill_reputation` SET `RewOnKillRepValue1` = 30 WHERE `creature_id` IN (@CAULDRON_LORDS, @CAULDRON_LORDS + 1, @CAULDRON_LORDS + 2, @CAULDRON_LORDS + 3);
-- Araj the Summoner should reward 50 reputation <= Revered (6)
UPDATE `creature_onkill_reputation` SET `MaxStanding1` = @REVERED, `RewOnKillRepValue1` = 50 WHERE `creature_id` IN (@ARAJ);