Jump to content
  • 0

The GTB card is making the player immune to the skill: PF_SPIDERWEB (405)


Tdi123

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

I have searched the forum and still can't solve my problem.

Could someone help me?

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   30
  • Joined:  10/21/12
  • Last Seen:  

  - Id: 468
    Name: SL_STUN
    Description: Estun
    MaxLevel: 7
    Type: Magic
    TargetType: Attack
    Flags:
      IgnoreGtb: true
    Range: 9
    Hit: Single
    HitCount: 1
    Element: Endowed
    CastTime: 100
    AfterCastActDelay: 500
    Duration1: 2000
    Requires:

Add Flags: IgnoreGtb: true to Skill Spider Web.

  • Upvote 1
Link to comment
Share on other sites

  • 0

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

Adding the flag as qtdan described is the easiest solution.

If this is a bug in the emulator and it should not make targets immune to GTB, then that's usually more an indication of that it shouldn't be a magic spell in the first place (maybe misc?). Though changing the damage type often requires to also move the skill's code to another function (might not be needed for no-damage skills though).

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

6 hours ago, qtdan said:
  - Id: 468
    Name: SL_STUN
    Description: Estun
    MaxLevel: 7
    Type: Magic
    TargetType: Attack
    Flags:
      IgnoreGtb: true
    Range: 9
    Hit: Single
    HitCount: 1
    Element: Endowed
    CastTime: 100
    AfterCastActDelay: 500
    Duration1: 2000
    Requires:

Add Flags: IgnoreGtb: true to Skill Spider Web.

Where can I find this?

image.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

7 hours ago, qtdan said:
  - Id: 468
    Name: SL_STUN
    Description: Estun
    MaxLevel: 7
    Type: Magic
    TargetType: Attack
    Flags:
      IgnoreGtb: true
    Range: 9
    Hit: Single
    HitCount: 1
    Element: Endowed
    CastTime: 100
    AfterCastActDelay: 500
    Duration1: 2000
    Requires:

Add Flags: IgnoreGtb: true to Skill Spider Web.

The emulator does not recognize the command: 

IgnoreGtb: true

12.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   30
  • Joined:  10/21/12
  • Last Seen:  

Flags:
      IgnoreGtb: true

just like this

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.04
  • Content Count:  192
  • Reputation:   3
  • Joined:  12/12/17
  • Last Seen:  

5 hours ago, qtdan said:
Flags:
      IgnoreGtb: true

just like this

 

I already put this command, it generates the above error

 

Link to comment
Share on other sites

  • 0

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

Maybe your rAthena is outdated. This flag was added on February 1st 2022:

https://github.com/rathena/rathena/commit/3deb3e204852f169c84e5ea9399e8a1e5129a71e

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

On 5/12/2022 at 7:31 AM, Tdi123 said:

I already put this command, it generates the above error

 

Or if you have old revision like me. Revert all changes you made and you can add this to your status.c instead.

	// Status that are blocked by Golden Thief Bug card or Wand of Hermod
	if (status_isimmune(bl)) {
		switch (type) {
			case SC_DECREASEAGI:
			case SC_SILENCE:
			case SC_COMA:
			case SC_INCREASEAGI:
			case SC_BLESSING:
			case SC_SLOWPOISON:
			case SC_IMPOSITIO:
			case SC_AETERNA:
			case SC_SUFFRAGIUM:
			case SC_BENEDICTIO:
			case SC_PROVIDENCE:
			case SC_KYRIE:
			case SC_ASSUMPTIO:
			case SC_ANGELUS:
			case SC_MAGNIFICAT:
			case SC_GLORIA:
			case SC_WINDWALK:
			case SC_MAGICROD:
			case SC_HALLUCINATION:
			case SC_STONE:
			case SC_QUAGMIRE:
			case SC_SUITON:
			case SC_SWINGDANCE:
			case SC_FIRE_INSIGNIA:
			case SC_WATER_INSIGNIA:
			case SC_WIND_INSIGNIA:
			case SC_EARTH_INSIGNIA:
+			case SC_SPIDERWEB:
				return 0;
		}
	}

 

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...