Weapon procs!

KawaiiKid

Veteran
Veteran
Joined
Oct 13, 2015
Messages
151
Reaction score
38
First Language
English
Primarily Uses
Does anyone know how I'd go about making an instant proc in MV? I'm trying to add a weapon buff basically, so that for the next 5 rounds I do the normal amount of damage + an extra proc of poison damage from the buff. Right now I have it so that using the ability gives me a state that has a nested attack state of doing damage with yanfly's ExDot plugin. It works fine, except it only does damage after 1 turn and I'd like it to be instant. Any ideas?
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
781
Reaction score
492
First Language
English
Primarily Uses
RMMV
I'd say you've got a couple of options here.

The first is to use Yanfly's weapon Unleash plugin, and make the buff set your attack skill to a different skill, one that looks like a normal attack, and then also does poison damage (using action sequences). You'll probably have to throw at least one eval command in there to set the element of the added poison effect to something that isn't the same element as your physical attack, maybe swap the hit type from physical to magic, or certain hit, to stop the second effect from missing as well.

The other option is to use Skill Core, in combination with Buffs and States Core to use a <Custom Confirm Effect> or a <Post Damage Eval> to cause a forced action to occur when the buff is active on a battler. This is a lot more complicated, and you'll have to build in checks to stop the added skill from triggering off of itself, or it'll cause an infinite loop. There was a topic with something similar that I assisted in a few days ago which is relevant, but since it's a little different than your exact use-case, it'd need to be modified to work.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top