Bringer Posted May 31, 2015 Posted May 31, 2015 anyone have src code old setting for asura and final strike slide effect? Quote
0 skymia Posted February 21, 2018 Posted February 21, 2018 On 6/1/2015 at 6:31 AM, Bringer said: anyone have src code old setting for asura and final strike slide effect? up for this Quote
0 Bringer Posted February 21, 2018 Author Posted February 21, 2018 (edited) 2 hours ago, skymia said: up for this i already fixed myself Edited February 21, 2018 by Bringer Quote
0 Elysium Posted February 21, 2018 Posted February 21, 2018 At least share us your code on how you fixed it? Quote
0 Bringer Posted February 21, 2018 Author Posted February 21, 2018 @skymia @Elysium #ifndef RENEWAL case NJ_ISSEN: status_change_end(src, SC_NEN, INVALID_TIMER); status_change_end(src, SC_HIDING, INVALID_TIMER); #endif // fall through case MO_EXTREMITYFIST: { //short x, y, i = 2; // Move 2 cells for Issen(from target) struct block_list *mbl = bl; short dir = 0; skill_attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag); if( skill_id == MO_EXTREMITYFIST ) { mbl = src; status_set_sp(src, 0, 0); status_change_end(src, SC_EXPLOSIONSPIRITS, INVALID_TIMER); status_change_end(src, SC_BLADESTOP, INVALID_TIMER); #ifdef RENEWAL sc_start(src,src,SC_EXTREMITYFIST2,100,skill_lv,skill_get_time(skill_id,skill_lv)); #endif }else status_set_hp(src, #ifdef RENEWAL max(status_get_max_hp(src)/100, 1) #else 1 #endif , 0); } //Client expects you to move to target regardless of distance { struct unit_data *ud = unit_bl2ud(src); short dx,dy; int i,speed; i = skill_id == MO_EXTREMITYFIST?1:2; //Move 2 cells for Issen, 1 for Asura dx = bl->x - src->x; dy = bl->y - src->y; if (dx < 0) dx-=i; else if (dx > 0) dx+=i; if (dy < 0) dy-=i; else if (dy > 0) dy+=i; if (!dx && !dy) dy++; if (map_getcell(src->m, src->x+dx, src->y+dy, CELL_CHKNOPASS)) { dx = bl->x; dy = bl->y; } else { dx = src->x + dx; dy = src->y + dy; } 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+=7*speed/5; else ud->canmove_tick+=speed; } } } break; Quote
0 skymia Posted February 21, 2018 Posted February 21, 2018 5 hours ago, Bringer said: i already fixed myself i also fixed already hehe Quote
0 Youness Posted May 29, 2019 Posted May 29, 2019 (edited) Hello @Elysium @skymia Can you help me to fix this in the latest code, please? Edited May 29, 2019 by Youness THANK YOU! Quote
0 Bringer Posted May 31, 2019 Author Posted May 31, 2019 On 5/30/2019 at 5:31 AM, Youness said: Hello @Elysium @skymia Can you help me to fix this in the latest code, please? code is therehttps://rathena.org/board/topic/102019-asura-slide-effect/?do=findComment&comment=342220 Quote
Question
Bringer
anyone have src code old setting for asura and final strike slide effect?
7 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.