Jump to content
  • 0

Sacrifice Never Miss


Question

Posted (edited)

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

8 answers to this question

Recommended Posts

  • 0
Posted
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.

  • 0
Posted

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.

  • 0
Posted (edited)
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.
  • 0
Posted

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.

  • 0
Posted
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...