javierlog08 2 Posted March 10, 2014 Hi, im looking the way to make dragon breath reducible by Demi-human reduction effects / Defense / and Element.I have looking at files src/map/battle.cIn whick are mostly of damage calculations ,but i cant see yet anything related with Dragon Breath and Demi Humans or effectsThe only is this code that just make the calculation based on iro wiki. http://irowiki.org/wiki/Dragon_Breath case RK_DRAGONBREATH: case RK_DRAGONBREATH_WATER: md.damage = ((status_get_hp(src) / 50) + (status_get_max_sp(src) / 4)) * skill_lv; RE_LVL_MDMOD(150); if (sd) md.damage = md.damage * (95 + 5 * pc->checkskill(sd,RK_DRAGONTRAINING)) / 100; md.flag |= BF_LONG|BF_WEAPON; break; Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted March 10, 2014 (edited) if( tstatus->race == RC_DEMIHUMAN ) md.damage = md.damage /2; Edited March 10, 2014 by Angelmelody Quote Share this post Link to post Share on other sites
0 javierlog08 2 Posted March 10, 2014 Hi, thanks for you reply Angelmelody, Why ? md.damage = md.damage /2 Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted March 11, 2014 Srry, I misunderstood what you mean ,Original I suppose you just want to reduce damage of Dragon Breath.... anyway,I think the effect of Dragon Breath is SC_BURNING ,You can find it inside function skill_additional_effect of skill.c Quote Share this post Link to post Share on other sites
0 javierlog08 2 Posted March 11, 2014 (edited) Hehe, no problem. I had a problem with Then follwing the IrO Wiki's Formula {(CurrHP ÷ 50) + (MaxSP ÷ 4)} × (SkillLv × BaseLv ÷ 150)} × {0.95 + DragonTraining_Lv × 0.05} That means that ((70000 / 50) + (1300/4)) * (10 * 175 / 150) * (0.95 + 5 * 0.05) Total Damage = 20125 (0.95+5*0.05)I just was thinking that is too much damage for a server 175, where mostly of the Jobs have low Health I got an effective way to nerf it.Just making a change in md.damage = ((status_get_hp(src) / 50) + (status_get_max_sp(src) / 4)) * skill_lv; By md.damage = ((status_get_hp(src) / 150) + (status_get_max_sp(src) / 4)) * skill_lv; In this way i got 11k Of damage MAx, and just 20k if they are using Tao Gunka Card. I believed the way to reduce it using the Card's and armor reducction, but that alone would ruin the skill. Then on this is a better way to nerf it Sorry for my english XD Edited March 11, 2014 by javierlog08 Quote Share this post Link to post Share on other sites
0 Jezu 25 Posted March 12, 2014 The new dragon breath is now weapon-base and can be increase/reduce by demihuman damage. The old hp/sp/element base is now dropped. Quote Share this post Link to post Share on other sites
0 javierlog08 2 Posted March 20, 2014 Jezu, Where is the Push or commit refered to that? Quote Share this post Link to post Share on other sites
Hi, im looking the way to make dragon breath reducible by Demi-human reduction effects / Defense / and Element.
I have looking at files
src/map/battle.c
In whick are mostly of damage calculations ,but i cant see yet anything related with Dragon Breath and Demi Humans or effects
The only is this code that just make the calculation based on iro wiki.
http://irowiki.org/wiki/Dragon_Breath
Share this post
Link to post
Share on other sites