Hytech 0 Posted November 17, 2018 How can I put kiel card effect on certain skill? for example bowlish bash... bonus bDelayrate,-30; Quote Share this post Link to post Share on other sites
0 banhelba2019 20 Posted March 11, 2019 not really sure, why its in this itembonus group i cant say, but i dont see why its not possible, i just cant using itembonus here pc.c case SP_DELAYRATE: if(sd->state.lr_flag != 2) sd->delayrate+=val; break; and if you try to copy it to a itembonus2 script that has leveled i just get the pointer must be to object error noticable difference is that lr_flag != 2 in the sp_delayrate script and the ones with skills names ==2 then break.. ok now the ones with skill names use this section in script.c case SP_AUTOSPELL: case SP_AUTOSPELL_WHENHIT: case SP_AUTOSPELL_ONSKILL: case SP_SKILL_ATK: case SP_SKILL_HEAL: case SP_SKILL_HEAL2: case SP_ADD_SKILL_BLOW: case SP_CASTRATE: case SP_ADDEFF_ONSKILL: case SP_SKILL_USE_SP_RATE: case SP_SKILL_COOLDOWN: case SP_SKILL_FIXEDCAST: case SP_SKILL_VARIABLECAST: case SP_VARCASTRATE: case SP_FIXCASTRATE: case SP_SKILL_USE_SP: // these bonuses support skill names if (script_isstringtype(st, 3)) { val1 = skill->name2id(script_getstr(st, 3)); break; sorry im useless Quote Share this post Link to post Share on other sites
How can I put kiel card effect on certain skill? for example bowlish bash...
bonus bDelayrate,-30;
Share this post
Link to post
Share on other sites