mauiboy Posted April 22, 2024 Posted April 22, 2024 Hello, as stated in my title. I am currently looking for updated soul link mods for 255/120 highrate server. Example is Rogue's bypass strip Quote
1 Bringer Posted April 22, 2024 Posted April 22, 2024 (edited) you can still use the old Soul Linker Mod sample of Old Code case CR_SHIELDCHARGE: if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_CRUSADER) skillratio += 60 * skill_lv; else skillratio += 20 * skill_lv; break; latest rathena changed the sd->sc.data[SC_SPIRIT] to sd->sc.getSCE(SC_SPIRIT) new code will be if (sd && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_CRUSADER) Edited April 22, 2024 by Bringer Quote
0 mauiboy Posted April 22, 2024 Author Posted April 22, 2024 (edited) 1 hour ago, Bringer said: you can still use the old Soul Linker Mod sample of Old Code case CR_SHIELDCHARGE: if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_CRUSADER) skillratio += 60 * skill_lv; else skillratio += 20 * skill_lv; break; latest rathena changed the sd->sc.data[SC_SPIRIT] to sd->sc.getSCE(SC_SPIRIT) new code will be if (sd && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_CRUSADER) You're always a life saver Bringer. Will try these codes. How about the glist consume per success strip? Edited April 22, 2024 by mauiboy Quote
0 Bringer Posted April 23, 2024 Posted April 23, 2024 2 hours ago, mauiboy said: You're always a life saver Bringer. Will try these codes. How about the glist consume per success strip? //Nothing stripped. - if( sd && !i ) + if (sd && !i) clif_skill_fail( *sd, skill_id ); + if (sd && tsc && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_ROGUE) { + int item_id = 7139; // Glistening Coat + int ii; + ARR_FIND(0, MAX_INVENTORY, ii, sd->inventory.u.items_inventory[ii].nameid == item_id); + if (ii < MAX_INVENTORY) { + pc_delitem(sd, ii, 1, 0, 0, LOG_TYPE_CONSUME); + clif_emotion(src, ET_HUK); + } + } break; } Quote
0 mauiboy Posted April 23, 2024 Author Posted April 23, 2024 (edited) On 4/23/2024 at 10:23 AM, Bringer said: //Nothing stripped. - if( sd && !i ) + if (sd && !i) clif_skill_fail( *sd, skill_id ); + if (sd && tsc && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_ROGUE) { + int item_id = 7139; // Glistening Coat + int ii; + ARR_FIND(0, MAX_INVENTORY, ii, sd->inventory.u.items_inventory[ii].nameid == item_id); + if (ii < MAX_INVENTORY) { + pc_delitem(sd, ii, 1, 0, 0, LOG_TYPE_CONSUME); + clif_emotion(src, ET_HUK); + } + } break; } Thanks man. I will post an update once I tested the codes. UPDATE : Bypass strip + glist consume when success working. Thank Bringer for the updated syntax Edited April 24, 2024 by mauiboy 1 Quote
Question
mauiboy
Hello, as stated in my title. I am currently looking for updated soul link mods for 255/120 highrate server.
Example is Rogue's bypass strip
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.