Jump to content
  • 0
Sign in to follow this  
Alayne

Change monsters stats and rewards according to size

Question

Hey guys.

 

I'd like to add some little feature.

i've got a script that spawn monsters of different size of the same id.

i'd like the big one to have twice as much stats and exp reward as the normal one, and the small one to have half as much stats and exp.

 

Can anybody help me to do that?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

you are in luck

I just release setmobdata few days ago

its in my sig

 

however, the exp reward cannot be modify because in the source, mob.c, it use md->db->base_exp, which read directly from the database

so have to set BaseExp, BaseExp + xxxx manually

... this one is supposed in the frequently asked question 3rd post, I currently don't have time to write them in detailed yet

Share this post


Link to post
Share on other sites
  • 0

Thanks Annie, I'll give it a look then. 

Actually I've seen after I post this topic, but wasn't really sure it can fit to what I need.

 

I'll try that.

Edited by Alayne

Share this post


Link to post
Share on other sites
  • 0

I think there's already a conf option for this? conf/battle/monster.conf

// Whether or not the size of specially summoned mobs influences experience, drop rates,// and stats. The rates will be doubled for large mobs, and halved for small ones.// This is only invoked under the 'monster' command, @monsterbig, and @monstersmall. (Note 1)// Default: nomob_size_influence: yes

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.