Jump to content
  • 0

How to skill ignore DEF


retsaoremo

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  11/22/13
  • Last Seen:  

// 06 nk (skill damage properties):
//    0x01 - No damage skill
//    0x02 - Has splash area
//    0x04 - Damage should be split among targets
//    0x08 - Skill ignores caster's % damage cards (misc type always ignores)
//    0x10 - Skill ignores elemental adjustments
//    0x20 - Skill ignores target's defense (misc type always ignores)
//    0x40 - Skill ignores target's flee (magic type always ignores)
//    0x80 - Skill ignores target's def cards

I think that is only sum, but not.

How to make this skill:

2261,9:11:13,6,2,-1,0x42,3:2:1,3,1,no,0,0,0,weapon,0,0x0,	NC_ARMSCANNON,Arm Cannon

ignore DEF too? Explain to me please.

Edited by retsaoremo
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

You need to sum it up in a hexidezimal way. It's easier like that because each digit is NOT influenced by other digits.

 

It goes like this:

0-9

A - 10

B - 11

C - 12

D - 13

E - 14

F - 15

 

0x80 + 0x10 = 0x90

 

If you have:

0x80 + 0x08 + 0x02 you can split that into:

 

First digit: 0x80 (8)

Second digit: 0x08 (8) + 0x02 (2) = 0x0A (10)

 

Then combine it together: 0x8A

 

0x just means "the following number is in a hexadecimal system" rather than the decimal system most humans use.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

Just add 0x20 to the nk field: 0x42 -> 0x62

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  11/22/13
  • Last Seen:  

Just add 0x20 to the nk field: 0x42 -> 0x62

Ok. So it's only sum the values?

 

Example:

// 0x80 - Skill ignores target's def cards
// 0x10 - Skill ignores elemental adjustments

Sum: 0x90

 

Now:

// 0x80 - Skill ignores target's def cards
// 0x08 - Skill ignores caster's % damage cards (misc type always ignores)
// 0x02 - Has splash area

Now sum: 0x90 (It's right?)

The same value, but not same effect. How do you explain this, please?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   0
  • Joined:  11/22/13
  • Last Seen:  

You need to sum it up in a hexidezimal way. It's easier like that because each digit is NOT influenced by other digits.

 

It goes like this:

0-9

A - 10

B - 11

C - 12

D - 13

E - 14

F - 15

 

0x80 + 0x10 = 0x90

 

If you have:

0x80 + 0x08 + 0x02 you can split that into:

 

First digit: 0x80 (8)

Second digit: 0x08 (8) + 0x02 (2) = 0x0A (10)

 

Then combine it together: 0x8A

 

0x just means "the following number is in a hexadecimal system" rather than the decimal system most humans use.

Thanks.

Please, explain me this example?

//    0x40 - Skill ignores target's flee (magic type always ignores)
//    0x80 - Skill ignores target's def cards

This case is 8+4 = 12 = 0xC ?

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