public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

[RMVXAce] Having some issues with a damage formula.

BMM Archive · July 15, 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: [RMVXAce] Having some issues with a damage formula.
  • Original author: AShriekingCloudOfBats
  • Original date: August 2, 2023
  • Source thread: https://forums.rpgmakerweb.com/threads/rmvxace-having-some-issues-with-a-damage-formula.159973/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support

Summary

So, I'm trying to make an attack that does damage and heals the user (for less then the damage is output at, so drain HP as a damage type won't work, to my knowledge). But despite all my fiddling I can't seem to get it to actually do damage, it just misses (or does no damage if set on certain hit). I've ensured the enemy I'm testing on doesn't have high def (it has 1, the player has about 20 atk IIRC) The formula is as follows... change_hp(a.atk - b.def*2);...

Archived First Post

So, I'm trying to make an attack that does damage and heals the user (for less then the damage is output at, so drain HP as a damage type won't work, to my knowledge). But despite all my fiddling I can't seem to get it to actually do damage, it just misses (or does no damage if set on certain hit). I've ensured the enemy I'm testing on doesn't have high def (it has 1, the player has about 20 atk IIRC) The formula is as follows...

change_hp(a.atk - b.def*2); a.atk - b.def

As far as I'm aware, everything is in order. Damage dealing part of the formula is on the end of it, change_hp accepts formulas to my knowledge (and changing it to a flat number doesn't help, either), damage type is physical, it's set on HP damage, all that seems to be in order. Completely lost on why this isn't working. I've included a screenshot of the skill entry in RPG maker vx ace, to ensure I'm not missing something obvious, because it feels an awful lot like I am at this point. Thanks in advance! Protected download

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

Referenced Images / Attachments

JabImage.png
JabImage.png
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#rpg-maker-archive#vxace-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar