Any Character Item Effect

ShinyRedUmbreon

Wannabe-Animator + Gamer
Veteran
Joined
Sep 3, 2017
Messages
61
Reaction score
12
First Language
English
Primarily Uses
RMVXA
Basically, I have a item that can randomly effect anyone, whether it's a enemy or a ally(or even you).

But the only options allow me to either let it effect only the enemies or only effect the allies.

What can I do?
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
Make an Effect that calls a Common Event.
Set a variable to a random value between 1 and 100. Name the variable AllyOrEnemy
Then make a Conditional Branch.
If AllyOrEnemy >50 Then
Do on enemies
ELSE
Do on Allies
End
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
You could refine that conditional in all sorts of ways e.g.
0-10 ~ one enemy
11-20 ~ two enemies
21-30 ~ three enemies
31-40 ~ four enemies
41-50 ~ all enemies

You could then differentiate the 51-100 block in the same way for allies, including having one mini-block for 'User'.

That way, the random effect could be as finely grained as you want.
 

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,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top