States do Elemental Damage v1.02
Created by Roninator2
Introduction
A request from WitchAmy to have Damage Over Time get resisted by elemental resistance
Features
- Allows States inflicted on the actor to cause damage each turn
- Damage is reduced or increased by resistances
- Resistances can be placed on Actor, Class or Equipment
- Each of those three can be enabled or disabled
- Also supports damage by percentage - similar to poison (mhp * hrg)
- Damage can also be a fixed value
- resistance value can be additive, meaning added together before calculating the damage adjustment
* this allows you to have resistances on actors and classes combine to give a higher resistance value.
or this can be left to false which will adjust the damage for each stage.
- Works for actors and enemies
e.g. damage = 100
actor resists 20%
damage = 80
class resist 20%
damage = 64
armour resists 20%
damage = 51
vs combined
actor, class & equip = 60%
damage = 40
How to Use
Put below Materials and Above Main
Place tag in the state note box
<element damage: 3, 15, 1>
Images
Spoiler: Images
Script
Spoiler: Script
Credit and Thanks
- Roninator2
Terms of use
Follow the original Authors terms of use where applicable
- When not made by me (Roninator2)
Free for all uses in RPG Maker except nudity
Anyone using this script in their project before these terms
were changed are allowed to use this script even if it conflicts
with these new terms. New terms effective 03 Apr 2024
No part of this code can be used with AI programs or tools
Credit must be given
本贴来自国际rpgmaker官方论坛作者:Roninator2处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/states-do-damage-over-time-by-element.161104/