D-D-D-Dan 0 Posted November 24, 2019 (edited) Hey there Im kinda stuck on this and cant seem to figure out how to set this up and im here in hopes to find someone that could give me a hand, hint or short tutorial. Im looking to make a state that gets applied when resting at a Inn (no problem sofar) that then lasts over multiple encounters. (this is the problem) By regular means states can be set to be removed after X amount of steps. It works but its not ideal. I would rather set it up to X amount of encounters to give it better consistency. Thanks in advance for input, help, hints or ideas! Greetz Dan Edited November 24, 2019 by D-D-D-Dan Share this post Link to post Share on other sites
Rikifive 3,411 Posted November 24, 2019 Hmm.. Perhaps you could use a variable and decrease it by 1 after each battle either via eventing or troop events. If the variable would be 0, you'd remove the states. Share this post Link to post Share on other sites
D-D-D-Dan 0 Posted November 24, 2019 Thats what im looking to setup (i guess) Im not that experienced (yet?) in eventing/troop events. I know thats what i need to do i just dont know how yet. Time to read up some more i guess. Share this post Link to post Share on other sites
That One NPC 321 Posted November 24, 2019 (edited) Oh no. MV doesn't automatically recover states after every battle, does it? That's archaic as hell. Edited November 24, 2019 by That One NPC Share this post Link to post Share on other sites
D-D-D-Dan 0 Posted November 25, 2019 (edited) Im using yanflys base troop events so i only need to set up the variable on one troop event and it will be carried over every encounter. (using this for a reverse mana system) I currently have the Inn grant the "well rested" state. Then, this is probably the part thats wrong... In the troop even i have this set: If: Well Rested > 5 Control Variables: #10 Well Rested -= 1 Else: If: Well Rested < 0 Change State: Entire Party, - Well Rested Sofar this will reduce the state by 1 after the first encounter and wont do anything after that point Okay it doenst look nice and there is probably a nicer or cleaner way but i got it to work. IF: Well Rested ≥ 5 Control Variables: #10 Well Rested -= 1 Else: IF: Well Rested ≥ 4 Control Variables: #10 Well Rested -= 1 Else: IF: Well Rested ≥ 3 Control Variables: #10 Well Rested -= 1 Else: IF: Well Rested ≥ 2 Control Variables: #10 Well Rested -= 1 Else: IF: Well Rested ≥ 1 Control Variables: #10 Well Rested -= 1 Else: IF: Well Rested ≥ 0 Change State: Entire Party, - Well Rested End Edited November 25, 2019 by D-D-D-Dan Share this post Link to post Share on other sites
roninator2 257 Posted November 26, 2019 You just needed to use If: Well Rested > 0 Control Variables: #10 Well Rested -= 1 Elsif: Well Rested <= 0 Change State: Entire Party, - Well Rested end Share this post Link to post Share on other sites
D-D-D-Dan 0 Posted November 26, 2019 15 hours ago, roninator2 said: You just needed to use If: Well Rested > 0 Control Variables: #10 Well Rested -= 1 Elsif: Well Rested <= 0 Change State: Entire Party, - Well Rested end Yeah my brain functions a bit retarded sometimes i had a mistake in the way i did it and re wrote it without keeping the one part that actually worked... Elsif: Well Rested <= 0 Change State: Entire Party, - Well Rested end I got it all figured out and tidy now thanks Share this post Link to post Share on other sites