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] altering "slip damage" in RMXP

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
Be default, I believe that the "slip damage" option for status effects takes away 1/10 of your health per turn. I feel that this is far too potent, and I would love to find a way to alter it. However, I have this bad feeling that the only way to change it is by altering the script.

So, does anyone know how to change the "slip damage" options so that it would take away less HP per turn?
« Last Edit: June 10, 2007, 11:35:45 AM by Zeriab »
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

*
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
I think it requires scripting to alter slip damage  ;9

**
Rep:
Level 88
I assumed it would.   :( Does anyone know how to fix it?
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
This is indeed a scripting issue.

*movage*

***
Rep:
Level 90
Skilled Scripter, Shitty Mapper, Decent Writer.
This is the part you want to change.

Spoiler for Script piece you want:
Code: [Select]
class Game_Battler
  def slip_damage_effect
    self.damage = self.maxhp / 10 #This is what you want to change.
    if self.damage.abs > 0
      amp = [self.damage.abs * 15 / 100, 1].max
      self.damage += rand(amp+1) + rand(amp+1) - amp
    end
    self.hp -= self.damage
    return true
  end
end
self.damage is the damage you will take.
self.maxhp is the poisoned target's max hp.
Change the line with "#This is what you want to change." and you'll be able to setup the slip damage however you want...if you know how to use conditional branches and how to check states in scripting, you could even make various kinds of slip damage. Have fun and if something don't make sense, just ask.

**
Rep:
Level 88
Okay, that should help. Thanks!
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

***
Rep:
Level 90
Skilled Scripter, Shitty Mapper, Decent Writer.
Always a pleasure. Never a chore. If you aren't sure how to do something involving the slip damage, just gimme a hollar. I'm busy tearing out clumps of hair with a scripting issue but I'm never too busy to try and answer questions.