Hello, I have a question, I am a few hours checking these lines of code trying to understand what it is,
ud-> canmove_tick + = 3 * speed / 5;// is this part the speed of animation?
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
if(unit_walktoxy(src, dx, dy, 2) && ud) {
//Increase can't walk delay to not alter your walk path
ud->canmove_tick = tick;
speed = status_get_speed(src);
for (i = 0; i < ud->walkpath.path_len; i ++)
{
if(ud->walkpath.path[i]&1)
ud->canmove_tick+=3*speed/5;
else
ud->canmove_tick+=speed;
}
}
}
break;
Question
Scofield
Hello, I have a question, I am a few hours checking these lines of code trying to understand what it is,
ud-> canmove_tick + = 3 * speed / 5; // is this part the speed of animation?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.