[FROG] Magic - Supercharge Your Class Mechanics!

@malonkey1
I'd love for this plugin to cover everything one can do in D&D but it's kind of a tall order. D&D is extremely robust and programming in everything is very complicated. I'll see what I can do, though. Glad you found found a way to work around it with SRD's plugin. That's pretty slick.

@Roguedeus
When I developed that flavor, I was thinking more statically. More in the lines of magical or supernatural abilities which you get X times per day/encounter/rounds. It would be very simple to eval() the value you enter so that it would accept code in addition to static numbers but it might be difficult to translate this information to the player so that they know what they're getting. When they choose a power, it's always going to show the current uses. If they're choice is between two powers, one that's weak but increases in uses and another that powerful but never provides more one or two uses, it could be confusing or misleading.
I have a problem. When I try to add Frog Core or Frog Magic via the plugin manager, they show up empty, with no help text and no parameters. I saw this before with another plugin (Mr Trivel's Scene Backgrounds) but I couldn't figure out what was causing it. Do you guys havr any idea what it is and/or how to fix it?
@Kinni
Sorry, I've never experienced that so I have no idea. You're not using a really old version of MV, are you. My plugins do utilize the v1.5 plugin parameter format. I imagine that if you're running an older version than that, it probably won't work for you.
Nope. I'm using the latest version.
@Kinni
Yeah, I don't know. You might want to check or ask this in the support forum. You're more likely to find out what's going on there than in here.
I have a problem. When I try to add Frog Core or Frog Magic via the plugin manager, they show up empty, with no help text and no parameters. I saw this before with another plugin (Mr Trivel's Scene Backgrounds) but I couldn't figure out what was causing it. Do you guys havr any idea what it is and/or how to fix it?

Most often I find that happens depending on how you've downloaded the plugin or if you've altered the name. try redownloading it from RAW using 'save as' method.
Most often I find that happens depending on how you've downloaded the plugin or if you've altered the name. try redownloading it from RAW using 'save as' method.
I already asked about it in the Plugin help forum and I received the same advice, which solved the problem, but thank you anyway.
Hey @Frogboy

First of all thank you for your work on RPG Maker plugins. If not for them I wouldn't even bother trying to make something wRPG-like in this engine 😉

Recently I encountered an issue when playing around with your Magic plugin, however. The script assigns a given magic system to a given hero/class only once at the start of the game and doesn't handle heroes changing their class after that. Thing is that in my project heroes are by default assigned to a "blank" class and have proper classes assigned during a characters creation process.
Is it possible to achieve what I want using your plugin?
@Horn
I will have to check. I know I handled this in the Talent plugin but also remember it being a pain to get working right. You might want to check the documentation in the mean time to see if there's an option to control how class changes are handled. But there just as easily might not. I might have been holding off on this particular feature as a follow-up improvement and then my free time to work on plugins plummeted.
Got this error:
Spoiler
1580236242182.png
New game (not loading an old save), paused the game, selected the Skills tab, and this error appeared.
I did some configuration in the plugin parameters, so this isn't because I just put the plugin in and tried to see what it did.
It is below YEP_CoreEngine, below SRD_WindowUpgrade, and above VE_MateriaSystem.
Hi, your plugin is exactly what i was looking for!
As i was testing some stuff though, this error appeared when i tried to look at a spell the character knew:
Spoiler: IMAGE
Schermata 2020-04-25 alle 14.07.42.png
From what i understand the problem is that the spell uses TPs, while at the same time it uses the Spell Slots System. Is there a way i can fix this? Thanks in advance!

EDIT: Nevermind, I managed to work around it using Yanfly's SkillCore and ActionSequence Packs. Thanks anyway, your plugin is very interesting!

EDIT 2: Hi again! I write here to (possibly) report a bug regarding save files: https://forums.rpgmakerweb.com/index.php?threads/frog-magic-possible-bug.120771/

In short, if you save the game while having spell slots occupied, the next time you'll load the save and enter a battle you won't be able to select the equipped spells. Is it a bug, or perhaps i'm missing something? Thank in advance! (x2)
The frequency doesnt seem to work? I want to make an ability only work once a day and i assume thats 1 d but it seems to be usable whenever?

Overall, i've actually found this plugin way too complex to work...
Is there a way to set infinite uses for level 0 spells?
Is there a way to set infinite uses for level 0 spells?
I believe you can just set the spell level as a dash ( - ) to denote unlimited uses.

For example, assuming spell levels 0 thru 2nd: -/3/2

I'm wondering if anyone has any clue how to subtract spell slot uses (and just uses, as in they'd come back upon resting) through script calls or otherwise. Through poking around within the plugin itself, I've figured out a partial solution, but unfortunately it only deducts the 1st level's spell slots, and the way I've gone about it is undoubtably hamfisted...

My goal is to implement a cursed item that drains all of the user's spell slots down to 0. Any help would be greatly appreciated. 🙂

EDIT: Below I've left my hacked-together 'solution' should anyone be up to sussing out a better way of doing what I need to... I assume some form of iterating the spell slot level from its minimum to its maximum values would do the trick, but I just can't wrap my head around it at the moment.

Spoiler: OBSOLETE Code
var actorMagic = FROG.Magic.getActorMagic($gameVariables.value(X), 3); var slotLevel = FROG.Magic.getSpell($gameVariables.value(X), 7, "level"); var max = actorMagic.max[slotLevel]; var used = actorMagic.used[slotLevel]; actorMagic.used[slotLevel] += actorMagic.max[slotLevel];

EDIT2: I figured it out - below is the script if anyone is trying something similar; just be sure to change the $gameVariable.value to line up with an appropriate actorID...

Spoiler: WORKING Code
var actorMagic = FROG.Magic.getActorMagic($gameVariables.value(X), 3); var slotLevel = FROG.Magic.getSpell($gameVariables.value(X), 7, "level"); var max = actorMagic.max[slotLevel]; var used = actorMagic.used[slotLevel]; for (i = slotLevel; i < 7; i++) //The 7 here denotes maximum slot level { actorMagic.used[slotLevel] = actorMagic.max[slotLevel]; slotLevel += 1; }
Hello, love the plugin, but I'm having some trouble with it.

The problem is, it's showing the spell slots for the next level above a characters current level. So, it's showing the slots for a level 2 character for a level 1 character. So, if a character has 2 first level slots at level 1 and 3 at level 2, it's showing 3 first level spell slots on a level 1 character.
Does this work with MZ or is there another plug in like this for MZ?
Hello, this plugin is amazing, but I seem to have found a saving and loading bug with memorized spells. A memorized support spell is usable in the cast menu, but after saving and loading it is no longer usable. After some testing, I determined the memorized spell data seems to be partially lost on the load. You can find more information in my support thread about this issue: https://forums.rpgmakerweb.com/index.php?threads/frog-magic-saving-loading-bug.171958/#post-1470503

If I recall correctly from when I looked at the code, the way memorized spells were saved seemed to circumvent the way MV typically saves skill, which could have something to do with it. Also, the large save file size could also be causing issues.

Has anyone else run into this? Here are some sample steps to replicate the bug:
Download and playtest the frog magic demo, have Marsha memorize a support spell and it should be usable in the cast menu. Save the game, return to the title screen, then load the save. Open Marsha's cast menu and the support spell you memorized should now be unusable.

Original thread: https://forums.rpgmakerweb.com/threads/frog-magic-supercharge-your-class-mechanics.99243/