How to create an attack with a % chance to instantly KO an enemy? And how to defend against it?

Status
Not open for further replies.

ddblue

新人
Veteran
Joined
Apr 9, 2013
Messages
132
Reaction score
17
First Language
English
Primarily Uses
Hey guys,

I was looking to create a skill that is basically a normal attack with a small % chance to instantly KO certain enemies.

I achieved this by creating a skill that includes the following:

Add States
Normal Attack : 100%
Knockout : 50%

This created an attack that had a 50% chance to instantly KO. Great!

The problem was when I tried to create an enemy immune to this effect.
Obviously if I set the enemy's "State Resist" to Knockout, the enemy does become immune, but also becomes unable to die... and that's not what I'm looking for.

How can I solve this problem?
Is there something I can tweak on those enemies I'd like to make immune to this?

Suggestions and advice welcome.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
554
Reaction score
229
First Language
english
Primarily Uses
RMMV
use state rate not state resist. that way enemy immune to instant KO skills. but not immune to 0 HP

also 50% seems kinda high doesnt it?
 

ddblue

新人
Veteran
Joined
Apr 9, 2013
Messages
132
Reaction score
17
First Language
English
Primarily Uses
Thanks for the quick reply.

So at the risk of sounding dumb, I'm not sure how to use state rate.
I read a similar response in an older thread, and I couldn't make it work.

So I set the Knockout from 50% to 100% and confirmed it works.
Then I added a State Rate : Knockout 100% to the enemy.
Unfortunately, this still results in the enemy being instantly killed.
Just to be sure, I lowered the skill's Knockout to 99% and tried again, with the enemy at State Rate : Knockout 100%, but it still gets insta-KO'd.

Have I applied your instructions incorrectly?

And yeah, 50% is way too high I think :D
The skill will be kind of high level, but I'm thinking 42% felt just about right.
It's only meant to work on low level monsters.
 

Milennin

"With a bang and a boom!"
Veteran
Joined
Feb 7, 2013
Messages
2,511
Reaction score
1,642
First Language
English
Primarily Uses
RMMV
Have the attack inflict a special state. Then, link the skill to a common event that checks if the enemy is inflicted with the state. If yes, roll a random variable (set it to whichever range you want it to have), and if rolled correctly, inflict knock-out.
For enemies it should not work on, simply make them immune to the special state inflicted by the attack.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
554
Reaction score
229
First Language
english
Primarily Uses
RMMV
state rate 0% means has 0% chance to be effected by the state(other then 0HP force apply)
state rate 30% means 70% resistant.
and anything over 100% means extra vulnerable.
 

ddblue

新人
Veteran
Joined
Apr 9, 2013
Messages
132
Reaction score
17
First Language
English
Primarily Uses
Have the attack inflict a special state. Then, link the skill to a common event that checks if the enemy is inflicted with the state. If yes, roll a random variable (set it to whichever range you want it to have), and if rolled correctly, inflict knock-out.
For enemies it should not work on, simply make them immune to the special state inflicted by the attack.
Thanks for the response!
I feel like this solution will take me a little while to chew on - and I'll take a closer look at it if simply tweaking the state resist numbers doesn't work out. Thank you again for the detailed explanation though !
 

ddblue

新人
Veteran
Joined
Apr 9, 2013
Messages
132
Reaction score
17
First Language
English
Primarily Uses
state rate 0% means has 0% chance to be effected by the state(other then 0HP force apply)
state rate 30% means 70% resistant.
and anything over 100% means extra vulnerable.
I set the enemy Knockout state rate to 0%
I set Add State Knockout to 100% on the skill

...but unfortunately this still results in the enemy getting instantly KO'd.
 

ddblue

新人
Veteran
Joined
Apr 9, 2013
Messages
132
Reaction score
17
First Language
English
Primarily Uses
Problem solved!

Solved it by:
setting knockout state rate to 0% on the enemy
setting Add State knockout to 100% on the skill
and changing "Hit Type" to physical (it was certain hit, which was why it wasn't working properly before)

So now that I've confirmed it works, I can set the Add State Knockout to 42% like I wanted to originally :)

Thank you all very much for your help!
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
554
Reaction score
229
First Language
english
Primarily Uses
RMMV
generally a good idea to only use certain hit when the skill is a party to party thing like buffs/heals
 

ddblue

新人
Veteran
Joined
Apr 9, 2013
Messages
132
Reaction score
17
First Language
English
Primarily Uses
Thanks for the info!
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
[dpost]ddblue[/dpost]

Actually, it's a triple post. If you want to add something, use the Edit button on your earlier post and add in the additional info/comment. If you want to quote more than one person, use the Multiquote button.

If the query is fully resolved, please Report your opening post and ask for the thread to be closed. Mods may not see an individual post, but will see a Report.
Thanks.
 

ddblue

新人
Veteran
Joined
Apr 9, 2013
Messages
132
Reaction score
17
First Language
English
Primarily Uses
Apologies, will do.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top