In my server, Flash Combo skill has a 2 second general delay which makes the caster unable to use any other skill, item or even move (walk).
This happened after an update I made, since before the skill was showing !! only with no text for each combo step. In the src code, was using FLASHCOMBO_ATK_STEP1, 2, 3 and 4.
After the manual update now it shows the proper names of the skills, therefore using the official skills in order, but the new issue is now there's a 2 second general delay after using Flash Combo.
My question is, how can I remove this 2 second general delay?
Here's my skill_cast_db.txt, which I didn't modified at all.
// Structure of Database:
// SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2,Cool Down,Fixed Casting Time
...
//-- SR_FLASHCOMBO
5009,0,4000,0,4000,0,0,-1
As you can see, it has no After cast walk delay.
Here's my skill.c
case SR_FLASHCOMBO: {
//const int combo[] = { SR_FLASHCOMBO_ATK_STEP1, SR_FLASHCOMBO_ATK_STEP2, SR_FLASHCOMBO_ATK_STEP3, SR_FLASHCOMBO_ATK_STEP4 };
const int delay[] = { 0, 250, 500, 2000 };
const int combo[] = { SR_DRAGONCOMBO, SR_FALLENEMPIRE, SR_TIGERCANNON, SR_SKYNETBLOW };
if (sd)
sd->ud.attackabletime = sd->canuseitem_tick = sd->ud.canact_tick;
clif_skill_nodamage(src,bl,skill_id,skill_lv,
sc_start2(src,bl,type,100,skill_lv,bl->id,skill_get_time(skill_id,skill_lv)));
for (i = 0; i < ARRAYLENGTH(combo); i++)
//skill_addtimerskill(src,tick + 500 * i,bl->id,0,0,combo[i],skill_lv,BF_WEAPON,flag|SD_LEVEL);
skill_addtimerskill(src,tick + delay[i],bl->id,0,0,combo[i],skill_lv,BF_WEAPON,flag|SD_LEVEL);
}
break;
Question
OscarScorp
In my server, Flash Combo skill has a 2 second general delay which makes the caster unable to use any other skill, item or even move (walk).
This happened after an update I made, since before the skill was showing !! only with no text for each combo step. In the src code, was using FLASHCOMBO_ATK_STEP1, 2, 3 and 4.
After the manual update now it shows the proper names of the skills, therefore using the official skills in order, but the new issue is now there's a 2 second general delay after using Flash Combo.
My question is, how can I remove this 2 second general delay?
Here's my skill_cast_db.txt, which I didn't modified at all.
As you can see, it has no After cast walk delay.
Here's my skill.c
Any help will be appreciated
Link to comment
Share on other sites
1 answer 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.