landsandboat/sql/char_stats.sql

34 lines
1.3 KiB
MySQL
Raw Permalink Normal View History

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,
2012-10-25 15:15:09 +00:00
`hp` smallint(4) unsigned NOT NULL DEFAULT '50',
`mp` smallint(4) unsigned NOT NULL DEFAULT '50',
2023-01-02 21:08:35 +00:00
`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',
2022-11-05 19:27:49 -07:00
`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=utf8mb4 COLLATE=utf8mb4_general_ci;