Kakaroto Posted December 18, 2016 Posted December 18, 2016 Hello, I would like to know if anyone can help me, I would like to change the 'DragonBreath' ability formula to use the following modifiers: Size/Race/Atk in which it shouldn't since it has no weapon and equip atk however it should also get reductions. Thank you very much who can help! Quote
0 Nikky Posted December 19, 2016 Posted December 19, 2016 you can edit them here src/map/battle.c case RK_DRAGONBREATH: case RK_DRAGONBREATH_WATER: { int damagevalue = (sstatus->hp / 50 + status_get_max_sp(src) / 4) * skill_lv; if(status_get_lv(src) > 100) damagevalue = damagevalue * status_get_lv(src) / 150; if(sd) damagevalue = damagevalue * (100 + 5 * (pc_checkskill(sd,RK_DRAGONTRAINING) - 1)) / 100; ATK_ADD(wd.damage, wd.damage2, damagevalue); #ifdef RENEWAL ATK_ADD(wd.weaponAtk, wd.weaponAtk2, damagevalue); #endif wd.flag |= BF_LONG; } break; Quote
0 Kakaroto Posted December 19, 2016 Author Posted December 19, 2016 14 hours ago, Nikky said: you can edit them here src/map/battle.c case RK_DRAGONBREATH: case RK_DRAGONBREATH_WATER: { int damagevalue = (sstatus->hp / 50 + status_get_max_sp(src) / 4) * skill_lv; if(status_get_lv(src) > 100) damagevalue = damagevalue * status_get_lv(src) / 150; if(sd) damagevalue = damagevalue * (100 + 5 * (pc_checkskill(sd,RK_DRAGONTRAINING) - 1)) / 100; ATK_ADD(wd.damage, wd.damage2, damagevalue); #ifdef RENEWAL ATK_ADD(wd.weaponAtk, wd.weaponAtk2, damagevalue); #endif wd.flag |= BF_LONG; } break; How do I remove the effect of racial damage? Quote
0 Playtester Posted December 20, 2016 Posted December 20, 2016 Can't you just define that in skill_db? // 0x08 - Skill ignores caster's % damage cards (misc type always ignores) // 0x10 - Skill ignores elemental adjustments // 0x20 - Skill ignores target's defense (misc type always ignores) // 0x40 - Skill ignores target's flee (magic type always ignores) // 0x80 - Skill ignores target's def cards Quote
0 Kakaroto Posted December 20, 2016 Author Posted December 20, 2016 5 hours ago, Playtester said: Can't you just define that in skill_db? // 0x08 - Skill ignores caster's % damage cards (misc type always ignores) // 0x10 - Skill ignores elemental adjustments // 0x20 - Skill ignores target's defense (misc type always ignores) // 0x40 - Skill ignores target's flee (magic type always ignores) // 0x80 - Skill ignores target's def cards But what I want is to remove damage increase in races, humanoid race type, using KVM weapons for example. Quote
0 Playtester Posted December 20, 2016 Posted December 20, 2016 // 0x08 - Skill ignores caster's % damage cards (misc type always ignores) And this mode doesn't work? Quote
0 Kakaroto Posted December 21, 2016 Author Posted December 21, 2016 1 hour ago, Playtester said: // 0x08 - Skill ignores caster's % damage cards (misc type always ignores) And this mode doesn't work? 2008,9,6,2,3,0x42,1:1:1:2:2:2:3:3:4:4,10,1,no,0,0x40000,0,weapon,0,0x0, RK_DRAGONBREATH,Dragon Breath like? 2008,9,6,2,3,0x50,1:1:1:2:2:2:3:3:4:4,10,1,no,0,0x40000,0,weapon,0,0x0, RK_DRAGONBREATH,Dragon Breath Quote
Question
Kakaroto
Hello, I would like to know if anyone can help me, I would like to change the 'DragonBreath' ability formula to use the following modifiers:
Size/Race/Atk in which it shouldn't since it has no weapon and equip atk however it should also get reductions.
Thank you very much who can help!
7 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.