Jump to content
  • 0

Boosting the Heal Skill by X


Achhandrian

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   2
  • Joined:  07/31/12
  • Last Seen:  

Hi Guys,

i want to boost the Heal Skill on my server, i know that this is going to be a SRC edit, but i cant find the right place to change it.

i already looked in skill.c but im not sure, and since i dont want to break my server i prefered to ask first.

What do i need to do to simply double or triple the heal rate?

Only found heal oif arc bishop i think but not for the rest aof Acolyte cls or the crusader cls

case AB_HIGHNESSHEAL:

{

int heal = skill_calc_heal(src, bl, (skillid == AB_HIGHNESSHEAL)?AL_HEAL:skillid, (skillid == AB_HIGHNESSHEAL)?10:skilllv, true);

int heal_get_jobexp;

//Highness Heal: starts at 1.5 boost + 0.5 for each level

if( skillid == AB_HIGHNESSHEAL ) {

heal = heal * ( 15 + 5 * skilllv ) / 10;

}

if( status_isimmune(bl) ||

(dstmd && (dstmd->class_ == MOBID_EMPERIUM || mob_is_battleground(dstmd))) ||

(dstsd && pc_ismadogear(dstsd)) )//Mado is immune to heal

heal=0;

if( sd && dstsd && sd->status.partner_id == dstsd->status.char_id && (sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE && sd->status.sex == 0 )

heal = heal*2;

if( tsc && tsc->count )

{

if( tsc->data[sC_KAITE] && !(sstatus->mode&MD_BOSS) )

{ //Bounce back heal

if (--tsc->data[sC_KAITE]->val2 <= 0)

status_change_end(bl, SC_KAITE, INVALID_TIMER);

if (src == bl)

heal=0; //When you try to heal yourself under Kaite, the heal is voided.

else {

bl = src;

dstsd = sd;

}

} else

if (tsc->data[sC_BERSERK])

heal = 0; //Needed so that it actually displays 0 when healing.

}

heal_get_jobexp = status_heal(bl,heal,0,0);

clif_skill_nodamage (src, bl, skillid, heal, 1);

if(sd && dstsd && heal > 0 && sd != dstsd && battle_config.heal_exp > 0){

heal_get_jobexp = heal_get_jobexp * battle_config.heal_exp / 100;

if (heal_get_jobexp <= 0)

heal_get_jobexp = 1;

pc_gainexp (sd, bl, 0, heal_get_jobexp, false);

}

}

break

EDIT: okay now i see where the al_heal is but im still not sure wich numbers i need to change to double the heal of acolyte class, arc bishop doenst matter, no thrid class on my server, oh and where is the heal skill for the crusader cls ? dont find CR_HEAL anywhere

greets

Achhandrian

Edited by Achhandrian
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

You know you can increase the amount healed by item bonuses.. right? https://rathena.svn..../item_bonus.txt

bonus bHealPower,n;   Increase heal amount of all heal skills by n%
bonus bHealPower2,n;   Increase heal amount if you are healed by any skills by n%

Not to mention, the max "Viewable" amount of HP that can be seen VIA client is capped at 30k or 33k? So, if the skill is already healing that much without any bonuses and you add bonuses. the amount you'll still see would be capped but the amount that would be healed will still be affected.

Crusaders use Acolyte's heal so there is no such thing as "Crusader Heal" as a separate Skill.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   2
  • Joined:  07/31/12
  • Last Seen:  

i dont want it on an item, that would be easy, i want that they heal more by default, that is an source edit......

of course i can be boosted further with item too, but a 5k heal on a server with minimum 250k hp without any items is a bit too less.

Edited by Achhandrian
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  172
  • Reputation:   87
  • Joined:  04/10/12
  • Last Seen:  

* 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) ) / 1 * (2 + ( skill_id == AB_HIGHNESSHEAL ? ( sd ? pc_checkskill(sd,AL_HEAL) : 10 ) : skill_lv ) * 8); // I have already changed

The original is:

(99+99)/8*(4+10*8) = 2772 Heal

Mine:

(700+600)*(2+10)*(8) = 124,800 Heal

Blue: Max Lvl+Max Int

Red = Skill Lvl Heal

Edited by Kusoo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...