Gray96

Veteran
Veteran
Joined
Jan 4, 2018
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMMV
Hello, I haven't made too many posts here and wouldn't be surprised if I missed an existing thread for this, but I was wondering about how to go about making a skill that does the following:

-Upon using this skill, the actor gains a state called "Furnace" until the end of combat. While Furnace is active, when the affected actor finishes off an enemy they gain a magic attack boost of x until the end of combat.

I am using a number of Yanfly Engine plugins and I am confident that there must be a relatively simple way to implement this type of skill/state using them. I tried modifying a bit of code from his tips and tricks video about Mejai's Soulstealer from League of Legends, but what I'm trying to do involves a skill/state rather than an equipable item (in the Tips and Tricks video, Yanfly uses Equip Core and Battle Statistics Core, but I imagine that for what I'm trying to do I need Buffs and States Core/Skill Core/Auto Passive States?). The code I tried was the following in a state notebox:

<Custom Parameters>

var furnace = 0;

furnace += user.killCount() * 1;

mat = furnace * 5;

</Custom Parameters>

I used this code with the Battle Statistics Core, so at the very least the game should be keeping track of the user's kill count. With that said, Yanfly's tip video on the matter applies the effect to an item, not a skill. My javascript knowledge is relatively small so there are probably other factors I missed in trying to alter the code, but I do understand some of the basics. Any assistance would be greatly appreciated!
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I keep giving myself deadlines because I'm so excited to finish something but I notice areas where I'm rushing the story and that's what's gonna weaken my overall project, gotta stop that
My new level features a Jellyfish character who cannot love, because he electrocutes everything he touches.
I prefer single roommates. After a hard day, all you want is sleep. I went to bed at 12. I was awakened at 2 because of my roommate laughing and whispering and stuff with her boyfriend on the phone. I didn't want to yell at her so I had to bear that cringy lovey dovey convo for half an hour, before I got so bored that I fell asleep again.
image i made on mon-die morning
Everyday I'm hustlin' hustlin'

Forum statistics

Threads
93,683
Messages
914,608
Members
123,282
Latest member
PadvadV3
Top