Jump to content
  • 0

Soul link scroll does not work when wearing GTB


playniks

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.03
  • Content Count:  45
  • Reputation:   2
  • Joined:  02/23/23
  • Last Seen:  

Hi! The effect of my soul link scroll wont work when Im wearing GTB card. How to bypass this?

 

I tried to make every soul skill type as misc for every job but it still doesnt work.

 

Please help me

Edited by playniks
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  809
  • Reputation:   233
  • Joined:  01/30/13
  • Last Seen:  

The condition for a status change is in status_get_sc_def:

		if (skill != nullptr && skill->skill_type == BF_MAGIC && // Basic magic skill
			!skill->inf2[INF2_IGNOREGTB] && // Specific skill to bypass
			((skill->inf == INF_ATTACK_SKILL || skill->inf == INF_GROUND_SKILL || skill->inf == INF_SUPPORT_SKILL) || // Target skills should get blocked even when cast on self
			 (skill->inf == INF_SELF_SKILL && src != bl))) // Self skills should get blocked on all targets except self
			return 0;

If you really changed the skill used to "misc" then the status should never be blocked by GTB.

Even easier would be to just use the "IgnoreGTB" flag.

If it still doesn't work, then maybe it's already blocked in skill.cpp by something. Easiest is to just debug it. Put a breakpoint on the line I quoted above (first line) and see if it even reaches that code when you use the scroll.

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

1 hour ago, playniks said:

Hi! The effect of my soul link scroll wont work when Im wearing GTB card. How to bypass this?

 

I tried to make every soul skill type as misc for every job but it still doesnt work.

 

Please help me

try this file or you can also check it here: Soul Link Scrolls with Client Files - Database Releases - rAthena

sl.txt

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.03
  • Content Count:  45
  • Reputation:   2
  • Joined:  02/23/23
  • Last Seen:  

7 hours ago, GM Winter said:

Hi thank you for the response. I actually have that kind of file already. I have a working soul link script on my buffer/healer. It's just that the effect of my soul link when wearing a golden thief bug card won't work. 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

3 hours ago, playniks said:

Hi thank you for the response. I actually have that kind of file already. I have a working soul link script on my buffer/healer. It's just that the effect of my soul link when wearing a golden thief bug card won't work. 

 

i test this in my server i use buckler with golden thief bug card and the scroll works in me hmm

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  02/19/24
  • Last Seen:  

Hello, did you fixed it? @playniks

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.03
  • Content Count:  45
  • Reputation:   2
  • Joined:  02/23/23
  • Last Seen:  

Posted (edited)
On 4/4/2024 at 2:17 PM, Hoze said:

Hello, did you fixed it? @playniks

Hi @Hoze yeah I actually managed to resolved the problem and other skills that bypasses the golden thief bug effect like ground spells of professor classes and esma/estun of soul linkers.

Same as @Playtester

status.c

find:

if (skill != nullptr && skill->skill_type == BF_MAGIC

 

Then input the aegis name of the skills you want to bypass gtb effect. Here's mine for Soul Link, Esma, Fogwall, Deluge, Volcano and Violentgale

        if (skill != nullptr && skill->skill_type == BF_MAGIC && type != SC_SPIRIT && type != SC_SMA && type != SC_FOGWALL && type != SC_DELUGE && type != SC_VOLCANO && type != SC_VIOLENTGALE            && // Basic  magic skill
            !skill->inf2[INF2_IGNOREGTB] && // Specific skill to bypass
            ((skill->inf == INF_ATTACK_SKILL || skill->inf == INF_GROUND_SKILL || skill->inf == INF_SUPPORT_SKILL) || // Target skills should get blocked even when cast on self
             (skill->inf == INF_SELF_SKILL && src != bl))) // Self skills should get blocked on all targets except self
            return 0;

Edited by playniks
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...