landsandboat/sql/char_stats.sql
2023-01-19 22:32:19 +00:00

34 lines
1.4 KiB
SQL

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Structure de la table `char_stats`
--
DROP TABLE IF EXISTS `char_stats`;
CREATE TABLE IF NOT EXISTS `char_stats` (
`charid` int(10) unsigned NOT NULL,
`hp` smallint(4) unsigned NOT NULL DEFAULT '50',
`mp` smallint(4) unsigned NOT NULL DEFAULT '50',
`nameflags` int(10) unsigned NOT NULL DEFAULT '0',
`mhflag` smallint(4) unsigned NOT NULL DEFAULT '0',
`mjob` tinyint(2) unsigned NOT NULL DEFAULT '0',
`sjob` tinyint(2) unsigned NOT NULL DEFAULT '0',
`death` int(10) unsigned NOT NULL DEFAULT '0',
`2h` int(10) unsigned NOT NULL DEFAULT '0',
`title` smallint(4) unsigned NOT NULL DEFAULT '0',
`bazaar_message` BLOB,
`zoning` tinyint(1) unsigned NOT NULL DEFAULT '0',
`mlvl` tinyint(2) unsigned NOT NULL DEFAULT '1',
`slvl` tinyint(2) unsigned NOT NULL DEFAULT '1',
`pet_id` smallint(3) unsigned NOT NULL DEFAULT '0',
`pet_type` smallint(3) unsigned NOT NULL DEFAULT '0',
`pet_level` smallint(3) unsigned NOT NULL DEFAULT '0',
`pet_hp` smallint(4) unsigned NOT NULL DEFAULT '0',
`pet_mp` smallint(4) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`charid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;