RPG Maker Forums

Hey everyone

I'm currently facing a problem, which I think should be very easy to solve, but I can't figure it out.

I made a skill "Heat infusion" which will apply a state to the user. This state will cause the user to deal fire-elemental attacks, as well as apply a burn with basic attacks and every non-elemental skill. Now, I'm almost there. For basic attacks, this is as easy as giving the state traits of fire element and adding the burn state to the enemies.

For skills, this isn't as simple. I need to insert a specific piece of code into every single non elemental skill to get the desired effect. I'm using much of the Yanfly library, and currently it looks like this:

Code:
<before eval>
if (user.isStateAffected(25)) {
target.addState(16); }
</before eval>
"25" refers to the infusion-status, and 16 is the burn status. So currently what this code does, it checks if the user is fire infused. If so, this skill will burn enemies. Great! Now I just need to add that one line, where the element of this skill is overriden with fire damage instead of physical damage. I had hoped I'd find something in Element Core, but unfortunatly, no.

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top