mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Core/Gameobject: Add WorldEffectID to Gameobject (#20785)
This commit is contained in:
28
sql/updates/hotfixes/master/9999_99_99_99_hotfixes.sql
Normal file
28
sql/updates/hotfixes/master/9999_99_99_99_hotfixes.sql
Normal file
@@ -0,0 +1,28 @@
|
||||
--
|
||||
-- Table structure for table `world_effect`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `world_effect`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `world_effect` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`TargetAsset` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`CombatConditionID` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`TargetType` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`WhenToDisplay` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`QuestFeedbackEffectID` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `world_effect`
|
||||
--
|
||||
|
||||
LOCK TABLES `world_effect` WRITE;
|
||||
/*!40000 ALTER TABLE `world_effect` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `world_effect` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
5
sql/updates/world/master/2017_11_05_11_world.sql
Normal file
5
sql/updates/world/master/2017_11_05_11_world.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE `gameobject_template_addon`
|
||||
ADD COLUMN `WorldEffectID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `maxgold`;
|
||||
|
||||
ALTER TABLE `gameobject_addon`
|
||||
ADD COLUMN `WorldEffectID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `invisibilityValue`;
|
||||
Reference in New Issue
Block a user