Jump to content
  • 0

Updated Soul Link Modifications for Highrate Server


mauiboy

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   0
  • Joined:  07/06/16
  • Last Seen:  

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

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  745
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

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 by Bringer
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   0
  • Joined:  07/06/16
  • Last Seen:  

Posted (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 by mauiboy
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  745
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

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;
 	}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   0
  • Joined:  07/06/16
  • Last Seen:  

Posted (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 by mauiboy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...