Jump to content
  • 0

Golden Thief Bug Card.


China

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  152
  • Reputation:   4
  • Joined:  11/25/11
  • Last Seen:  

Okay, so the issue is, I want my GTB to nullify only 25% of the magic dmg but still be able to block tarot and Dispell fully, someone told me it's in battle/items.conf but now the issue is it blocks buffs such as Blessing and Increase Agi as well, I was wondering if I could get GTB to block tarot and dispell without blocking buffs as well? Thanks in advance!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  39
  • Reputation:   1
  • Joined:  04/04/12
  • Last Seen:  

edit in item_db the script and change it to 25, then open items.conf at conf/battle/

then change

// Required level of bNoMagicDamage before Status Changes are blocked (Golden Thief Bug card).
// For example, if left at 50. An item can give bNoMagicDamage,40;
// which reduces magic damage by 40%, but does not blocks status changes.
gtb_sc_immunity: 50

from gtb_sc_immunity: 50 to 25

though it will block buffs too

Edited by hatsunerance
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  152
  • Reputation:   4
  • Joined:  11/25/11
  • Last Seen:  

@^ That's been told to me, I don't want it to block buffs so that's why I posted on source thinking it might be possible.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

In ../src/map

In file: status.c

Find this function:

int status_get_sc_def

Within this function, find:

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__ENERVATION:
  case SC__GROOMY:
  case SC__IGNORANCE:
  case SC__LAZINESS:
  case SC__UNLUCKY:
  case SC__WEAKNESS:
return 0;
 }

Remove the case skills you don't want GTB to block, sample in case you just want dispell and coma to be blocked:

if (status_isimmune(bl))
 switch (type) {
  case SC_COMA:
return 0;
 }

Dispell is checked in skill.c, so you don't need to worry about it.

I guess you want it to block coma from tarot, right?

If you need it to fully block tarot you need to change it in skill.c

In skill.c

Find:

status_zap(src,0,skill_db[skill_get_index(skillid)].sp[skilllv]); // consume sp only if succeeded [inkfish]

After ADD:

  if(status_isimmune(bl))
break;

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