Mercenary with player skills

Phenex

New member
Messages
16
Points
0
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!

 
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.

 
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?

 
Back
Top