Changed bonus exp/sp calculations.
This commit is contained in:
@@ -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`)
|
||||
|
@@ -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,
|
||||
|
@@ -345,6 +345,11 @@ MaxEvasion = 250
|
||||
MinAbnormalStateSuccessRate = 10
|
||||
MaxAbnormalStateSuccessRate = 90
|
||||
|
||||
# Maximum amount of SP a character can posses.
|
||||
# Current retail limit is 50 billion, use -1 to set it to unlimited.
|
||||
# Default: 50000000000
|
||||
MaxSp = 50000000000
|
||||
|
||||
# Maximum number of allowed subclasses for every player.
|
||||
# Default: 3
|
||||
MaxSubclass = 3
|
||||
@@ -789,17 +794,6 @@ FreeTeleporting = False
|
||||
# Default: 7
|
||||
DeleteCharAfterDays = 7
|
||||
|
||||
# Alternative Xp/Sp rewards, if not 0, then calculated as 2^((mob.level-player.level) / coef). Coef are the 2 numbers set below.
|
||||
# A few examples for "AltGameExponentXp = 5." and "AltGameExponentSp = 3.":
|
||||
# diff = 0 (player and mob has the same level), XP bonus rate = 1, SP bonus rate = 1
|
||||
# diff = 3 (mob is 3 levels above), XP bonus rate = 1.52, SP bonus rate = 2
|
||||
# diff = 5 (mob is 5 levels above), XP bonus rate = 2, SP bonus rate = 3.17
|
||||
# diff = -8 (mob is 8 levels below), XP bonus rate = 0.4, SP bonus rate = 0.16
|
||||
# Default: 0, 0
|
||||
AltGameExponentXp = 0
|
||||
AltGameExponentSp = 0
|
||||
|
||||
|
||||
# PARTY XP DISTRIBUTION
|
||||
# With "auto method" member is cut from Exp/SP distribution when his share is lower than party bonus acquired for him (30% for 2 member party).
|
||||
# In that case he will not receive any Exp/SP from party and is not counted for party bonus.
|
||||
|
Reference in New Issue
Block a user