Jump to content
  • 0

Asura Strike delay/animation


Question

Posted

Hey guys,

 

As most of you know, there is quite a difference between rAthena's asura strike and eAthena (Pre vs Re). For rAthena the character looks as if it's teleporting from one cell to another, whereas with eAthena the character walks to the cell.

 

As shown in the video:

https://www.youtube.com/watch?v=47-m3xC-BqA

 

 

I'm currently using rAthena, and I am currenty using this code in skill.c to get the walking animation in eAthena:

 

I replaced:

 // Ashura Strike still has slide effect in GVG
if ((mbl == src || (!map_flag_gvg2(src->m) && !map[src->m].flag.battleground)) &&
unit_movepos(src, mbl->x + x, mbl->y + y, 1, 1)) {

with this

unit_walktoxy(src, mbl->x + x, mbl->y + y, 2)

I have replaced it and it's definitely working however a few problems:

 

1.) When the character asura strikes, feels like there is about a 0.5 second delay until the character actually starts moving to the cell. Movement should be instant when character asura.

2.) It only moves the character 1-2 cells in comparison to the video, the champion moves about 4-5 cells away.

 

Just wondering if there's any way to fix this?

 

Thanks,

 

3 answers to this question

Recommended Posts

  • 0
Posted

comment this one :

Quote

            if ((mbl == src || (!map_flag_gvg2(src->m) && !map[src->m].flag.battleground)) &&
            //unit_movepos(src, mbl->x + x, mbl->y + y, 1, 1)) {
                unit_walktoxy(src, mbl->x + x, mbl->y + y, 2)){
                //clif_blown(src);   <<<<<<<<<<<<<<<<<-------- to remove the delay.
                clif_spiritball(src);  
            }

 

 

  • Upvote 1
  • Like 1
  • 0
Posted (edited)
On 7/12/2018 at 6:58 AM, zeek said:

comment this one :

 

 

Thank you very much. I tested and it worked madam/sir.

Edited by QwertyD

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