Improved Guard status

AutoBlaze

Villager
Member
Joined
Oct 8, 2018
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hi Friends, I am trying to make a improved Guard status: if the character got hit by energy in this guard turn, he/she gets a buff/status that improves his/her ATK for next turn.

Initially I thought it should be EASY but I looked at the system setting and even checked the passive status plugin from Yanfly, I still have no idea how to make it come true. I appreciate you help or hint if you have any idea. Thanks!
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA

I've moved this thread to Plug-In Support. Please be sure to post your threads in the correct forum next time. Thank you.



How do I questions go under the appropriate maker, but since I see no way to do this without a plug-in of some sort I'll move it to Plug-in Support too. Game Mechanics Design is for ideas and if it should be done, not how do I ?
 

AutoBlaze

Villager
Member
Joined
Oct 8, 2018
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
[move]Plug-In Support[/move]

How do I questions go under the appropriate maker, but since I see no way to do this without a plug-in of some sort I'll move it to Plug-in Support too. Game Mechanics Design is for ideas and if it should be done, not how do I ?
Okay. Thank you for the moving.
 

AutoBlaze

Villager
Member
Joined
Oct 8, 2018
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hi everyone, I made a rough version which can achieve my design somehow - but not perfectly:

Code:
<Custom Apply Effect>
var GetHit = 0;
</Custom Apply Effect>

<Custom Respond Effect>
// Check if the target took any HP damage.
if (target.result().hpDamage > 0) {
GetHit = 1;
user.startAnimation(88);}
</Custom Respond Effect>

<Custom Remove Effect>
// Check if the target got hit.
if (GetHit > 0) {
user.addState(71);}
GetHit = 0;
</Custom Remove Effect>
Two problems there: 1. The touch with energy is identified by damage value. So if energy's attack gets missed, it won't trigger the buff.
2. The buff can not be added in real-time. Only be effective when this turn ends.

Any hint to improve? Thanks.
 

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,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top