RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] Party won't die when poisoned

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 81
Monster Hunter
As the title says , my party won't die when poisoned even when there HP = 0 they won't die. (My poison can make HP 0 , not 1 as the basic configuration)
tried in battle = they die
tried in battle + poison = they die
On map (event HP -9999)= They die
On map + poison + event HP -9999 = They die
On map + poison = Won't die
how do i fix it? i guesse it needs to be scripted
« Last Edit: July 03, 2010, 02:13:36 PM by Mitsarugi »

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, what script are you using to permit slip damage to bring HP lower than 1? You should tell the author of it that he/she overlooked this.

In any case, the following should probably work no matter what script you are trying to use, so long as that script does bring actors down to 0. Paste it above Main but below whatever slip damage scipt you're using:

Code: [Select]
#==============================================================================
# ** Game_Party
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#  Summary of Changes:
#    aliased method - on_player_walk
#==============================================================================

class Game_Party
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # * On Party Walk
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  alias malg_mits_slipkill_onwalk_7uj1 on_player_walk
  def on_player_walk (*args)
    malg_mits_slipkill_onwalk_7uj1 (*args) # Run Original Method
    $game_temp.next_scene = "gameover" if all_dead?
  end
end

If it doesn't, then you need to link me to the script that isn't working.

***
Rep:
Level 81
Monster Hunter
Well, what script are you using to permit slip damage to bring HP lower than 1? You should tell the author of it that he/she overlooked this.

In any case, the following should probably work no matter what script you are trying to use, so long as that script does bring actors down to 0. Paste it above Main but below whatever slip damage scipt you're using:

Code: [Select]
#==============================================================================
# ** Game_Party
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#  Summary of Changes:
#    aliased method - on_player_walk
#==============================================================================

class Game_Party
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # * On Party Walk
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  alias malg_mits_slipkill_onwalk_7uj1 on_player_walk
  def on_player_walk (*args)
    malg_mits_slipkill_onwalk_7uj1 (*args) # Run Original Method
    $game_temp.next_scene = "gameover" if all_dead?
  end
end

If it doesn't, then you need to link me to the script that isn't working.


okay thank you very much Modern Algebra
i'll try it out , if it doesn't work mind if i PM the script i use?
EDIT: used KGC_SlipDamageExtension

YEAH! allright it works Modern Algebra your the best thanks again ^^
« Last Edit: June 30, 2010, 02:31:16 PM by Mitsarugi »