Jump to content
  • 0
Naevus

Max Damage Cap

Question

4 answers to this question

Recommended Posts

  • 0

All damage that's done by any skill passes through skill_attack that's in skill.c, open this file and search for:

	damage = dmg.damage + dmg.damage2;	if( (skill_id == AL_INCAGI || skill_id == AL_BLESSING ||		skill_id == CASH_BLESSING || skill_id == CASH_INCAGI ||		skill_id == MER_INCAGI || skill_id == MER_BLESSING) && tsd->sc.data[SC_PROPERTYUNDEAD] )		damage = 1;
Just do any cap that you might need after this 'if'... Something like:
	if( skill_id == MO_EXTREMITYFIST && damage > 9000 )		damage = 9000;

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

×
×
  • Create New...

Important Information

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