Jump to content
  • 0

Circular cell preventing the cast of a certain skill


Question

Posted

When i'm using a melee skill like asura, FCP, or sonic blow while i'm 3 or more cell away on the target, my character just move closer, but the skill interrupts and there is no cast especially when i'm diagonally positioned onto the target. Please help me...

4 answers to this question

Recommended Posts

  • 0
Posted
        } else if( !battle_check_range(src, target, range) )
            return 0; // Arrow-path check failed.

Just change to that to:

        } else if( !battle_check_range(src, target, range+1) )
            return 0; // Arrow-path check failed.

For now.

 

At least then you only change it in that one specific case instead of changing a general range function that's used everywhere.

 

Yes, it's not safe, it gives hackers one more skill range than other players, but I can't look into a better fix because the bug doesn't appear for me locally and nobody else that has this bug could look into why it even gets to that code part.

  • Upvote 1
  • 0
Posted (edited)

When i'm using a melee skill like asura, FCP, or sonic blow while i'm 3 or more cell away on the target, my character just move closer, but the skill interrupts and there is no cast especially when i'm diagonally positioned onto the target. Please help me...

Is it the same like this issue? https://github.com/rathena/rathena/issues/1427

If yes, see my comments below, i have fixed it, but my fix not safe.

Edited by Anacondaqq

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