Checking for hit/miss to add a state/variable...

zerobeat032

Cloaked Wanderer...
Veteran
Joined
Mar 28, 2014
Messages
298
Reaction score
335
First Language
English
Primarily Uses
RMMV
I've being having the following issue for a while and just haven't been able to figure it out. How do I detect if a skill hits or misses? I have a state that is added to the used and it seems to add whether the hit connects or not. I've had the same issue with adding variables via skills. They will add 1 regardless of if the skill actually lands. I'm using Yanfly action sequences and feel I'd basically need If... Else Statements. Like if it lands add state/variable and else if it misses. I just have no idea what the wording is for that. Any help would be greatly appreciated.
 

zerobeat032

Cloaked Wanderer...
Veteran
Joined
Mar 28, 2014
Messages
298
Reaction score
335
First Language
English
Primarily Uses
RMMV
This could help actually. I see in the help file about criticals and misses... but is there a way to add something for just normal hits as well?
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,305
Reaction score
1,575
First Language
English
Primarily Uses
RMMZ
Actually I thought I had made a separate hit function but it seems I did not - sorry about that.
 

zerobeat032

Cloaked Wanderer...
Veteran
Joined
Mar 28, 2014
Messages
298
Reaction score
335
First Language
English
Primarily Uses
RMMV
It's ok, I think I've figured out some stuff and have use for the plugin as well :)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
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

Forum statistics

Threads
105,857
Messages
1,017,015
Members
137,563
Latest member
MinyakaAeon
Top