Version 1.10 update
MV/MZ Weapon Attack Formulas » Devlog
Greetings.
I have updated Weapon Attack Formulas to version 1.10 with the following changes:
- Enemies can now have custom formulas assigned to them. They function in the same way as a weapon formula. Now all of your enemies can use the same basic attack skill as your actors, with interchangeable custom damage formulas!
- Added a new function: Game_Action.prototype.weaponFormula()
- This new function can be called from a damage formula for a skill.
- this.weaponFormula() returns the custom formula of the user. If no custom formula exists on that battler, it returns 0.
- You can give an alternate formula as an argument to this function. If it would normally return 0, it instead returns the alternate formula.
this.weaponFormula() * 2
The above is a complete damage formula, the kind you'd put in your skill box to deal damage. The above function will return double the users custom attack formula, or zero if the user doesn't have one.
this.weaponFormula(100 + a.mat) * 2
This is the same damage formula again, but this time we've provided an alternate formula. It will still return double the users custom attack formula, but if the user doesn't have one, it will use the alternate function instead, and will deal 200 + (a.mat * 2) damage.
Both of these additions were suggestions made by user YoraeRasante. Thanks for the good suggestions!
Files
Plugin Download 16 kB
Jan 15, 2020
Get MV/MZ Weapon Attack Formulas
Buy Now$3.99 USD or more
MV/MZ Weapon Attack Formulas
Make your weapons more unique by swapping in a new damage formula for certain skills
More posts
- Version 1.13 Minor BugfixDec 23, 2022
- Version 1.12 Minor FixJan 20, 2021
- Version 1.11 RPGMaker MZ releaseDec 08, 2020
Leave a comment
Log in with itch.io to leave a comment.