Parlu10

Veteran
Veteran
Joined
Jul 30, 2018
Messages
49
Reaction score
8
First Language
Italian
Primarily Uses
RMMV
Hi everyone,
I was wondering if it's possible to make a skill that can bypass buffs and debuffs applied on the target.
Thanks in advance for your help
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
2,824
Reaction score
2,162
First Language
EN
Primarily Uses
RMMZ
There are several relevant functions:
  • paramBase(paramId)
    This gets the base value, ignoring all additive and multiplicative adjustments.
  • paramPlus(paramId)
    This gets the additive adjustment, from permanent bonuses and equipment.
  • paramRate(paramId)
    This gets the multiplicative rate from active traits.
  • paramBuffRate(paramId)
    This gets the multiplicative rate due to any active (de)buffs.
paramId is an integer indicating which parameter to check. 0 = MHP, 1 = MMP, 2 = ATK, etc. Typically these functions' results are all combined to yield the final value, but you could construct your own formula to omit one or more stages. :kaopride:

Couple of skill formula examples:
  1. a.atk * 4 - b.paramBase(3) * 2
    Like the default Attack formula, except it only considers the base value of the target's DEF.
  2. a.mat - (b.paramBase(5) + b.paramPlus(5)) * b.paramRate(5)
    Subtracts the target's "MDF without buffs" from the defender's MAT.
 

Parlu10

Veteran
Veteran
Joined
Jul 30, 2018
Messages
49
Reaction score
8
First Language
Italian
Primarily Uses
RMMV
Thanks for the reply, you couldn't have been more precise!
 

Latest Threads

Latest Posts

Latest Profile Posts

I have a really hard time keeping all these goodies secret til December... but I swear, it is worth the wait!
Working on a Premium version of my minimap plugin that will have advanced functionalities such as drawing a Terrain map based completely on the users tilesets, whatever they may be, and drawing minimap radar icons automatically based on texture of the event the note is applied to.
Psttt come look, this is the secret technique to tenderizing steaks, it makes it extra beefy. :rwink:

pixeldailyaxemeatsheild.gif
#screenshotsaturday update, featuring vaporwave angels lol
Lil' sketch I drew of Nico di Angelo :)
The spooky boi himself ♥
Nico sketch by Artemis Yates.jpg

Forum statistics

Threads
115,853
Messages
1,093,467
Members
151,062
Latest member
calignositystudios
Top