Jump to content
  • 0

Soul link scroll does not work when wearing GTB


Question

Posted (edited)

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

6 answers to this question

Recommended Posts

  • 0
Posted

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
  • 0
Posted
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

  • 0
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...