Joined
Dec 24, 2018
Messages
59
Reaction score
3
First Language
Finnish
Primarily Uses
RMMV
So, I have no idea how to do this at all.
What I'm looking to do is to increase or reduce the damage of certain skills depending if they damage hp or barrier. By default most skills always strike damage to barrier, until it runs out.
I would like to further specialize skills to anti-barrier and anti-hp types by adjusting their damage based on what they deal damage to.
How could I go around doing this?
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,157
First Language
English
Primarily Uses
RMMV
What's an absorption barrier? Is this a system you've already implemented or you want to know how to implement an absorption barrier?
 

Fernyfer775

Veteran
Veteran
Joined
Oct 6, 2013
Messages
1,319
Reaction score
827
First Language
English
The Absorption Barrier plugin has tags to give skills/states the ability to "penetrate" the barrier. So, if you want a skill that deals bonus damage to HP if there is a barrier present, you would use:
<Barrier Penetration: x%>
Then, in the damage formula of the skill itself, you could do:
(DAMAGE FORMULA HERE) * (b.isStateAffected(X) ? 3 : 1)
Where "X" is the STATE ID of your barriers (you set this part up in the plugin parameters itself)
The 3 after the ? is the multiplied damage, and the 1 after the : is the base damage of the skill.
 

Latest Threads

Latest Posts

Latest Profile Posts

Some neat things I made.
Shown to you in the form of an awful Windows Movie Maker Video.
1653453172179.png
Another amazing plugin by Dsiver! Thank you!

Salvage plugin. Craft something you decide you no longer need, or find an item you have no interest in, salvage it for scrap and resources. As you salvage items, gain EXP and level up. The higher your level, the better odds you have at succeeding, and the more material you'll actually acquire.
Harold Jam 2022: Dark Universe game jam is live! https://itch.io/jam/haroldjam22
Every once in a while I keep forgetting MZ added an Attack Skill Trait you can use to set the basic attack of an Actor to something else.

Forum statistics

Threads
122,102
Messages
1,146,536
Members
160,394
Latest member
Waffle_Maybe
Top