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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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