RPG Maker Forums

Yo! I have a sweet spell in my project which can only be used if caster is under specific state. There is the note:

<Custom Requirement>

if (a.isStateAffected(25)) {

value = true;

} else {

value = false;

}

</Custom Requirement>

Question is: Is it possible to make this skill require state from above (25) OR another specific state (for example: state 26)?
Like, you know "you can use this spell only if you have at least one of following states: 25, 26"

I hope that I explained it clearly enough. Thanks for your time!

Kisses
xoxo

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,037
Messages
1,018,464
Members
137,821
Latest member
Capterson
Top