Jump to content
  • 0
Sign in to follow this  
dhaisuke

How edit to increase the Heal, Potion Pitcher in SRC

Question

2 answers to this question

Recommended Posts

  • 0

Open the skill.c file in the emulatorsrcmap folder and look for this section:

 

It's pretty self-explanatory, just change a few of the numbers in the formulas on the Renewal/Not-Renewal part on which your server uses. Then recompile.

#ifdef RENEWAL			/**			 * Renewal Heal Formula			 * Formula: ( [(Base Level + INT) / 5] ? 30 ) ? (Heal Level / 10) ? (Modifiers) + MATK			 **/			hp = (status->get_lv(src) + status_get_int(src)) / 5 * 30  * skill_lv / 10;#else // not RENEWAL			hp = ( status->get_lv(src) + status_get_int(src) ) / 8 * (4 + ( skill_id == AB_HIGHNESSHEAL ? ( sd ? pc->checkskill(sd,AL_HEAL) : 10 ) : skill_lv ) * 8);#endif // RENEWAL			if( sd && ((skill2_lv = pc->checkskill(sd, HP_MEDITATIO)) > 0) )				hp += hp * skill2_lv * 2 / 100;			else if( src->type == BL_HOM && (skill2_lv = homun->checkskill(((TBL_HOM*)src), HLIF_BRAIN)) > 0 )				hp += hp * skill2_lv * 2 / 100;			break;	}

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
Sign in to follow this  

×
×
  • Create New...

Important Information

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