Pokemon Evolving Problem

ado4

Warper
Member
Joined
Apr 28, 2016
Messages
1
Reaction score
0
First Language
Portugal
Primarily Uses
Hello, i'm having a bit of trouble with trying to implement a pokemon like evolve system.


My idea is to use Yanfly's AutoPassiveStates and create a state that connects to a common event that changes the actor image and stats when he gets that passive state.


But here lies my problem. I'm trying to give the actor the state only when he reaches a certain level so i have in the notetag of the state this:


<Custom Passive Condition>


if ($gameActors.actor(1).level <= 16) {


condition = true;


} else {


condition = false;


}


But i dont seam to make it to work :/


Probably its wrong and if someone could help me figure this out it would be awsome.


http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/


Sem Título-1.png
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
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.


Learning Javascript is for learning how to write your own plugins, but you want help with the notetags of an existing plugin.


Please give a link to the website of the plugin you have problems with


People can help you faster if they can read the plugin instructions themselves
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top