thairo Posted October 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 10/22/12 Last Seen: October 27, 2012 Share Posted October 26, 2012 my priest have int 99 but heal values are random i use heal skill lv 10 ex. 2372,1511,1686,1450,2108 how to fix it to constant value ? help me please.. Quote Link to comment Share on other sites More sharing options...
goddameit Posted October 26, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share Posted October 26, 2012 http://rathena.org/board/forum/36-source-requests/ Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 26, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 26, 2012 Healing formula is in skill.c, find: #ifdef RENEWAL /** * Renewal Heal Formula (from Doddler) * TODO: whats that( 1+ %Modifier / 100 ) ? currently using 'x1' (100/100) until found out * - Min = ( [ ( BaseLvl + INT ) / 5 ] * 30 ) * (1+( %Modifier / 100)) * (HealLvl * 0.1) + StatusMATK + EquipMATK - [(WeaponMATK * WeaponLvl) / 10] * - Max = ( [ ( BaseLvl + INT ) / 5 ] * 30 ) * (1+( %Modifier / 100)) * (HealLvl * 0.1) + StatusMATK + EquipMATK + [(WeaponMATK * WeaponLvl) / 10] **/ hp = ( ( ( ( status_get_lv(src) + status_get_int(src) ) / 5 ) * 3 ) * skill_lv + status_get_matk_min(src) + status_get_matk_max(src) - ( ( status_get_matk_max(src) * status_get_wlv(src) ) / 10 ) ) + rnd()%( ( ( ( status_get_lv(src) + status_get_int(src) ) / 5 ) * 3 ) * skill_lv + status_get_matk_min(src) + status_get_matk_max(src) + ( ( status_get_matk_max(src) * status_get_wlv(src) ) / 10 ) ); #else 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); 1 Quote Link to comment Share on other sites More sharing options...
thairo Posted October 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 10/22/12 Last Seen: October 27, 2012 Author Share Posted October 26, 2012 Thx darristan this script is random heal. But how to change this to old heal formula ? Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 26, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 26, 2012 If your server runs renewal mode, move non-renewal heal formula to renewal block there. Quote Link to comment Share on other sites More sharing options...
Question
thairo
my priest have int 99 but heal values are random i use heal skill lv 10
ex.
2372,1511,1686,1450,2108
how to fix it to constant value ?
help me please..
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.