Chopper Posted April 4, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 01/08/12 Last Seen: December 4, 2024 Share Posted April 4, 2012 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. Quote Link to comment Share on other sites More sharing options...
WhatFT Posted April 4, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Share Posted April 4, 2012 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) Quote Link to comment Share on other sites More sharing options...
Chopper Posted April 4, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 01/08/12 Last Seen: December 4, 2024 Author Share Posted April 4, 2012 i dont ssearching the bascojin card but i think its an option to change the bascojin card but i mean the Skill Heal Quote Link to comment Share on other sites More sharing options...
Lighta Posted April 5, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted April 5, 2012 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 =) Quote Link to comment Share on other sites More sharing options...
Chopper Posted April 5, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 01/08/12 Last Seen: December 4, 2024 Author Share Posted April 5, 2012 nice, thanks alot =) Quote Link to comment Share on other sites More sharing options...
Question
Chopper
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.