Change EXP Rate

ays297

New member
Messages
2
Points
0
Is there any way to change the exp rate of each players, not as a whole? For example

exprate = exp_rate / <var>

 
I think that's what the account data table is for:

CREATE TABLE IF NOT EXISTS `account_data` (`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',`bank_vault` INT(11) UNSIGNED NOT NULL DEFAULT '0',`base_exp` TINYINT( 4 ) UNSIGNED NOT NULL DEFAULT '100',`base_drop` TINYINT( 4 ) UNSIGNED NOT NULL DEFAULT '100',`base_death` TINYINT( 4 ) UNSIGNED NOT NULL DEFAULT '100',PRIMARY KEY (`account_id`)) ENGINE=MyISAM;

It's made for accounts, but I think you can cheat it by setting the exp, drop and death from 100 (regular, no modification) to others.

 
Ohhhhhh. That's kind of helpful but what if I'd like every character to have different exp rates? Any other approach, I think I can get that via OnPCLogin but I'd like to know if there's another approach.

 
I can't think of another approach to that at the moment, but if you save the values as player vars and load them OnPCLogin you could possibly go fine and without a siginificant amount of load.

 
Back
Top