RMMV Looking for a plugin that changes a spell into another spell

ZankokuNoYami

Veteran
Veteran
Joined
May 11, 2018
Messages
175
Reaction score
52
First Language
English
Primarily Uses
N/A
Basically I am trying to find out if there are any plugins that change a spell into a different spell when under a specific state or trigger.

For example, if you have a spell called Gust and you activate Agility, that spell is replaced with Spiral Gust.

Not looking for something that activates/deactivates based on a state/trigger. But something that completely changes which spell is there. Spells are equipped, so I cant just hide/show them either. I just want the game to immediately go "You are trying to use Gust, but because X state is active, you now use Spiral Gust".

Thanks!
 

SGHarlekin

Orc Jester
Veteran
Joined
Jun 29, 2020
Messages
829
Reaction score
887
First Language
German
Primarily Uses
RMMV
Hmm.. The easiest way I came up with was using action sequences perhaps. You can put if conditions in there so it should be possible to just go like if "agility switch" = use different animations, formula?

Won't replace the skill name in the skill window but should work...
 

xabileug

Veteran
Veteran
Joined
Jul 1, 2014
Messages
493
Reaction score
156
you just need a state plugin. when under that state forget gust, learn agility
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
7,086
Reaction score
4,890
First Language
English
Primarily Uses
RMMV
So you don't say what plugin you're using for equipping skills, and that's the tricky part. I'm going to presume Yanfly's Equip Battle Skills, but if it's something else you'll need to modify this code.

Using Yanfly's Buffs and States Core, put the following notetag into your Agility state:
Code:
<Custom Apply Effect>
if (user.isLearnedSkill(x))
{
    user.forgetSkill(x);
    user.learnSkill(y);
}
</Custom Apply Effect>

where x is the ID of Gust and y is the ID of Spiral Gust. Then put the same code into a Custom Remove Effect, but reverse the IDs.

If you're using Yanfly's Equip Battle Skills, it looks like it automatically equips a skill when you learn it if you have an open slot.

If it doesn't work that way, and this swaps the skills on the actor but doesn't equip it, let us know and you can do that manually in the notetags.
 

Latest Threads

Latest Profile Posts

Time to open a new practice session.
I learned a lot about screwdrivers today while trying and failing to remove the hard drive from an old computer I intend to turn in for disposal. I really hate that there are so many different sizes of screws and none of my screwdrivers are the right size. This would make for an evil mini-game in a modern/futuristic RPG.
Should I make a new Twitter, or is it just this bad now? I didn't pay attention to it for like 3 years. And now my new posts have extremely low views compared to my old tweets. Or did I really get that much momentum from releasing my game and then drop it? :hswt:
Started moving house today. Putting everything in boxes. Listening to Mac DeMarco's new album. Feelin' groovy.
It's finally in a packageable state. You can play start to end, half-a-minute ordeal. I just need to fix some minor bugs and it's golden.
I'm so excited for this.
1675461673946.png
(please don't mind the windows overlay XD)

Forum statistics

Threads
128,478
Messages
1,194,878
Members
169,031
Latest member
new_boston_Gamemaker
Top