Metamagic

fireflyege

Witch please!
Veteran
Joined
Apr 9, 2017
Messages
339
Reaction score
57
First Language
Turkish
Primarily Uses
RMMV
I use @Yanfly plugins and I have a little question to you guys.

I am making a Red Mage for my game. He has some abilities called Metamagic, which will imbue his spells with various things. There is one thing I need help with though.

The spell is an instant cast spell. Your spells are level 1 spells, and this spell completely replaces the spells with level 2 spells. You cannot even see level 1 spells in your skill list since they are entirely replaced by level 2 spells and that is where the problem is. I also make a skill learn system, so the level 2 spells must be only unlocked when the spell 1 is needed.

For example, my skill tree looks like this:

Fire1 (Learned)
Ice1 (Learned)
Thunder1 (Learned)

Metamagic will upgrade it to:

Fire2
Ice2
Thunder2

So if the character did not learn fire1, Metamagic should not give you Fire2. Metamagic only lasts that turn so after the character casts its level 2 spell, its spells must revert back to normal.

I can use lunatic state a little but I can hardly understand anything with doing such a complex action. Can some expert actually help me with that?
 
Last edited:

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
737
Reaction score
316
First Language
English
Primarily Uses
N/A
Going by what you wrote, I can't place what exactly is your issue here.
 

Alchemancy

Terra Incognita
Veteran
Joined
Jul 25, 2016
Messages
47
Reaction score
6
First Language
English
Primarily Uses
RMMV
@fireflyege , this might be a roundabout way of doing it, but have you considered just making your Metamagic ability call a common event with conditional branches?

Conditional Branch...
-If [Actor] > [Skill] is learned: (Fire1)
-Change Skill... (Fire1) forget
-Change Skill... (Fire2) learn

You could also make Metamagic a passive state with a similar, tiered conditional branch:

Conditional Branch...
-If [Actor] > [State] is afflicted: (Metamagic)
Conditional Branch...
-Change Skill... (Fire1) forget
-Change Skill... (Fire2) learn

You may need another common event that reverts Fire2 back to Fire1 when the battle is over, etc. That might get tricky depending on how you want Metamagic to function. Hope this helps.
 
Last edited:

fireflyege

Witch please!
Veteran
Joined
Apr 9, 2017
Messages
339
Reaction score
57
First Language
Turkish
Primarily Uses
RMMV
@Alchemancy that seems like a great idea. Though made 2 states.

1. state hides Fire1 from the skillset.

Now I am working on the 2nd, which will teach Fire2 if the player knows Fire1 temporarily.

I guess I like to make it simple. ^^
 
Last edited:

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
427
Reaction score
169
First Language
english
Primarily Uses
RMMV
i did this (also with RDM) a different way. i made 2 passive state that RDM learns. and the damage formula checks for state use a stronger version. so my RDM with has the damage built in for tier 1-3 version based on what auto passive skill is learnd
damage formula
if (a.isStateAffected(54)) { a.level * 5 + a.mat * 5 - b.mdf * 2; } else if (a.isStateAffected(53)) { a.level * 3.5 + a.mat * 5 - b.mdf * 2; } else { a.level * 2 + a.mat * 5 - b.mdf * 2; }i

oh ya my RDM also gets stronger magic based on level but thats all 3 tiers in 1 damage formula
but u can just remove the level bits n change the mat multiplier
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Ok i got the model New and I will develop a little more, I think my SV is not beautiful yet.
"I, Giorno Giovanna, have a dream". In all seriousness, spatial BGM feature is now complete for my audio plugin.
Stream will be live shortly with some game development followed by the return of the Interactive Text Adventure after a short hiatus! Feel free to drop by!
Lately, I've taken to smashing random nouns/verbs together as insults. It's sort of amusing how many people don't really know how to respond to that. You bottle shaker!
Would be nice to pick color code that is not exclusively for message event

Forum statistics

Threads
103,243
Messages
998,318
Members
134,734
Latest member
Avaross
Top