Jump to content
  • 0

Sacrifice Never Miss


Azeroth

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Hi, i was wondering if how can i make the PA_SACRIFICE skill never miss? I tried one of those 4 years ago snippets but one of them none working.

 

This is the official behavior, the opponent is build with high FLEE and high AGI

OEWfSQb.png

Is there way to ignore it? 


Thank you in Advance.
 

Edited by Azeroth
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

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

You can set this in your skill_db, just read the explanation at the top.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

On 1/12/2017 at 1:49 PM, Playtester said:

You can set this in your skill_db, just read the explanation at the top.

i tried but still miss, i think it requires SRC.

 

nk|=NK_IGNORE_FLEE;

Ain't working.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

battle.c

Change:

    if (skill_id == PA_PRESSURE || skill_id == HW_GRAVITATION)
        return damage; //These skills bypass everything else.

To:

    if (skill_id == PA_PRESSURE || skill_id == HW_GRAVITATION || skill_id == PA_SACRIFICE)
        return damage; //These skills bypass everything else.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

21 minutes ago, n0tttt said:

battle.c

Change:

    if (skill_id == PA_PRESSURE || skill_id == HW_GRAVITATION)
        return damage; //These skills bypass everything else.

To:

    if (skill_id == PA_PRESSURE || skill_id == HW_GRAVITATION || skill_id == PA_SACRIFICE)
        return damage; //These skills bypass everything else.

Let me try this, i appreciate for ur help!

Edited by Azeroth
Adding PS.
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Tried this but the source u give ain't working :D

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

Really weird. The first change would have work, the second one is a bit more extreme. Did you recompile? Sorry if that's sound like asking you a novice question, but I don't really know what else happens then.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

56 minutes ago, n0tttt said:

Really weird. The first change would have work, the second one is a bit more extreme. Did you recompile? Sorry if that's sound like asking you a novice question, but I don't really know what else happens then.

I always recompile after i made some changes :D

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:  

I just checked again and when I compile current rAthena on pre-renewal setting without any changes, Sacrifice already never misses.

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