Skip to content

Incorrect monster HP after transformation #3481

@zankplus

Description

@zankplus

In RPG Maker 2000, if a enemy transforms in battle from one monster type to another, its HP is capped to the max HP of the new form. For instance, if a Dragon with 9999/9999 HP transforms into a Slime with a max HP of 8, its current HP will be set to 8.

In version 0.8.1.1 of EasyRPG Player for Windows, I noticed that transforming enemies in my game had more than the expected amount of HP after transformation. The enemy in question, after transforming from a (generic placeholder enemy) with 9999 HP on to a Slime with 8 HP, dealing 8 damage was not sufficient to kill it. The exact amount of HP seemed to be unpredictable, although not nearly as high as 9999. This would happen regardless of what kind of monster it transformed into (as long as it had less than 9999 HP).

A little investigation suggests that upon transforming, the monster would retain its current HP of 9999, even though it was above the new max HP of 8. Then when it received damage, I believe what would happen is that that damage would be applied to it current HP of 9999, and then its HP would be capped to 8. It could then be killed in a reasonable number of hits.

I believe this should be amended by capping the monster's current HP to the new maximum immediately upon transformation. This should bring the behavior in line with my expectations from the native version of RM2K.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions