EverWrath/data/sql/base/db_characters/character_stats.sql
2021-01-25 19:51:22 +01:00

57 lines
2.6 KiB
SQL

/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_stats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `character_stats`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
`maxhealth` int(10) unsigned NOT NULL DEFAULT 0,
`maxpower1` int(10) unsigned NOT NULL DEFAULT 0,
`maxpower2` int(10) unsigned NOT NULL DEFAULT 0,
`maxpower3` int(10) unsigned NOT NULL DEFAULT 0,
`maxpower4` int(10) unsigned NOT NULL DEFAULT 0,
`maxpower5` int(10) unsigned NOT NULL DEFAULT 0,
`maxpower6` int(10) unsigned NOT NULL DEFAULT 0,
`maxpower7` int(10) unsigned NOT NULL DEFAULT 0,
`strength` int(10) unsigned NOT NULL DEFAULT 0,
`agility` int(10) unsigned NOT NULL DEFAULT 0,
`stamina` int(10) unsigned NOT NULL DEFAULT 0,
`intellect` int(10) unsigned NOT NULL DEFAULT 0,
`spirit` int(10) unsigned NOT NULL DEFAULT 0,
`armor` int(10) unsigned NOT NULL DEFAULT 0,
`resHoly` int(10) unsigned NOT NULL DEFAULT 0,
`resFire` int(10) unsigned NOT NULL DEFAULT 0,
`resNature` int(10) unsigned NOT NULL DEFAULT 0,
`resFrost` int(10) unsigned NOT NULL DEFAULT 0,
`resShadow` int(10) unsigned NOT NULL DEFAULT 0,
`resArcane` int(10) unsigned NOT NULL DEFAULT 0,
`blockPct` float unsigned NOT NULL DEFAULT 0,
`dodgePct` float unsigned NOT NULL DEFAULT 0,
`parryPct` float unsigned NOT NULL DEFAULT 0,
`critPct` float unsigned NOT NULL DEFAULT 0,
`rangedCritPct` float unsigned NOT NULL DEFAULT 0,
`spellCritPct` float unsigned NOT NULL DEFAULT 0,
`attackPower` int(10) unsigned NOT NULL DEFAULT 0,
`rangedAttackPower` int(10) unsigned NOT NULL DEFAULT 0,
`spellPower` int(10) unsigned NOT NULL DEFAULT 0,
`resilience` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_stats` WRITE;
/*!40000 ALTER TABLE `character_stats` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_stats` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;