PixelBoy360

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

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,789
Reaction score
15,916
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,853
Reaction score
12,388
First Language
English
Primarily Uses
RMMZ
'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
52
Reaction score
7
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
52
Reaction score
7
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,853
Reaction score
12,388
First Language
English
Primarily Uses
RMMZ
[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.
 

Kirby44

Veteran
Veteran
Joined
Mar 6, 2017
Messages
145
Reaction score
21
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 !
 

Latest Threads

Latest Profile Posts

For those with up to 9 elements of magic; how do you structure your database. By element? Or by what is offensive vs supportive spells?
would anyone here be interested in rough concept art for the main protagonist of my game that might get changed later? :kaoswt2:
I guess I have no idea how to properly upload a custom font lmao. The menu fonts are too damn small.

Font_Size.PNG
Dev be like: "I'll make the character goes amnesia so I could explain the world and the lore better and immersive to the players"

Forum statistics

Threads
124,436
Messages
1,163,640
Members
163,251
Latest member
Rpgmaker_mf
Top