I'm trying to make the damage calculation for my game to use Str Factor for melee weapons while Dex for ranged weapon.
This question I'm asking involved in Game_Battler 3 where the damaged in battles are calculated.
What should I add into the "Applying Normal Attack Effects" script to have the damage cause by an actor using melee weapon to be calculated using this formula
While a ranged weapon (Bows, guns, etc.) to be calculated with Dex factors instead
I'm kinda sucks when it comes to explaining things, but I hope someone could help me with this.
This question I'm asking involved in Game_Battler 3 where the damaged in battles are calculated.
What should I add into the "Applying Normal Attack Effects" script to have the damage cause by an actor using melee weapon to be calculated using this formula
Code:
self.damage = ((atk * 2) + attacker.str) - (self.pdef * 2)
While a ranged weapon (Bows, guns, etc.) to be calculated with Dex factors instead
Code:
self.damage = ((atk * 2) + attacker.dex) - (self.pdef * 2)
I'm kinda sucks when it comes to explaining things, but I hope someone could help me with this.