Jump to content
  • 0
Phenex

Mercenary with player skills

Question

Hi,

I was wondering if anyone could shed some light on this for me.
I'm trying to make Mercenary be able to use player skills. So I changed the following in mmo.h
 
//Mercenary System
#define MC_SKILLBASE 0
#define MAX_MERCSKILL 5020
#define MAX_MERCENARY_CLASS 500
 
But I get this following error:

skill.c:57:3: error: #error GD_SKILLRANGEMAX is greater than 999
 
Also, why is it that mercenary have their own separate skills instead of using player skills?
Could anyone please tell me how to edit this so that mercenarys are able to have player skills? Thank you in advance!

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

GD_SKILLRANGEMAX

^ set that to below 999, (it's on map/skill.c or maybe on common/mmo.h)

 

About merc having different skill, its due to kro following that way.

 

Adding player skill:

Edit mercenary_skill_db.txt to include player skills to respected mercenary.

Share this post


Link to post
Share on other sites
  • 0

I made it to 9999 and it worked fine. But I'm not sure if it will cause any other problems to anything else by raising it that much. Is it ok if i keep it at 9999?

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...

×
×
  • Create New...

Important Information

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