Joined
Jan 14, 2021
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
I basically want to make a skill that would change at every new turn of my actor, I tried Yanfly buff states core, and Lunatic :

<Custom Turn Start Effect>
code
code
</Custom Turn Start Effect>

Seems to be what im looking for, but i have no knowledge of JavaScript... so i cant get it working, can anyone help me?
(its my first post so im not sure im even posting this at the right spot...)
 

STARFALL

Core of the Stars
Veteran
Joined
Jul 6, 2020
Messages
204
Reaction score
53
First Language
spanish
Primarily Uses
RMMV
We must inform us that you want me to do your skill, there are many ways to do it but it must be coupled to your game. You are looking to make an ability like metronome (Pokemon) this ability launches a random ability from the existing ones. Or an ability that increases damage each turn.
Or one that only goes between the skills you want or Example:
It will only throw fire, ice, or Electric at random. You already know that kind of information.
 
Joined
Jan 14, 2021
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
Im actually looking for the skill to add a State, and then at every new turn, give a new state by itself, OR force a skill at the start of the turn as well.
 

STARFALL

Core of the Stars
Veteran
Joined
Jul 6, 2020
Messages
204
Reaction score
53
First Language
spanish
Primarily Uses
RMMV
Something random? or in a specific order? to know what option to suggest.
 
Joined
Jan 14, 2021
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
Something specific, the skill when used should put "State 1" on the player, then in the player's next turn, removes "State 1" and put "State 2" and so on
 

STARFALL

Core of the Stars
Veteran
Joined
Jul 6, 2020
Messages
204
Reaction score
53
First Language
spanish
Primarily Uses
RMMV
Well, it would be something like this at the beginning of the battle we would make a variable X control the ID of the states to launch on the user. This variable must be set to the first ID of these states. Then at the end of the turn of the use of that ability that variable will change its value to the ID of the next state.
and at the end of the battle just in case we would tell him to return to the initial value. If this is okay for you, tell me and I will build your skill.
I may delay in seeing this the response to this message.
 
Joined
Jan 14, 2021
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
That sounds like it might work, I have a decent understanding of RPG maker MV but that would be nice if you could build it / show me how that might work
 

STARFALL

Core of the Stars
Veteran
Joined
Jul 6, 2020
Messages
204
Reaction score
53
First Language
spanish
Primarily Uses
RMMV
Ok, I build your skill, just wait a little.

your code:

You need use YEP_BuffsStatesCore,YEP_SkillCore and
Yep_AutoPassiveState
Put this notetag in the notes of the actor with this skill
<Passive State: 91>

Then put this on your state 91 to set the number of this variable to 0:
<Custom Battle Effect>
$gameVariabes.setValue(1,0);//set Variable 1 to 0
</Custom Battle Effect>

<Custom Remove Effect>
$gameVariabes.setValue(1,0);//set Variable 1 to 0
</Custom Remove Effect>

Then this on your state 92( a Shappeshifter State):
<Custom Apply>
if($gameVariables.value(1)=== 1){
target.addState(1)//change this number for your first state}
if($gameVariables.value(1)=== 2){
target.addState(2)//change this for your second state}
if($gameVariables.value(1)=== 3){
target.addState(3)//change this for your next state}
if($gameVariables.value(1)=== 4){
target.addState(4)//change this for your next state}
if($gameVariables.value(1)=== 5){
target.addState(5)//change this for your last state}
</Custom Apply>

And last your Skill put this on your skill notes
(I use before Custom Execution but i prefer use Action Sequences for this):

<Custom Execution>
$gameVariables.setValue(1,$gameVariables.value(1)+1);
if($gameVariables.value(1)>5){//If reach the last state of the skill (in this case 5)
$gameVariables.setValue(1,1);// set this to the firts again (in this case 1)
}
target.addState(92)//add the shappeshifter state
</Custom Execution>

Customize:
I used the variable one but you can change it to another
example:
$ gameVariables.value (1) // the 1 indicates that it is variable one, change it to the one you use every time you see this
$ gameVariables.setValue (1,1) // in this case only the first 1 changes every time it appears.
$ gameVariables.setValue (1, $code) // same in this case

WARNING:
the skill is untested but it must work

The skill is intended for a single actor. If you want them to be more, just tell me to tell you that you must change.
If the states are removed from the user by chance of the battle they will start from the first one again.
You should list these states one after the other.
If it is an incombeniente then you should give me the number of each of these states in your database.
if you want any change just tell me
 
Last edited:

Latest Threads

Latest Profile Posts

unknown.png

A sketch of a character for an upcoming chapter. I am pre-preparing the heck out of this one and future chapters, don't want to spend time figuring the story out again. :blush:
Today *Fix the game UI
RMMZ maxRows make me tired.
The game supports real-time language switching (really interesting).
8laFKAa.png


jBYDFzZ.png


lYbvPth.png

mY99lgU.png

Swag collecting in the new randomly generated area. Now the mini map also shows the randomly generated features... And even illustrates the whole "bubble" system" that I made to manage memory... Though that part's inadvertent. We'll just call that "the fog of war"... Yes, that's what we'll do. Nobody will be the wiser! :kaopride:
not me being not lazy for 5 seconds and drawing another char portrait (her name is hazel)
its_hazel.png
Been a while since the last time I made a song remix. Had a blast making this

Forum statistics

Threads
110,458
Messages
1,053,473
Members
143,551
Latest member
AmberliaDraw
Top