Kakaroto Posted December 18, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: 12 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Nikky Posted December 19, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 10/21/13 Last Seen: March 28, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 Kakaroto Posted December 19, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: 12 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
0 Playtester Posted December 20, 2016 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: 21 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Kakaroto Posted December 20, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: 12 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
0 Playtester Posted December 20, 2016 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: 21 hours ago Share Posted December 20, 2016 // 0x08 - Skill ignores caster's % damage cards (misc type always ignores) And this mode doesn't work? Quote Link to comment Share on other sites More sharing options...
0 Kakaroto Posted December 21, 2016 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: 12 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
0 Playtester Posted December 21, 2016 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: 21 hours ago Share Posted December 21, 2016 0x42 + 0x08 = 0x4A 1 Quote Link to comment Share on other sites More sharing options...
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!
Link to comment
Share on other sites
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.