Argami

Veteran
Veteran
Joined
Jun 22, 2012
Messages
130
Reaction score
10
First Language
Spanish
Primarily Uses
Hello!
I wanted to know if it's possible to make a Confusion State that when affecting the hero, allows you to select a skill anyway, and then shows the message "The Hero is confused and self attacks" or something like this, then, obviusly, the hero makes a self attak.
Is there any way possible to do that?

Thanks in advance :)
 
Last edited:

Argami

Veteran
Veteran
Joined
Jun 22, 2012
Messages
130
Reaction score
10
First Language
Spanish
Primarily Uses
*little bump*
 

BehemothTheBeast

Villager
Member
Joined
Jan 31, 2018
Messages
25
Reaction score
11
First Language
English
Primarily Uses
RMMV
You could just make a state called confusion, but it would attack everyone including your own allies. If he is the only one then yes, it would attack himself like you want.

Just make a condition called confusion, you should be able to google the instructions for VXACE pretty easy. It's easier than me saving and re-typing a few pages.
 

Argami

Veteran
Veteran
Joined
Jun 22, 2012
Messages
130
Reaction score
10
First Language
Spanish
Primarily Uses
Hello @BehemothTheBeast !

Yes, I found that way to do it (We can call it the default system's way). The problem is that when the Hero attacks himself the turn "skips" automatically. What I want is the possibility to first select the skill you wanna use, and then a messages advertises you that you are under the effects of the Confusion State.

The reason I want to do it that way is that you can use a potion (for example) to avoid the effects of the state. For that reason I need a way to let the Player select a Skill / Item before the Hero attacks himself.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,756
Reaction score
2,849
First Language
English
Primarily Uses
RMMZ
I would probably do this with a combination of Buffs & States Core and Target Core and make a tag for the state for skill execution which generates a random number for the self-harm chance, and if it's lower than the percentage threshold redefines the actor's targets to only include themselves.
 

Canini

Veteran
Veteran
Joined
Mar 29, 2016
Messages
1,025
Reaction score
695
First Language
Swedish
Primarily Uses
RMVXA
Is the chance to self-attack when confused supposed to be totally random? I don´t remember how it works in Pokemon.
 

Argami

Veteran
Veteran
Joined
Jun 22, 2012
Messages
130
Reaction score
10
First Language
Spanish
Primarily Uses
@Trihan I downloaded Yanfly's Buff & States Manager and Target Manager and I have readed both, but I can't find the way to use it for my purpose. I think I don't understand how to combine the two scripts. Can you be more specific, please?

@Canini Yes! In Pokemon games it is random, but most of the times the attack self hurt the attack user.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,512
Reaction score
11,998
First Language
English
Primarily Uses
RMVXA
@Trihan I could be wrong, but aren't the two things you mention MV plugins, rather than Ace Scripts?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,756
Reaction score
2,849
First Language
English
Primarily Uses
RMMZ
Sugar babies, I didn't notice that this was for Ace. Ignore me.
 

Argami

Veteran
Veteran
Joined
Jun 22, 2012
Messages
130
Reaction score
10
First Language
Spanish
Primarily Uses
Oops! So we keep trying!
Is there anyone who knows how to do it the VX Ace way?

EDIT:
Maybe there's a way to check if an state is on at the beggining of the turn (after selecting the skill or the object), and then if the state is on, another state that causes self attack is applied to the player. It's just an idea...
 
Last edited:

Latest Threads

Latest Profile Posts


1,Randomly generate events with planted spawner events(great flexibility for customization and auto-match player's level)
2,Randomly enter roguelike dungeon
3,Player can exit dungeon or back to town or choose to challenge BOSS at the end of each dungeon
4,Dungeon maps can be randomly generated by a third-party tool
Got locked out of the house yesterday... best friends who had the spare ghosted me. Locksmith had to literally drill thru the lock bc they couldn't pick it. Whole process took 4 hours and far too much money. And they have to come back next week bc they don't have the right cylinder, cause it's an old interlocking lock. I'm livid lol
 I’m probably going to regret this, but I need kobolds for my project and I’ve decided to sprite them myself. This is Attempt #1, front view only.

KoboldFront.gif
It's a shame that Selection Control will not be ported to MZ. I found a neat way of using it to enable ways for tanks to protect squishies. lol
Lately I have been taking a break from game and resource making so I won't get burnt out. But I am also interested in the Game Jams this site periodically holds. It'd be great if I knew when the next one, if any, is planned.

Forum statistics

Threads
115,354
Messages
1,089,223
Members
150,031
Latest member
Slashqian
Top