How edit to increase the Heal, Potion Pitcher in SRC

dhaisuke

New member
Messages
99
Points
0
Hi Guys i need some help my server is in highrate 255/120

i want to increase the heal and potion pitcher i want to make it x4 heal

 
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.

Code:
#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;	}
 
Back
Top