Thankyou so much!! so when i add the
" when /RANDOM STATUS/i
status = [2, 3, 4, 10, 12]
# put the ids of status you want to inflict here
# if you put an id in more than once, it'll be more likely to occur
target.add_state(status.sample)"
I am a little confused as to how to write the possible status'es
Does the status name (for example death)
go like target.add_state(status.death)"
and do i write them all like that or do i write them as like
1= target.add_state(status.death)
2= target.add_state(status.burn) ?
i just want to make sure to write this correctly.
Hey!
1) Try using Yanfly's Lunatic Objects.
Last Updated: 2012.12.27 Download Link Github Link FOR ADVANCED USERS Lunatic mode effects have always been a core part of Yanfly Engine scripts. They exist to provide more effects for those who wa…
yanflychannel.wordpress.com
Plug in that and any of the add-ons you wish, then we'll make a new
when branch within one of the add-ons. It might look a little messy, but it works just fine for little things like this.
🙂
View attachment 129872
Add in this snippet:
Code:
when /RANDOM STATUS/i
status = [2, 3, 4, 10, 12]
# put the ids of status you want to inflict here
# if you put an id in more than once, it'll be more likely to occur
target.add_state(status.sample)
and then in the item or skill you want to do this, you just need to call
<during effect: random status> in your notebox.
View attachment 129873
If you change the name of "random status" in the script, you'll need to change it in the notebox too.
2) While there are ways to script this, you could also event it. You'll have to run common events (maybe you have one that processes whenever the player interacts with a closet or mirror?) that check to see what your hero is wearing, then make the adjustments.
View attachment 129874
View attachment 129875
View attachment 129876
I hope these are some helpful hints on your eventing journey. Have fun, and I hope the less helpful members of our community don't ruin your experience
🙂