I have been attempting to find where in code does the engine calculate how much attack or defense a character has at any given time.
I know it adds up all of these stats from weapons and armor at some point but I cant seem to figure out where these functions are.
I want to make it so that your base attack is governed by Luk and your base defense is governed by mdf.
Can anyone point me to the locations where this calculated so I can do the above?
*Side note*
I am also interested in maybe looking into the prospect of making it so your agility vs the targets agility can determine your chance to hit. But this is a bit more advanced and would like to do the above first.
Where are the stats for a character added up in script?
● ARCHIVED · READ-ONLY
-
-
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
-
Probably Game_Actor/Game_Battler for older engines.
For Ace you have your base_param method from Game_Actor in addition to feature bonuses from Game_BattlerBase. -
Sorry about posting in the wrong place!
Ah I see, its hard to find because it is using a base_param method. I swear I was looking in Game_actor and game_BattlerBase and could not find it... hummm
Ill have to look harder I guess :)