- Joined
- Dec 22, 2015
- Messages
- 49
- Reaction score
- 3
- First Language
- English
- Primarily Uses
- RMVXA
I'm trying to come up with a weapon that uses agility instead of strength, without making it have to give the character a whole ton of extra agility.
Say I have a whip, the whip's damage formula is:
But I want the whip *itself* to have a strength of 20. If I add +20 to ATK, it doesn't do anything with this formula. If I add +20 to AGI, I outspeed and oneshot everything, plus that +20 doesn't show up in shops.
It seems to me the best solution would be if I could:
Set the whip's ATK to +20.
Then have a damage formula something like:
Where (base attack) is what the character's ATK would be if he weren't equipped with anything. This would shift the +20 ATK of the bow to AGI when attacking. Though I don't know if such a variable or script call even exists?
Alternatively, if there is a variable for the ATK rating of the equipped weapon, I could do this:
But once again, I don't know if a variable or script call for weapon.atk truly exists.
If I'm totally off the wrong track and y'all can tell me how to do this using things that actually *do* exist, I'm all ears.
Say I have a whip, the whip's damage formula is:
Code:
a.agi * 4 - b.def * 2
It seems to me the best solution would be if I could:
Set the whip's ATK to +20.
Then have a damage formula something like:
Code:
(a.atk - (base attack)) + a.agi * 4 - b.def * 2
Alternatively, if there is a variable for the ATK rating of the equipped weapon, I could do this:
Code:
(a.agi + (weapon.atk)) * 4 - b.def * 2
If I'm totally off the wrong track and y'all can tell me how to do this using things that actually *do* exist, I'm all ears.
