K.O. by slip damage doesn't work in playtest, but it does in the battle test?

CriticalCrazy

Villager
Member
Joined
Dec 20, 2015
Messages
16
Reaction score
0
First Language
English
Primarily Uses
I checked the "K.O. by slip damage" box and I used events in the battle test to see if I could die from poison/slip damage, and I could, but when I engaged the battle through an event in the overworld playtest It always stopped at 1. I turned off "remove at battle end" on the poison and walked around but it still stopped at 1. I can't imagine it's a common event that I made because they only turned on and off switches, and common events don't have any effect in battles. Is my game just corrupted or something? I've had my rpgmaker 2003 game get corrupted in an equally inconveniencing way.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
Are you referring that you can not get K.O when you're on the map? Or are you saying you can't get K.O in the battle scene using normal playtest?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
You haven't given your actors an immortal state, have you, or some other state that resists Death?
 

CriticalCrazy

Villager
Member
Joined
Dec 20, 2015
Messages
16
Reaction score
0
First Language
English
Primarily Uses
You haven't given your actors an immortal state, have you, or some other state that resists Death?
I raised the damage to -99% HRG and it killed him, I guess 1% wasn't enough to count as 1 damage when their health is less than 100. Well is there a way to make it guarantee one damage at least? Don't stress it though, I don't have much of a problem raising it's damage.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
Why are you ignoring my question?
 

CriticalCrazy

Villager
Member
Joined
Dec 20, 2015
Messages
16
Reaction score
0
First Language
English
Primarily Uses
Why are you ignoring my question?
I read down to Shaz's response and clicked back to rpgmaker because he suggested a fix, and I went searching a bit and found the reason for my problem. I completely forgot about your question after I responded and just closed the page.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,599
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
Code:
class Game_Battler
  def regenerate_hp
    damage = -(mhp * hrg)
    if damage > 0
      damage = damage.ceil if damage < 1
      perform_map_damage_effect if $game_party.in_battle
    end
    @result.hp_damage = [damage, max_slip_damage].min
    self.hp -= @result.hp_damage
  end
end
The script you need for at least it damages 1. Put it as a new script.
 

CriticalCrazy

Villager
Member
Joined
Dec 20, 2015
Messages
16
Reaction score
0
First Language
English
Primarily Uses
Code:
class Game_Battler
  def regenerate_hp
    damage = -(mhp * hrg)
    if damage > 0
      damage = damage.ceil if damage < 1
      perform_map_damage_effect if $game_party.in_battle
    end
    @result.hp_damage = [damage, max_slip_damage].min
    self.hp -= @result.hp_damage
  end
end
The script you need for at least it damages 1. Put it as a new script.
Ah! Thank you man, this is awesome.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,634
Reaction score
5,115
First Language
English
Primarily Uses
RMVXA
Just to clear up a misconception: HRG is based off of Max HP, not current HP, so unless their Max HP was less than 100 (maybe even 50), it should never round to 0.
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,017
Messages
1,018,356
Members
137,802
Latest member
rencarbali
Top