(Answered) Custom state that caps damage at 30% health?

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
So I would like to make a state that would cap any damage taken while the state is active at 30% of the "wearer's" maximum health.


EG: Actor has 1000 HP, enemy hits for 800 damage, actor instead takes 300 damage.


Alternatively: Actor has 1000 HP, enemy hits for 62 damage, actor still takes 62 damage.


I assume this would be accomplished through a plugin, so I posted here.


How would I accomplish this? I have all of Yanfly's plugins and I am not adverse to getting others.


*edit* The answer, thanks to Luxanna:


https://alistairengine.wordpress.com/2016/02/03/eval-collection-force-armor/
 
Last edited by a moderator:

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
That's spectacular! Thank you very much! :D
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top