Yanfly Passive State only in battle?

TheMasterFighter

Villager
Member
Joined
May 16, 2012
Messages
29
Reaction score
1
First Language
English
Primarily Uses
Regarding the Auto Passive States plugin from Yanfly; how can I make states apply only in battle (like a HP/MP regen that doesn't restore HP/MP by walking around the map).


I'm sure it's a simple javascript line or two, but it's not my forte...


Thanks in advance!
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,933
Reaction score
1,326
First Language
English
Primarily Uses
RMMV
I use this:






You can use the Initial Battle State notetag to only appear when a battle starts. 
 

doranikofu

Veteran
Veteran
Joined
Oct 4, 2015
Messages
113
Reaction score
31
First Language
Chinese
Primarily Uses
make two states 1 and 2.


1 is passive but does not have any effect.


like Uzuki is saying, use <Custom Battle Effect> tag in the passive state to add state 2.


State2 has all the effect you want, and it only adds to the actor at the beginning of battle.
 

TheMasterFighter

Villager
Member
Joined
May 16, 2012
Messages
29
Reaction score
1
First Language
English
Primarily Uses
Thanks Uzuki & doranikofu! :D


I wanted to have purely Yanfly-created plugins, but this one seems pretty good too!  And it covers other things I could want too!
 

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

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top