making magic scale according to the user

jonthefox

Veteran
Veteran
Joined
Jan 3, 2015
Messages
1,436
Reaction score
596
Primarily Uses
I want the power of magic to be (noticeably) different based on how "good" the user is with magic.  Meaning, if you choose to invest stat points in magic, all your spells will become more powerful.

Obviously, with damage spells, this is easy to do because of damage formulas.  What is harder and I'm trying to think about are the non-damaging spells.   Some examples:

Barrier - gives a state that reduces damage for 3 turns.  

Poison Mist - chance to inflict poison on all enemies.

Quickness - Increases Agi for 5 turns.

Many games deal with this issue by simply having the player learn stronger spells, like Barrier2, Venomous Fog, etc., that are just stronger versions of the other spell.  I don't want to do this.  Of course, the player will get access to more potent spells as the game goes on, but I want a way to actually increase the power of every spell through a statistic or variable that represents "magic power."   

Looking for some ideas on how to do this...Thank you in advance.  
 

Milennin

"With a bang and a boom!"
Veteran
Joined
Feb 7, 2013
Messages
2,520
Reaction score
1,655
First Language
English
Primarily Uses
RMMV
For the Barrier spell, make a common event that checks the magic stat of the character, then apply different rates of damage reduction, depending on his magic stat.

Or you could always make multiple versions of the same spell, but each new one growing in effectiveness. Then at certain levels, replace the old skill with the new version.
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
I want the power of magic to be (noticeably) different based on how "good" the user is with magic.  Meaning, if you choose to invest stat points in magic, all your spells will become more powerful.

Obviously, with damage spells, this is easy to do because of damage formulas.  What is harder and I'm trying to think about are the non-damaging spells.   Some examples:

Barrier - gives a state that reduces damage for 3 turns.  

Poison Mist - chance to inflict poison on all enemies.

Quickness - Increases Agi for 5 turns.

Many games deal with this issue by simply having the player learn stronger spells, like Barrier2, Venomous Fog, etc., that are just stronger versions of the other spell.  I don't want to do this.  Of course, the player will get access to more potent spells as the game goes on, but I want a way to actually increase the power of every spell through a statistic or variable that represents "magic power."   

Looking for some ideas on how to do this...Thank you in advance.  
Well Shaz has a dynamic feature script, I'm pretty sure you can use that in conjunction with say, a skills condition script(Yanfly made one, so perhaps check that out.

Between these two types of scripts, you should beable to control such.

for non-state based spells, you could just use a common event, and condition branches to handle such.
 
Last edited by a moderator:

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,635
Reaction score
5,116
First Language
English
Primarily Uses
RMVXA
I have a Utility Scaling script that does exactly this.  Whenever you apply a state using a skill, you can have the "power" of that effect (anything with a Numerical Feature such as health degen, percentage stat buffs, or extra attack times) scale based on a variable or formula or the user's or receiver's stat (in your case, probably the user's MAG).

One warning: while it's a stable script, it does have a lot of incompatibilities with other scripts that affect States.  If you're using a lot of other scripts, it might be better to "fake it" with Common Events that check the user's MAG instead.

Outside of that, I have occasionally done other "scale with Magic" effects.  For example, a spell that creates temporary snowball items with run a common event that copies the user's MAG into a variable, adds a small random number, and then based on the result will give you anywhere from 1 to 6 snowballs.  A Purifying spell will check the user's MAG and cure only some statuses if it's low, more statuses if it's high, and all statuses if it's very high.  Or a special state which has its functionality entirely coded will add the user's MAG to their ATK whenever they use a Normal Attack.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,469
Members
137,821
Latest member
Capterson
Top