Jump to content
  • 0

Heal Skill 100%stronger


Chopper

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  01/08/12
  • Last Seen:  

Heya =)

I wanna make the Skill Heal 100% Stronger.

I already have Search in the src/map/(skill.c /skill.h) .

Can anywhone tell me how i change the amount of heal for exaple like lvl10 Heal = 5k to 10k.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

Are you looking for the same as Bacsojin Card?

If yes, then try this..

bonus2 bSkillHeal,n,x; Increase heal amount of skill n by x% (supports skill names)
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  01/08/12
  • Last Seen:  

i dont ssearching the bascojin card

but i think its an option to change the bascojin card

but i mean the Skill Heal

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

there may be an option by config but I don't know it so I'm telling you how I'd do it in src.

skill.c :: skill_castend_nodammage_id

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

//here you calculate how much you should heal.

so you just need

 if(skillid == AL_HEAL) heal <<= 1; //2time stronger 

//just make sure to do this condition before this

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

it's where we apllying this heal.

nota :

here we need the condition so only AL_HEAL will be increase and not highnessheal or hlif_heal, but if you want for all you don't need that ofc.

also you can take a look and see heal is already double if it's your partner who's healing you :

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;

Finally I prefer put it in skill_calc_heal, since it would be more conherent from the name of the fonction and the purpose I assumed but you may have issues doing this since some skills (like highnessheal as we can see up here) using also AL_HEAL to calculate there so it may be more annoying atm.

Hope you got it =)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  01/08/12
  • Last Seen:  

nice, thanks alot =)

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...