feat(conditions): prevent adding bad contitions + align enums with TC (#1381)

This commit is contained in:
Francesco Borzì
2019-01-29 23:02:54 +01:00
committed by GitHub
parent 4af1dc4906
commit d16c17c044
3 changed files with 58 additions and 21 deletions

View File

@@ -0,0 +1,7 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1548704473723698729');
-- CONDITION_QUEST_SATISFY_EXCLUSIVE
UPDATE `conditions` SET ConditionTypeOrReference = 101 WHERE ConditionTypeOrReference = 50;
-- CONDITION_HAS_AURA_TYPE
UPDATE `conditions` SET ConditionTypeOrReference = 102 WHERE ConditionTypeOrReference = 51;