I'm working on a stats overhaul and I'm trying to change the formular for the players attack value.
what I'm anticipating :
final attack = watk* batk/100
instead of the currently in place
final attack = watk+batk
from what I understand this should be the place where weapon attack meets base attack:
// ------ ATTACK CALCULATION ------
// Base batk value is set in status_calc_misc //ROverhaul
#ifndef RENEWAL
// !FIXME: Weapon-type bonus (Why is the weapon_atk bonus applied to base attack?)
if (sd->status.weapon < MAX_WEAPON_TYPE && sd->weapon_atk[sd->status.weapon])
base_status->batk += sd->weapon_atk[sd->status.weapon];
// Absolute modifiers from passive skills
if((skill=pc_checkskill(sd,BS_HILTBINDING))>0) //Dontforgetme
base_status->batk += 4;
Note: I use PRERE defines
but any change I make to this formular seems to have no effect at all :/
Question
andybe
hi,
I'm working on a stats overhaul and I'm trying to change the formular for the players attack value.
what I'm anticipating :
final attack = watk* batk/100
instead of the currently in place
final attack = watk+batk
from what I understand this should be the place where weapon attack meets base attack:
Note: I use PRERE defines
but any change I make to this formular seems to have no effect at all :/
Edited by andybeLink to comment
Share on other sites
0 answers 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.