States trigger Common Events

NatuElChido

Rookie Dreamer
Veteran
Joined
Nov 13, 2017
Messages
34
Reaction score
4
First Language
Spanish
Primarily Uses
RMMV
Hello.

I am working in a game where the characters have passive skills, for this I have implemented the YanFly's plugin: Passive skills.
However, I have a couple of ideas that can not be implemented by the default state system:

The intention of this post is to request a plugin, where you can call Common Events when a state is applied or removed from a character, or at least ask for help to implement these ideas in some way.

*Rage Effect/Aura:

This one its a Passive State. Similar to the mechanics of Lucario in the Super Smash Bros. saga, where the more damage you have accumulated, the more powerful the character becomes with the state. I have managed to implement a Common Event that handles these changes through a conditional tree:
If character has 80% of his max HP then Attack*120
else If Character has 70%... ect...


*Beserk... Kinda:
This one is a little bit tricky, since this is not a passive ability, but it is necessary to call a common event when a state is removed. Let me explain: this is a skill that puts the user in Beserk mode, but we can actually call common events when a Skill is casted,
so when this Skill is casted, It calls a common event that dyes the screen in a not very intense red color and changes the fighter's graphics. This can be done in the default Skill manager. The problem comes when the Berserk state has expired, because at this moment I want the screen to return to its normal color and that the graphics of my character return to normal. This is not possible.

*RNG Base Revival:
This one its a Passive State. The idea of this is, that if my character is dead, they have a 20% chance to revive with 20% of his total health. For this, I use the RNG variable from 1 to 5, if this number is 3, my character will be revived. This, again is a Common Event. (I think this can be done by putting the Common Event call in the Troop event, but i want to evade this idea, because most of the battles have events on it.)

*RNG base Skill Cast:
This one is a Passive State: Similar to the last idea. There is not much I can add to this idea that has not been said above.


Those are the ideas that I need to develop, and I think the best solution to this will be to implement them through calls to common events through states. I hope to get some help.

Sorry for my broken English, and thanks in advance.
 
Last edited:

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
373
Reaction score
143
First Language
english
Primarily Uses
RMMV
rage - u can do this by making it several different states with using the <Passive Condition: HP Below x%> note tags
all of the others don't need common events (except for the changed sprite thing in berserk).
you just need to use buff/state core plugin's Lunatic Mode – Custom Action Effects section.
im not good with the "code" part of it all but if you ask the forums 1 skill at a time i know they'll be able to help you.
they've helpd me with an auto-life state that doesn't have the RNG chance but i know its doable.
 

NatuElChido

Rookie Dreamer
Veteran
Joined
Nov 13, 2017
Messages
34
Reaction score
4
First Language
Spanish
Primarily Uses
RMMV
Thanks for the help!
I have another trouble.
Yanfly's Plugin don't specifies that well how to use multiple passive States with the conditional Notetags.
I have use this two syntaxis so far:


<Passive State: 26>

<Passive Condition: HP Above 80%>

<Passive Condition: HP Below 90%>

</Passive State: 26>

<Passive State: 27>

<Passive Condition: HP Above 70%>

<Passive Condition: HP Below 80%>

</Passive State: 27> ....

AND THIS ONE:

<Passive State: 26>

<Passive Condition: HP Above 80%>

<Passive Condition: HP Below 90%>

<Passive State: 27>

<Passive Condition: HP Above 70%>

<Passive Condition: HP Below 80%>

<Passive State: 28>

Both of these have result in the actor having all the states stack together.

Do you know how to make it work? Im just asking to not do another unnecesary post.

Thanks in advance.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
373
Reaction score
143
First Language
english
Primarily Uses
RMMV
you can make lv based skills, lv5, 15, 30, whatever
Skill Note Tag
<Hide in Battle>
<Hide in Field>
<Passive State: x>

then make states
1st state <Passive Condition: HP Below 90%> gives 105% atk
2nd state <Passive Condition: HP Below 80%> gives 105% atk (10% total)
3rd below 70, gives 110% atk (20% total)
ect...
have the rage unlock stronger through level.

or all Lv1 just put in the Class Not Tag
<Passive State: x to y>
(example 26 to 28)
 
Last edited:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,606
Reaction score
13,193
First Language
English
Primarily Uses
RMMV
Do you want these common events to run during battle? Do you have a plugin that allows common events to run during battle? Normally, they don't.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,695
Reaction score
1,141
First Language
EN
Primarily Uses
RMMV
Plugin link for convenience: http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/

The <Passive State: x> tag is used on actors, classes, skills, weapons, armors, or enemies. It adds state #x as a passive state to the battler/user.

The <Passive Condition> tags are used on the passive states themselves, not on the actors or whatever. Each state has its own conditions for activation.

Also, common events can be called during battle, it's just that parallel/autorun events only work on the map.
 

NatuElChido

Rookie Dreamer
Veteran
Joined
Nov 13, 2017
Messages
34
Reaction score
4
First Language
Spanish
Primarily Uses
RMMV
Do you want these common events to run during battle? Do you have a plugin that allows common events to run during battle? Normally, they don't.
They can run in battle if I use the troop event. But i dont want to use them because most of my troop battles are already fill with events.
 

NatuElChido

Rookie Dreamer
Veteran
Joined
Nov 13, 2017
Messages
34
Reaction score
4
First Language
Spanish
Primarily Uses
RMMV
Plugin link for convenience: http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/

The <Passive State: x> tag is used on actors, classes, skills, weapons, armors, or enemies. It adds state #x as a passive state to the battler/user.

The <Passive Condition> tags are used on the passive states themselves, not on the actors or whatever. Each state has its own conditions for activation.

Also, common events can be called during battle, it's just that parallel/autorun events only work on the map.
I'm actually using that plugin, and i already use the tags to make the "Rage/Aura" effect.
But the RNG base states, still cannot be perform, except if i use events i the troop battle.
 

mrcopra

Veteran
Veteran
Joined
Jul 21, 2015
Messages
452
Reaction score
155
First Language
Not English
Primarily Uses
N/A
about RNG base states, how can they get the state and can it be removed in any case?
 

NatuElChido

Rookie Dreamer
Veteran
Joined
Nov 13, 2017
Messages
34
Reaction score
4
First Language
Spanish
Primarily Uses
RMMV
about RNG base states, how can they get the state and can it be removed in any case?
This are Passive States, using the Yanfly's Auto Passive States plugin, so they can't be remove and they are always in effect.
 

mrcopra

Veteran
Veteran
Joined
Jul 21, 2015
Messages
452
Reaction score
155
First Language
Not English
Primarily Uses
N/A
I made simple one, if you like it i can make it a plugin
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Don't mind me, just installing a fog machine. :LZSwink:


I can't stop looping this BGM while at work since I began to play PSO2. It just too good for mood booster.
How to post a picture there in the status feed?
So I was at the grocery store trying to reach for some small garbage bags on the top shelf way in the back. Instead of going all the way downstairs to find someone to help me I grabbed a broom and pulled it down. Putting the broom back I said, "Thank you for your service".
S.O.S.--10:16pm......two toddlers still awake....send help...

Forum statistics

Threads
100,422
Messages
975,683
Members
132,080
Latest member
Garycomehome
Top