mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
fix(DB\Texts): Goblin pit crew's gossip probability (#9905)
* fix(DB): Goblin pit crew's gossip probability - Since these guys have 5 possible gossip options, setting this to 25 each option will equal to 100 percentage. - There are plenty more gossips like this one only have % of 1 to show that need to me manually fixed since we don't know how many npc_text they may have. A query to count the text_x_x and update the according % should be good to go, however this way is safer. * Update rev_1640706977785890600.sql
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1640706977785890600');
|
||||
|
||||
-- Setting probability to 25% for each of the texts. 5*25 = 100%
|
||||
SET @PROBABILITY = 25;
|
||||
UPDATE `npc_text` SET `Probability0` = @PROBABILITY, `Probability1` = @PROBABILITY, `Probability2` = @PROBABILITY, `Probability3` = @PROBABILITY, `Probability4` = @PROBABILITY WHERE `ID` IN (778);
|
||||
Reference in New Issue
Block a user