Damage Formula Extension

Damage Formula Extension 2017/01/28

Creator name: Triacontane​

Introduction
More functions that can be used for damage formula calculation.

How to Use
Input function for skill damage formula in database. Example(a.plus_atk), (b.plus_def)

Formula functions list:
Code:
plus_atk(percent, value)
[percent]Calculate by value to original attack power with a chance of.
ex-
a.plus_atk(50, 100) # 50% chance to add 100 to the attacker's attack power.

Code:
plus_def(percent, value)
[percent]Calculate by value to original defense with a chance of.
ex-
b.plus_def(30, -100) # 30% chance to subtract 100 from the target's def.

Code:
plus_mat(percent, value)
[percent]Calculate by value to original magic attack with a chance of.

Code:
plus_mdf(percent, value)
[percent]Calculate by value to original magic defense power with a chance of.

Code:
plus_agi(percent, value)
[percent]Calculate by value to original agility with a chance of.

Code:
plus_luk(percent, value)
[percent]Calculate by value to original luck with a chance of.

Script installation
Paste this script above Main.

Script

Credit and Thanks: Triacontane

Terms of Use- Free for commercial and non-commercial use.

License - MIT License: http://opensource.org/licenses/mit-license.php

Source
https://github.com/triacontane/RPGMakerMV/tree/master/VXAce

Original thread: https://forums.rpgmakerweb.com/threads/damage-formula-extension.116885/