RMMV How to make battles "attack" command work with Yanfly Instant cast & Skill Cooldowns

boulops1

Veteran
Veteran
Joined
Dec 6, 2020
Messages
64
Reaction score
1
First Language
english
Primarily Uses
RMMV
Heya!

im trying to get it so that all my characters basic attack functions in battle are instant cast and depending on what weapon they have equipped it will put the attack function on a cooldown for however many turns.

when i try it i am able to make the actors "attack" instant cast but after they perform it, it says I can still use attack despite putting a CD on it and when i select it the game crashes.

on the Great Axe weapon I have the following.


<Instant Skill: 1>
<Skill 1 Cooldown: 3>

i thought it would of greyed out the "attack" command or put a CD icon over the word but it still allows me to select it.


im currently working with Yanfly's instant cast and skill cooldown plugins.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,164
Reaction score
14,654
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,041
Reaction score
2,297
First Language
English
Primarily Uses
RMMV
Heya!

im trying to get it so that all my characters basic attack functions in battle are instant cast and depending on what weapon they have equipped it will put the attack function on a cooldown for however many turns.

when i try it i am able to make the actors "attack" instant cast but after they perform it, it says I can still use attack despite putting a CD on it and when i select it the game crashes.

on the Great Axe weapon I have the following.


<Instant Skill: 1>
<Skill 1 Cooldown: 3>

i thought it would of greyed out the "attack" command or put a CD icon over the word but it still allows me to select it.


im currently working with Yanfly's instant cast and skill cooldown plugins.
The plugin doesn't work like that with weapons: they can lower or extend a skill's existing cooldown, but they can't add a cooldown themselves.

What you want to do instead is give the Attack skill a "default" cooldown that'll align with your standard weapon speed, then have non-standard-speed weaponry add to or subtract from the cooldown by however many turns you wish. So for example if your standard cooldown was 2 turns, and the Great Axe is meant to be slower, you'd do <Skill 1 Cooldown: +1> to make it 3.
 

boulops1

Veteran
Veteran
Joined
Dec 6, 2020
Messages
64
Reaction score
1
First Language
english
Primarily Uses
RMMV
@Trihan

oh okay that's good to know!

do you know how i can implement this while still having the attack function in the battle menu as an instant cast.. i want people to be able to use the attack when its ready but also use a skill in the same turn.

i tried adding this to the attack skill and slower weapon respectively and it didn't work. the attack is still an instant cast but doesn't put it it on cooldown or stop me from using attack again:

1615247081187.png attack skill - even if i put the cooldown to 1 it doesn't do anything.

1615247184526.png great axe (1 swing per 3 turns)



thanks
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,041
Reaction score
2,297
First Language
English
Primarily Uses
RMMV
It's <Cooldown: x> for the skill itself. Also, if you don't want Attack to have a default cooldown at all, you don't need a notetag on it and just <Skill 1 Cooldown: +x> will work on the weapon.

You should make sure that you've also removed "1" from the "Cooldown Bypass" parameter in the plugin parameters, as by default Attack is prevented from going on cooldown at all regardless of notetags.
 

boulops1

Veteran
Veteran
Joined
Dec 6, 2020
Messages
64
Reaction score
1
First Language
english
Primarily Uses
RMMV
@Trihan

the cooldown bypass!! your so smart Trihan!

that made it so the attack will go grey and on cooldown until the weapon attack cooldown is over. w00t WooT
 

Latest Threads

Latest Profile Posts

Ami
This is the End of the Endurance,everyone are celebrating the end of their Endurance

I just wondering what Menu for Tomorrow
Two years into developing my game and I just scrolled through the BaseResource Pack that comes with MV for the first time xD I never knew how much awesome stuff was in there. Also so many names I know from the forum, like Shaz & Archeia ... and that's not the only resource pack I found in the depth of my hard drive :0 Right now I'm both confused and hyped about all the stuff I own.
Decided to start watching Naruto; and not only is it a genuinely good series, but it's also very inspiring.
I just wish Funimation got its act together and fix the missing dubbed episodes.
Decided to work on my game a little bit, made this Motel looking building. I am still on temporary hiatus though as getting Therapy is more difficult than I thought.

Forum statistics

Threads
111,288
Messages
1,059,964
Members
144,601
Latest member
Drackro023
Top