Jump to content
  • 0

Asura Strike delay/animation


sabuross

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   11
  • Joined:  02/20/13
  • Last Seen:  

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,

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   12
  • Joined:  06/22/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  12/23/19
  • Last Seen:  

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