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:
[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:
[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:
[percent]Calculate by value to original magic attack with a chance of.
Code:
[percent]Calculate by value to original magic defense power with a chance of.
Code:
[percent]Calculate by value to original agility with a chance of.
Code:
[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
本贴来自国际rpgmaker官方论坛作者:ovate处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/damage-formula-extension.116885/