Core/Phases: Ported new phasing system from 4.3.4 branch and fixed some map swap logic

This commit is contained in:
Rat
2015-03-16 07:28:49 +01:00
parent 8366ed5a72
commit 8f3a80c1cf
41 changed files with 744 additions and 322 deletions

View File

@@ -0,0 +1,11 @@
ALTER TABLE `corpse` DROP `phaseMask`;
DROP TABLE IF EXISTS `corpse_phases`;
CREATE TABLE `corpse_phases` (
`Guid` int(10) unsigned NOT NULL,
`PhaseId` int(10) unsigned NOT NULL,
`OwnerGuid` int(10) unsigned NOT NULL,
`Time` int(10) unsigned NOT NULL DEFAULT '0',
`CorpseType` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`Guid`,`PhaseId`)
);