Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,468
First Language
Portuguese
Primarily Uses
victor-engine-script-title.png

action-resistance-name.png








The Action Resistance plugin allows to create effects that protects against specific actions. Different from the default resistances that can be applied to elements, and physical/magical damage, this one can be applied directly to item and skills, item types and skill types and also elements. You can also setup flat reduction values.

Download:
Victor Engine - Action Resistance


Credits:
Author: Victor Sant

Terms of Use
 
Last edited by a moderator:

HalcyanStudio

Eniko Ghosts of Grace Dev
Veteran
Joined
Mar 16, 2012
Messages
1,033
Reaction score
713
First Language
Dutch
Primarily Uses
RMMV
Nice script. So this is perfectly useable to create a Fireward accessory that nullifies fire elemental attacks for example?
 

Targaryen

Veteran
Veteran
Joined
Oct 23, 2015
Messages
51
Reaction score
11
First Language
Spanish
Primarily Uses
Eu te amo muito Victor x''D Great job!
 

Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,468
First Language
Portuguese
Primarily Uses
Nice script. So this is perfectly useable to create a Fireward accessory that nullifies fire elemental attacks for example?
Yes. Although elemental immunity can be acheived with the database settings. You can reduce the elemental damage by X with this one, or make immunity to a group of attacks (Imminity to black magic for example)
 

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
667
Reaction score
424
First Language
English
Primarily Uses
N/A
I noticed something in your file where you say:

Setting elemental resistance by a % value is different from setting them on

on the database. This setting is applied before the resistance, so it will

not be additive.
I was a little confused by this. I know now what you mean, but when I first saw this plugin and read the instructions, it made me think that the resistances from the notetags wouldn't be added together. But they do get added together, it's just the calculations are separate from the default resistance calculation. 
 

Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,468
First Language
Portuguese
Primarily Uses
I noticed something in your file where you say:


I was a little confused by this. I know now what you mean, but when I first saw this plugin and read the instructions, it made me think that the resistances from the notetags wouldn't be added together. But they do get added together, it's just the calculations are separate from the default resistance calculation. 



For example:


Your skill deal 1000 fire damage. You have +50% fire resistance from the plugin and 50% fire resistance from database.


The script processe both resistance separatedely. First you have the plugin resist reducind the damage by 50% (the damage goes down to 500) and then comes the database 50% resistance (reducing the 500 remaining damage to 250).


In other words. if you have 50% resist from the plugin and 50% resist from the database, you will not have 100% resistance.


Now the resistances provided by the plugin is stackable. So, two 50% resistance given by the plugin will result in a 100% resistance.


Anyway, looking back at it, it's really a bit confusing, i will rewrite it better later.
 
Last edited by a moderator:

Latest Threads

Latest Posts

Latest Profile Posts

A shotgun is not a rifle. Huh.
SIGH its so hard to convince my friend that making a game for fun and making one to sell takes different planning. I don't care about weird bothersome ways of doing things in a game made for fun, but when you are planning to market it, there is some stuff that you just have to streamline or cut out.
It might be a little bit boring and tedious, but building that database of armor, items, weapons and skills are super important.
More words of wisdom: Trying to make everyone happy will just make you miserable.

Forum statistics

Threads
124,390
Messages
1,163,295
Members
163,191
Latest member
wxzlion
Top