I made some modifications to the TK_DODGE Skill, and for some strange reason the skill stopped working even though I returned it to the old formula, could anyone help me, this really does not make sense because I had compiled, the skill was working just as I wanted, and then stopped working, does not display any error on the console.
Does anyone know what it could be? I'm also trying to make the somersault work with short attacks, skills, and weapons that way.
if(sc->data[SC_DODGE_READY]&&(!sc->opt1 || sc->opt1 == OPT1_BURNING )&&(flag&(BF_WEAPON|BF_SHORT|BF_SKILL|BF_NORMAL))&& rnd()%100<20){if(t_sd && pc_issit(t_sd)) pc->setstand(t_sd);//Stand it to dodge.
clif->skill_nodamage(bl,bl,TK_DODGE,1,1);if(!sc->data[SC_COMBOATTACK])
sc_start4(src, bl, SC_COMBOATTACK,100, TK_JUMPKICK, src->id,1,0,2000);return0;}
I develop a custom server, I make much more complex modifications than this one, and for some reason this particular modification is giving me a headache.
I made some modifications to the TK_DODGE Skill, and for some strange reason the skill stopped working even though I returned it to the old formula, could anyone help me, this really does not make sense because I had compiled, the skill was working just as I wanted, and then stopped working, does not display any error on the console.
Does anyone know what it could be? I'm also trying to make the somersault work with short attacks, skills, and weapons that way.
I develop a custom server, I make much more complex modifications than this one, and for some reason this particular modification is giving me a headache.
Share this post
Link to post
Share on other sites