Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Contingencies Within Skills?

MinisterJay

Administrator
Staff member
Administrator
Is it possible to have contingencies within skills? In other words, let's say a person cast a fire spell, but the target is immune to the spell, that is is has a Element rate of Fire *0%. I would like to make it where, if Fire is cast of specific creatures, it heals them, and does damage to those with Element rate of Fire >0%. Is it possibly to put conditional branches within skills?
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
It is possible to use common events, but I'm unsure how you would check the enemies element rates in order to do this a proper way. I am searching through the core scripts right now to see if I can find anything you can use to check for enemies elements. If I find anything I will be sure to let you know. Maybe @eivl or @Soul will know where to look.
 

MinisterJay

Administrator
Staff member
Administrator
I was thinking of using Common Events or even States. The challenge is to damage some but heal others. I think you are right, the JS people @eivl and/or @Soul might understand the 'innards" better.
 

Macro

Pantologist
Xy$
0.00
Would need a plugin that allows you to change the element rate to a negative value in order to have that element heal them if they get attacked with it. Aka -100% Fire would be 100% to heals.

I saw THime made a script for ACE but I'm not finding any MV plugins yet.

Good idea pointing this feature out though! Would make great plugin for elemental enemies that are so notorious for their absorb passives! >_<
 

Boy Who Codes

Praised Adventurer
Xy$
0.00
Each multiplier are giving you different rates.

0%= 0 this means multiply by 0 (no damage)
50%=0.5 (half damage)
100%=1.0 (full damage)
200%=2.0 (double damage)

But if you place a negative multiplier, it gets multiplied to it, which will heal your character. However I believe that there's no support for negative characters yet as of the moment. It'd surely need a plugin for this.
 

MinisterJay

Administrator
Staff member
Administrator
Each multiplier are giving you different rates.
But if you place a negative multiplier, it gets multiplied to it, which will heal your character. However I believe that there's no support for negative characters yet as of the moment. It'd surely need a plugin for this.
You are correct. I tried the negative multiplier, before posting this thread, and it will not even accept the negative sign. I use 0% for immunity, 50% for resistant, and 250% for susceptible.

What I was looking for @Soul was a plugin that lets regular targets take damage, which specific spell, but others with a certain trait, get healed.
 

Trumully

Cyborg Kiwi
The best solution to this would be Yanfly's Element Absorb plugin. If an enemy or actor had a note tag, for example, that absorbs "Fire", the enemy or actor hit would gain health instead of taking damage. I hope this helps.
 
Top