Need Help With an Electric Barrier

PixelBoy360

Villager
Member
Joined
Apr 11, 2015
Messages
21
Reaction score
1
First Language
English
Hey guys, I'm trying to make a mechanic where if you attack an enemy after it uses the spell "Thunder Dome" you automatically get stunned for x amount of turns. Unfortunately I don't know where to start with making such a spell.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,788
Reaction score
12,217
First Language
English
Primarily Uses
RMMV
What version of RPG Maker are you using?

You need to have the spell apply a state that stuns the enemy, and you can say how many turns.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
21,785
Reaction score
11,003
First Language
English
Primarily Uses
RMVXA
'Game Mechanics Design' is for looking at aspects of gameplay at a more conceptual level. "How do I...?" (Implementation) questions belong in the Support forum for the engine you are using. Please post which engine that is so that this thread can be moved.
 

PixelBoy360

Villager
Member
Joined
Apr 11, 2015
Messages
21
Reaction score
1
First Language
English
'Game Mechanics Design' is for looking at aspects of gameplay at a more conceptual level. "How do I...?" (Implementation) questions belong in the Support forum for the engine you are using. Please post which engine that is so that this thread can be moved.
RPG MAKER MV
 

PixelBoy360

Villager
Member
Joined
Apr 11, 2015
Messages
21
Reaction score
1
First Language
English
What version of RPG Maker are you using?

You need to have the spell apply a state that stuns the enemy, and you can say how many turns.
But I want the attacker get stunned after the spell is applied to the user, so the attacker only gets stunned if they attack the user.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
21,785
Reaction score
11,003
First Language
English
Primarily Uses
RMVXA
[MOVE]RPG Maker MV[/MOVE]
@PixelBoy360 It would be helpful if you put that info on your Profile Page so that it showed up under your avatar, then people will know in future.
Also, if you want to quote more than one person, use the Multiquote button, otherwise the forum software automatically creates a new post for each quote.
Thanks.
 

belatucadrus

Veteran
Veteran
Joined
Mar 6, 2017
Messages
78
Reaction score
13
First Language
french
Primarily Uses
RMMV
But I want the attacker get stunned after the spell is applied to the user, so the attacker only gets stunned if they attack the user.
You can do it with Yanfly's Weapon Animation plugin

Here's how I would do it :

The enemy casts "Thunder dome" and gains the state "Electric barrier". If I understand, any physical damage dealt to the enemy causes the attacker to be stunned.

In the state effect :

Sp-Parameter Physical Damage Rate 0% (only if you want the enemy to take no damage in addition of counterattacking and stunning the attacker)
Ex-Parameter Counterattack Rate 100% (The enemy will ALWAYS stun anyone trying to attack it)
Attack State Rate : Stunned 100%

With YEP Weapon Animation you can put that in the notetags :


<Weapon Animation: x>

It will temporary replace the basic attack animation (which plays while counterattacking) by one of your choice, like a thunder animation.

I tested it, and it works !
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

What do you do when you're your family's resident computer 'expert'...but you are anything but a computer expert?
I wanna be the very best, like no one ever was. To make a game is my real test. To play it is my cause.
6.5 million beers are in need for rescue. I don't drink beer too much, but my Czech heart is sinking. It's just a pity that they priced it so high. At this price nobody is interested.
I couldn't have Taco Bell, so I grabbed a giant piece of strawberry cheesecake instead.
Guys one of our Animal Crossing Villagers (Sherb) just told us that he hoped that the villager who was having her birthday had as memorable of a birthday as his sixth birthday. Which was "the one where the clown went into our house and never came back" and that "his mother says she still sometimes hears the honking in the walls".

Forum statistics

Threads
95,578
Messages
930,214
Members
125,862
Latest member
Jean_Batailleur
Top