Need Help With an Electric Barrier

PixelBoy360

Veteran
Veteran
Joined
Apr 11, 2015
Messages
38
Reaction score
2
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
40,098
Reaction score
13,704
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
22,299
Reaction score
11,712
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

Veteran
Veteran
Joined
Apr 11, 2015
Messages
38
Reaction score
2
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

Veteran
Veteran
Joined
Apr 11, 2015
Messages
38
Reaction score
2
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
22,299
Reaction score
11,712
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
112
Reaction score
15
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

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top