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.