AkaruiX Posted February 10, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 01/31/14 Last Seen: June 23, 2014 Share Posted February 10, 2014 As the title says. Everything else should be pre-Renewal. I am using the newest git version. I can't seem to find the pre-Renewal formula. Well, at least what I did find didn't seem to change anything, even when I pasted the Renewal formula over it. #ifdef RENEWAL case NJ_ISSEN: // Official Renewal formula [helvetica] // base damage = currenthp + ((atk * currenthp * skill level) / maxhp) // final damage = base damage + ((mirror image count + 1) / 5 * base damage) - (edef + sdef) // modified def formula { short totaldef; struct Damage atk = battle_calc_weapon_attack(src, target, skill_id, skill_lv, 0); struct status_change *sc = status_get_sc(src); md.damage = (int64)sstatus->hp + (atk.damage * (int64)sstatus->hp * skill_lv) / (int64)sstatus->max_hp; if (sc && sc->data[SC_BUNSINJYUTSU] && (i=sc->data[SC_BUNSINJYUTSU]->val2) > 0) { // mirror image bonus only occurs if active md.div_ = -( i + 2 ); // mirror image count + 2 md.damage += (md.damage * (((i + 1) * 10) / 5)) / 10; } // modified def reduction, final damage = base damage - (edef + sdef) totaldef = tstatus->def2 + (short)status_get_def(target); md.damage -= totaldef; } break; #endif Am I missing something? Do I have to change the mirror image skill? Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 11, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: 20 hours ago Share Posted February 11, 2014 Can you elaborate the difference with pre-re and re final strike? Quote Link to comment Share on other sites More sharing options...
AkaruiX Posted February 11, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 01/31/14 Last Seen: June 23, 2014 Author Share Posted February 11, 2014 (edited) Pre-Renewal: Final Strike hits only once, no matter what. Renewal: Deals a number of hits equal to the remaining hits on Mirror Image + 1 Edited February 11, 2014 by AkaruiX Quote Link to comment Share on other sites More sharing options...
1 sandbox Posted February 12, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: 20 hours ago Share Posted February 12, 2014 So you want to use the renewal formula? Try commenting #ifdef.. //#ifdef Quote Link to comment Share on other sites More sharing options...
AkaruiX Posted February 12, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 01/31/14 Last Seen: June 23, 2014 Author Share Posted February 12, 2014 That doesn't work, it still only hits once. Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 13, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: 20 hours ago Share Posted February 13, 2014 Oh! Did you also copy the skill related files in db folder? you should copy the lines of final strike from skill_cast_db, skill_require_db, etc. which can be found in the renewal db folder Quote Link to comment Share on other sites More sharing options...
AkaruiX Posted February 13, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 01/31/14 Last Seen: June 23, 2014 Author Share Posted February 13, 2014 (edited) Copied everything I missed to their respective files, still no luck... I don't understand this... I double checked everything and compiled multiple times. The only way I can get it to work is by commenting #define PRERE and uncommenting #define RENEWAL in config.c, but I don't want the other Renewal formulas. Attached Image is with #define RENEWAL uncommented: Edited February 13, 2014 by AkaruiX Quote Link to comment Share on other sites More sharing options...
sietse11 Posted February 16, 2014 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 127 Reputation: 7 Joined: 02/10/13 Last Seen: February 1, 2019 Share Posted February 16, 2014 You need to find the formula in the source for pre re final strike. The copy paste the formula from re over it. Done. Sadly, I have not tried to mod skills yet. So I wouldn't know where to find the formula's. But I'm assuming it's right beneath the code you added in your 1st post Quote Link to comment Share on other sites More sharing options...
AkaruiX Posted March 9, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 01/31/14 Last Seen: June 23, 2014 Author Share Posted March 9, 2014 I didn't have time to reply to this sooner, but no, that doesn't work. That was actually one of the first things I tried. Quote Link to comment Share on other sites More sharing options...
Question
AkaruiX
As the title says.
Everything else should be pre-Renewal.
I am using the newest git version.
I can't seem to find the pre-Renewal formula.
Well, at least what I did find didn't seem to change anything, even when I pasted the Renewal formula over it.
Am I missing something?
Do I have to change the mirror image skill?
Link to comment
Share on other sites
8 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.