Jump to content
  • 0
Sign in to follow this  
ays297

Change EXP Rate

Question

3 answers to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.