franboise Posted June 22, 2012 Posted June 22, 2012 guys help nmn oh panu ko ma eenable dito yung mga card like abyssmal knight, hydra, ETC. eto po yung script na dito ko dn nakuha medyo nag experiment lang po ng unti. case CR_ACIDDEMONSTRATION: { short atk, matk, size_mod, bonus; //Formula = [(ATK*0.07*VIT)*WpnSizePnlty + (MATK*0.07*VIT)] atk = sstatus->batk + sstatus->rhw.atk; matk = sstatus->int_ + sd ? sstatus->int_ : 0; size_mod = sd ? sd->right_weapon.atkmods[tstatus->size] : 0; bonus = sd ? sd->long_attack_atk_rate : 0; if ((atk != 0 && size_mod != 0) || matk != 0) md.damage = (int)(((20 * atk * tstatus->vit) + size_mod + 1 + (20 * matk * tstatus->vit)) / 100); else md.damage = 0; // if (tsd || is_boss(target)) //md.damage >= 0; if (md.damage < 0) md.damage = 0; if (md.damage > INT_MAX>>1) md.damage = INT_MAX>>1; if (sd && bonus != 0) md.damage += md.damage * bonus / 100; } break; help nmn po sa mga pro. thx po. Quote
Sryx Posted June 23, 2012 Posted June 23, 2012 (edited) Buksan mo yung db/skill_db.txt search mo yung CR_ACIDDEMONSTRATION change the misc to weapon Edited June 23, 2012 by Rejected 1 Quote
franboise Posted June 25, 2012 Author Posted June 25, 2012 Buksan mo yung db/skill_db.txt search mo yung CR_ACIDDEMONSTRATION change the misc to weapon thx boss. try ko po pag uwi. pm kita kung working po. salamat po not working po. na try ko di po i change sa lahat ng type. ayaw talaga. any idea pa po? Quote
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.