Changed bonus exp/sp calculations.

This commit is contained in:
MobiusDev
2018-04-11 07:18:25 +00:00
parent 765ca8f160
commit f96eacc903
26 changed files with 549 additions and 502 deletions

View File

@@ -1,8 +1,8 @@
CREATE TABLE IF NOT EXISTS `character_subclasses` (
`charId` INT UNSIGNED NOT NULL DEFAULT 0,
`class_id` int(2) NOT NULL DEFAULT 0,
`exp` decimal(20,0) NOT NULL DEFAULT 0,
`sp` decimal(11,0) NOT NULL DEFAULT 0,
`exp` bigint(20) NOT NULL DEFAULT 0,
`sp` bigint(10) NOT NULL DEFAULT 0,
`level` int(2) NOT NULL DEFAULT 40,
`class_index` int(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`charId`,`class_id`)

View File

@@ -19,7 +19,7 @@ CREATE TABLE IF NOT EXISTS `characters` (
`z` MEDIUMINT DEFAULT NULL,
`exp` BIGINT UNSIGNED DEFAULT 0,
`expBeforeDeath` BIGINT UNSIGNED DEFAULT 0,
`sp` INT UNSIGNED NOT NULL DEFAULT 0,
`sp` BIGINT(10) UNSIGNED NOT NULL DEFAULT 0,
`karma` INT UNSIGNED DEFAULT NULL,
`fame` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
`pvpkills` SMALLINT UNSIGNED DEFAULT NULL,