public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

XPKDamage XP States Edition

BMM Archive · July 16, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: KDamage XP States Edition
  • Original author: kyonides
  • Original date: June 29, 2023
  • Source thread: https://forums.rpgmakerweb.com/threads/kdamage-xp-states-edition.158801/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS Scripts (RMXP)

Summary

KDamage XP States Edition by Kyonides​ Introduction A forumer once asked for a script (or anything else) that could allow the heroes to lose a state ONLY if it had been predefined by game developer to do that. The default option of relying on the Damage Chance did not satisfy the game's particular needs.

Archived First Post

KDamage XP States Edition

by Kyonides

Introduction


A forumer once asked for a script (or anything else) that could allow the heroes to lose a state ONLY if it had been predefined by game developer to do that. The default option of relying on the Damage Chance did not satisfy the game's particular needs.

To make sure that just a FEW states will be removed by physical damage, just add as many State ID's to the following Constant:

Ruby:
STATES_HIT_REMOVE = [2,3,4,7,9]

To keep a State even if it should be removed by walking until a certain level has been reached, go add it to this Constant. Level is Customizable!
Basic Format: { StateID1 => Level, etc. }

Ruby:
STATES_KEEP_WALKING = { 5 => 3, 14 => 9 }

Other States will be treated as usual.

Download Script

Terms & Conditions


Free for use in any game.
Due credit is mandatory.
That's it!

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Due credit is mandatory. That's it!

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rgss#script-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar