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,860
Reaction score
2,196
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 Profile Posts

unintentionally made a track that sounds straight out of Yume Nikki
Revisiting one of my older projects in a long time to work some more on the mechanics. I've been working on- and off-again for about a year now on recreating the Force and Mystic systems from Wild ARMs. And I think I've finally made some good breakthroughs on that!

Still, it is not perfect and I may post my thoughts at a later time to see if there are any other suggestions or alternatives I've missed.
actor name string, why you gotta be case sensitive like that?
Doing RPG Maker News for 26th October 2021

My entire world, full of monsters and treasures, will likely be done by the end of the year. After that it's all NPCs and side quests... then done. I'm never making an open world game again xD

Forum statistics

Threads
116,106
Messages
1,095,839
Members
151,500
Latest member
slydred
Top