Entity/AI
* store and display StringIds * unify storage of AI/Scripts for NPCs and Objects * store and display StringIds and AI/Scripts from individual spawns in mapper tooltip and infobox
This commit is contained in:
parent
9db943e8f4
commit
2b3b9de8bc
9 changed files with 124 additions and 24 deletions
|
|
@ -551,7 +551,6 @@ CREATE TABLE `aowow_creature` (
|
|||
`vehicleId` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
||||
`minGold` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
||||
`maxGold` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
||||
`aiName` varchar(50) NOT NULL DEFAULT '',
|
||||
`healthMin` int(10) unsigned NOT NULL DEFAULT 1,
|
||||
`healthMax` int(10) unsigned NOT NULL DEFAULT 1,
|
||||
`manaMin` int(10) unsigned NOT NULL DEFAULT 1,
|
||||
|
|
@ -568,7 +567,8 @@ CREATE TABLE `aowow_creature` (
|
|||
`mechanicImmuneMask` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`schoolImmuneMask` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`flagsExtra` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`scriptName` varchar(50) NOT NULL DEFAULT '',
|
||||
`ScriptOrAI` varchar(64) DEFAULT NULL,
|
||||
`StringId` varchar(64) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_name` (`name_loc0`),
|
||||
KEY `difficultyEntry1` (`difficultyEntry1`),
|
||||
|
|
@ -1628,7 +1628,8 @@ CREATE TABLE `aowow_objects` (
|
|||
`auraSpell` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
||||
`triggeredSpell` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
||||
`miscInfo` varchar(128) NOT NULL,
|
||||
`ScriptOrAI` varchar(64) NOT NULL,
|
||||
`ScriptOrAI` varchar(64) DEFAULT NULL,
|
||||
`StringId` varchar(64) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_name` (`name_loc0`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
|
@ -2555,6 +2556,8 @@ CREATE TABLE `aowow_spawns` (
|
|||
`posX` float unsigned NOT NULL,
|
||||
`posY` float unsigned NOT NULL,
|
||||
`pathId` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ScriptName` varchar(64) DEFAULT NULL,
|
||||
`StringId` varchar(64) DEFAULT NULL,
|
||||
PRIMARY KEY (`guid`,`type`,`floor`),
|
||||
KEY `type_idx` (`typeId`,`type`),
|
||||
KEY `zone_idx` (`areaId`),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue