RachelTheSeeker

Suddenly, a summer breeze...
Veteran
Joined
Apr 13, 2012
Messages
522
Reaction score
1,003
First Language
English
Primarily Uses
RMVXA
Hey folks. I've begun to work on a project again, and had a query to make a certain type of buff or debuff in-game. Because I don't feel the title can convey what I mean, here's an example.

Say I'm trying to create an AD&D-esque system for a game. In this case, I'm trying to make buffs and debuffs that can increase or lower a target's "Armor Class", or AC -- an exact number that must be met or exceeded to hit something. I already have the hit formula figured out to simulate a dice roll with modifiers to hit something's AC, as per the game system.

The problem is, however, that I need to increase or decrease these bonuses by precise numbers, as opposed to percentages, in-game. For instance, I need a "Shield" spell that raises the user's AC by +4, which would correlate to raising the DEF score (which I'm using as AC for this hit % formula) from, say, 12 to 16 in this case. If I were to use a percentage-based system, it'd be a ludicrous boost if I gave a version of this to a high-AC hero (a 50% bonus would cause 18 AC to become 27, for example -- impossible to hit with normal attacks with my system with the proportions used in-game).

All-in-all, hoping for a way to give an exact numerical boost (i.e. +4) to a built-in stat as opposed to a percentage-based one (i.e +50%). I'd imagine there's a way to do it in a Skill's damage formula, and am hoping so instead of having to rely on a script? I'm not as well-versed in damage formulas using VX Ace or MV as I'd hoped, if so.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
14,318
Reaction score
15,464
First Language
English
Primarily Uses
RMVXA
Actually, this will take a script, as ACE and MV were never designed to do + or - those base stats in a state. However, if you can use a xparam or such to mimic AC, then you can just add to them. But that would take a script in the first place to even replace an xparam with AC anyways.
 

Latest Threads

Latest Profile Posts

DamageEvil_4.png added!
index.php

Welp, my graphics card died, so now I'm on my other PC but don't have another copy of my project. Time to start a side project in the meantime XD (shouldn't take *too* long to save the $$$ to get the GPU replaced)
I just realized that the 69th Common Event in my game is for the skill "Fall for Me," which inflicts Enthrall on all foes. :kaodes:
FallForMe.png
ScreenShot_10_1_2022_3_48_29.png
Wave's Elite guard comes to attack while you traverse Lab 5... They've got jetpacks too.

Forum statistics

Threads
125,714
Messages
1,172,980
Members
164,854
Latest member
pupininia
Top