I thought I asked this question but apparently not. I need help making a damage formula where Luck boost the amount of damage dealt. In my game, the Luck Stat maxes out at 100 and increases the amount of damage done up to 100%.
(Ex. If Luck is at 50, it increases a skill's total damage dealt by 50%)
The damage formula I've been using so far is :
It functions but it occasionally will either crash the game, or just flat out do 0 damage about a third of the time.
I've been thinking about a way to just add it to one of the Damage Steps using Yanfly's Damage Core Plugin, but I'm not tech savvy enough to do something like that.
Any help? Either solution helps. I have a majority of Yanfly's plugins if using the default engine doesn't work.
(Ex. If Luck is at 50, it increases a skill's total damage dealt by 50%)
The damage formula I've been using so far is :
Code:
(a.atk * 2 - b.def * 2) * (1 + (a.luk/100))
It functions but it occasionally will either crash the game, or just flat out do 0 damage about a third of the time.
I've been thinking about a way to just add it to one of the Damage Steps using Yanfly's Damage Core Plugin, but I'm not tech savvy enough to do something like that.
Any help? Either solution helps. I have a majority of Yanfly's plugins if using the default engine doesn't work.