- Joined
- Dec 4, 2015
- Messages
- 202
- Reaction score
- 88
- First Language
- German
- Primarily Uses
- RMMV
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:
"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.
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>
