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:
Cláudio Costa
2022-01-06 10:57:18 +00:00
committed by GitHub
parent d91f3f0ba1
commit b2a4dda478

View File

@@ -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);