feat(Core/SmartAI): Add new event parameter, event_param6 (#16944)

* init

* pt2

* this template stuff must go

* also for my other event
This commit is contained in:
Gultask
2023-08-12 14:53:15 -03:00
committed by GitHub
parent 70fdaafd79
commit 8d803334eb
6 changed files with 68 additions and 49 deletions

View File

@@ -0,0 +1,9 @@
--
ALTER TABLE `smart_scripts`
ADD COLUMN `event_param6` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `event_param5`;
UPDATE `smart_scripts` SET `event_param6` = `event_param5` WHERE `event_type` = 106 AND `source_type` = 0;
UPDATE `smart_scripts` SET `event_param5` = 0 WHERE `event_type` = 106 AND `source_type` = 0;
UPDATE `smart_scripts` SET `event_param6` = `event_param5` WHERE `event_type` = 105 AND `source_type` = 0;
UPDATE `smart_scripts` SET `event_param5` = 0 WHERE `event_type` = 105 AND `source_type` = 0;