Jump to content

Expanded skill_db's NK Flags: Added Race, Range, Class, Elemental, Size filter


Cydh

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Prolog

There are many skills that actually can be set easily to ignore some bonuses. Example  Gate of Hell  ignores Long Range bonuses (from attacker's and target's gear), the value will be 0x0081000.

//  - Expanded NK Flags [Cydh]
//  - These flags are split value of 0x08 - Skill ignores caster's % damage cards
//  - If you want to this flag works better, remove the 0x08 and 0x10 first
//    0x0001000 - Skill ignores caster's % range damage cards (bLongAtkRate)
//    0x0002000 - Skill ignores caster's % race damage cards (bAddRace, bMagicAddRace, bAddRace2)
//    0x0004000 - Skill ignores caster's % class damage cards (bAddClass, bMagicAddClass)
//    0x0008000 - Skill ignores caster's % elemental damage cards (bAddEle, bMagicAddEle, bMagicAtkEle) (split of 0x10 - Skill ignores elemental adjustments)
//    0x0010000 - Skill ignores caster's % size damage cards (bAddSize, bMagicAddSize)
//    0x0020000 - Skill ignores caster's % specific monster damage cards (bAddDamageClass, bAddMagicDamageClass)
//    0x0040000 - Skill ignores caster's % skill-type & mastery mastery bonus? (Adv. Katar Mastery)
//  - These flags are split value of 0x80 - Skill ignores target's def cards
//  - If you want to this flag works better, remove the 0x80 and 0x10 first
//    0x0080000 - Skill ignores target's range reduction cards (bNearAtkDef, bLongAtkDef)
//    0x0100000 - Skill ignores target's race reduction cards (bSubRace, bSubRace2)
//    0x0200000 - Skill ignores target's class reduction cards (bSubClass)
//    0x0400000 - Skill ignores target's elemental reduction cards (bSubEle) (split of 0x10 - Skill ignores elemental adjustments)
//    0x0800000 - Skill ignores target's size reduction cards (bSubSize, bSubDefEle)
//    0x1000000 - Skill ignores target's specific monster reduction cards (bAddDefMonster, bAddMDefMonster)
//    0x2000000 - Skill ignores target's skill-type reduction cards (bMagicAtkDef, bMiscAtkDef)
//    0x4000000 - Skill ignores target's status reduction bonus (SC_MDEF_RATE, SC_DEF_RATE)

 

Download

 

Changes with old version

  • The flag values are shifted left 1 byte (example 0x100 becomes 0x1000) so it won't be conflicted with multi-hit critical updates on Pull: 2982

 

Edited by Cydh
  • Upvote 2
Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

Hi @Cydh, can you update to patch to latest revision?

Link to comment
Share on other sites

  • 5 months later...

  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Updated for rAthena Git Hash: f2437f4a (20180708)

 

On 1/31/2018 at 11:21 PM, iAmGnome said:

Hi @Cydh, can you update to patch to latest revision?

I updated this last April, but somehow forgot to update here

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

@Cydh: Thanks cydh! 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

@Cydh: I checked line 107 of the patch seems like there's a duplicate definition of if value. See below

image.thumb.png.b3d7a0fc99ce2be6759e0aa8d455a3ed.png

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

1 hour ago, iAmGnome said:

@Cydh: I checked line 107 of the patch seems like there's a duplicate definition of if value. See below

image.thumb.png.b3d7a0fc99ce2be6759e0aa8d455a3ed.png

thank you, updated

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   1
  • Joined:  10/10/18
  • Last Seen:  

@Cydh need update on latest revision rA 

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
Reply to this topic...

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