[FROG] Magic - Supercharge Your Class Mechanics!

@Frogboy Very nice, This will be very helpful. I was about to get a coder to make this from scratch for me LOL, you just saved me some money my friend
Glad I could be of some service. Let me know if there are any features that you were looking for that I haven't included.

Just out if curiosity, which features were you originally looking for?
This seems interesting ,will have to check it out later 🙂
Update 0.9.02
  • Added some useful plugin commands and script calls
    • Edit power properties dynamically
    • Script calls for adding and removing spells from a spell list dynamically
  • Spell components can now be non-consumable. I meant to include this in the release and forgot. Of course your Cleric should need to have a Holy Symbol in order to Turn Undead (without the Holy Symbol getting consumed)
  • Updated and fixed some minor issues with the demo
    • I messed up the essence plugin properties when I deleted the monsters I wasn't using.

@Roguedeus
Got several of your suggestions included now. Everything except the Ring of Wizardry, I think.
Thanks!

FYI, this plugin (and your Talents Plugins) has sort of helped reignite the development of a long languished project. While I may not use them all, they have sparked my interest and made me reconsider a few preconceptions.

I have kept most of my coding limited to customization of existing plugins, like Yanfly's, Moogle's, and Hime's, to suit my needs. With a few very niche-use releases, that I was sure wouldn't need much support... But lately I've been slowly digesting examples of GUI, with the intention of finely writing a few plugins I am pretty sure will never be written otherwise. If they pan out, I'll likely release them here.

Please keep up your work. Because it is good!
@Roguedeus
Very cool! I feel honored that my work has given you some inspiration. It's very encouraging to hear things like this. Out of curiosity what preconceptions have you reconsidered? You have me wondering. You can PM me if you feel it's not appropriate to talk about here (or you can leave it at that if you don't want to go into any more detail on the subject, of course).

Either way, thanks! Can't wait to see what you make, with or without my plugins.
Nothing important really. Just some personal hangups regarding plugin complexity and my own aptitudes. I had a pretty serious case of burnout some time ago and have only recently begun reacquainting myself with my previous work, and the community.

On that note, I've discovered most creators have silently moved along, a few are still here, while others seems to be milking their libraries for all their worth, all the while distancing themselves from the very community they still claim to support.

I don't pretend to understand why, but after well over two years of support, I am paying enough attention to decided to stop directly supporting them financially because of it. But I digress...

I suppose I mentioned that because you appear one of the few here creating NEW things of grand scope and utility. I know that takes dedication, and I find that inspiring.

The ones I used to draw inspiration from have gone dormant, or have become non-relatable.
@Roguedeus
That's kind of another reason why I've only looked into the Patreon route but have thus far decline to seriously pursue it. Seeing the amount of work that other plugin makers and content creators put into it and how little they've made (short of Yanfly, of course), I feel I'm better off just doing my own thing on my own terms for now. It's a tough market to break into and I really can't fault other devs for dropping out. You literally could work an extra minimum wage job (in America or Europe, at least) for a lot more money than what most make with their Patreons. It is a lot to ask.

But I can also understand your position as well. They pretty much all proclaim on their Patreons how much they love the community and want to give back to it while still accepting pledges (and not making new content). They would likely be better off in the long run if they shut down their Patreons or made it clear that they weren't going to be doing any new work for a while, if ever, in case they want to re-emerge at a later date. Several former plugin makers, thankfully, did exactly this but others haven't which could easily burn bridges.

I do have some really innovative ideas that, if I can pull them off, might make me reconsider it someday. RPG Maker has become my primary hobby for the last couple of years with the last year mostly spent making plugins. It's a great avenue for thinking up cool $#!t and turning those ideas into something tangible which has always been one of my great pleasures in life. I have no plans to move on. And the community is awesome! I've been a member of a lot of forums over the years and none have been so inviting and encouraging. I really do hope to make a lasting impression and enjoy contributing as best I can. I hope you do too and that your work ends up inspiring me in return. Can't wait to see what you create!
Last night, I noticed your Core plugin is mostly a function that makes the new Plugin Parameter information into an easy to use object. I can't imagine why more haven't done this.

As mentioned, I've been out of the loop for a while, and I just recently begin playing with the new Parameter process. Needless to say, I understand why it's great for the end user... But it doesn't do much but add work for the plugin writer. At least, not so much now that I noticed your function. 😉
@Roguedeus
That function is the only reason FROG Core exists. I don't like doing lots of unnecessary extra work so after doing my first big plugin (Talents), I knew I needed a better way to process that information. It's strange that this functionality wasn't built into the system when the new plugin parameters were introduced.
I am getting this error when I run this without any other plugins ON except the FromCore Plugin. Happens when a battle starts or when I open the skills screen.

rpg_managers.js:1949 TypeError: this.changeFontSize is not a function
at Window_SkillList.drawSkillCost (FROG_Magic.js:2356)
at Window_SkillList.drawItem (rpg_windows.js:2211)
at Window_SkillList.Window_Selectable.drawAllItems (rpg_windows.js:1256)
at Window_SkillList.refresh (rpg_windows.js:2237)
at Window_SkillList.setStypeId (rpg_windows.js:2149)
at Window_SkillType.update (rpg_windows.js:2066)
at Window_SkillType.update (FROG_Magic.js:2290)
at rpg_core.js:7035
at Array.forEach (<anonymous>)
at WindowLayer.update (rpg_core.js:7033)

I've looked at the parameters in the Plugin Manager, but I didn't change anything yet as I am still building my game.
@Blue001
Is this a new project with the plugin installed? Or are you firing up the demo project?
@Blue001
Is this a new project with the plugin installed? Or are you firing up the demo project?

My own project.
I'm hoping to use this to make a remake of Final Fantasy 1's magic system where you have 4 spells per level that all use the same "per day" pool of charges.


EDIT : So I think I figured it out... I had Frog Core at the top of my plugin list, and Frog Magic after all the Yanfly Cores. It's weird because I tried it with every other plugin turned off and it didn't work. But moving Frog Magic to the top above all the Yanfly cores seem to fix it, regardless of if the other plugins were on or not... (raises eyebrow)
@Blue001
Okay, that's weird. I can't explain that behavior. I certainly wouldn't be surprised at some incompatibility issues with plugins that change the UI of the Skill menu, but I wouldn't expect them when the plugins were turned off.

Let me know if you run into any other issues and I'll do my best to resolve them. Thanks for checking out my plugin. I hope you're able to use it to make the game you want to make.
While I have your attention actually. now that I have this running without errors. A couple questions.

1. I see two different "number of uses" ... one on a per spell basis, and one on a "per level/per spell level" basis (like 3/0/0/0/0/0/0/0/0) . Can I ignore the Uses on if I'm using Spontaneous / Slots?

2. Do I need to do anything in the database to add a school of magic to a class, or is it all done through the plugin setup?

3. I'm only seeing the first number from 3/1/1/1/1/1/1... Shows "3" in my mp area.

4. I'm not seeing "Slot Cost/Level" on the skill screen when selecting skills. It only has the skills name...
Love love LOVE this. It always struck me as odd that everyone used the same resource, even though some characters can't even (in the story) use magic...but they have an MP bar.
Can I ignore the Uses on if I'm using Spontaneous / Slots?

Yep. If your spell list will never be used by a class that uses Powers, you don't need to fill in that information.

Do I need to do anything in the database to add a school of magic to a class, or is it all done through the plugin setup?

It's all in the plugin (Class Config). If this isn't set to All, you'll need to specify the school for each spell as well so that they can be matched up.

I'm only seeing the first number from 3/1/1/1/1/1/1... Shows "3" in my mp area.

This could be a few things. Assuming that your actor is a level that matches up with 3/1/1/1... and you only see 3, the plugin is probably thinking that they only have zero level spells. One of the parameters is likely misconfigured. I'll have to recheck the code to be sure the exact order but the plugin checks for the existence of parameters to figure out what the actors max spell level is. It starts with the Max Spell Level parameter and then move onto Spells Per Day and then Spells Known, I believe. You don't need Max Spell Level if you're using slots so make sure that these spell slot parameters are all filled out for the level you're testing.

You might also not have the proper correct magic system set as the one to display. If you have ears more than one for a class, make sure that only the one you want to use as the the indicator has Show As MP set to true.

I'm not seeing "Slot Cost/Level" on the skill screen when selecting skills. It only has the skills name...

It sounds like you found an incompatibility earlier and rearranging the plugin order perhaps stopped the error from occurring but now the method that writes the cost indicator is overwriting my plugin's changes. Let me know what plugins you're using and I can see if there's a way to avoid this issue.
You might also not have the proper correct magic system set as the one to display. If you have ears more than one for a class, make sure that only the one you want to use as the the indicator has Show As MP set to true.

It sounds like you found an incompatibility earlier and rearranging the plugin order perhaps stopped the error from occurring but now the method that writes the cost indicator is overwriting my plugin's changes. Let me know what plugins you're using and I can see if there's a way to avoid this issue.

Any chance you could add a list of functions each Magic type uses/requires in the help for the plugin?
Like, "To set up a Power Skill system, you need the following parameters on, ignore these others..."
Or perhaps, more simply add "For Spont,Hybrid,Prep" and "For Slot,Mp,Powers", to the 'help description' for each function when you click them so users know which one they need to ignore? There are a lot of functions and when not all of them are used for each magic type, I found myself sitting there saying "do I need this???" I know help space is limited to the two lines, but a short blurb like this may help/fit.

I'll do some troubleshooting in a few minutes to see which Plugins are causing my issues. (I wish there was a quick way to turn them on and off.... Just now made a suggestion to the RMMV people about it. Would help with compatibility troubleshooting)

EDIT : So... uhm, I'm at a loss. I turned off all other plugins again, except Frog Core and Frog Magic, and going to the magic screen, yet again is tossing the error I had the other day. Give me a few, I'll try it in a new game with no other plugins even present...

EDIT EDIT : So... if you create a new project, and run it with only Frog Core and Frog Magic. It tosses the error when entering the skills screen. So it's not compatibility or a setting I changed. It's just not working. I find it weird though that it works WITH all my plugins on. Did you have another prerequisite plugin that adds a function you are calling to that I am not seeing?

Also, while perusing in your functions, I noticed that components/requirements have to be items and skills respectively, and you can't make weapons or armor into "worn" requirements or unworn armor/weapons as part of the cost to cast. Seems weird I know, but maybe someone would want to use them that way???

Also Also, I'm curious what your plugin does when another plugin is trying to do something with a spells cost/cast requirements. Like, if I have a note tag from another plugin in a spells note box to have it take X HP to cast it, will your plugin ignore that? Or will that still be part of the cost? Basically, if I use your system, will I be limited to only functions you have included in the magic system?
Or perhaps, more simply add "For Spont,Hybrid,Prep" and "For Slot,Mp,Powers", to the 'help description'

My documentation actually started out this way but by the time I finished, there were only a couple parameters that are only used when others are set a certain way. Power Uses and Hybrid Retrieve are the two that come to mind and they contain the setting that they're tied to in their name.

If you want to set up a typical, D&D style prepared, spontaneous or power user then there are parameters that can be ignored but the system itself doesn't restrict you to those options. There nothing stopping anyone from creating different types of casters by applying these. While it's not really useful, you could make a Prepared Magic Point caster and the system will work as designed.

I was hoping that my demo project could serve as a how-to example for recreating different D&D and FF style magic users that devs could draw from.

you can't make weapons or armor into "worn" requirements or unworn armor/weapons as part of the cost to cast

When I made my Health plugin, I baked in just about every possible option I could think of. Spent a lot of time working on it but it doesn't appear that it's going to be all that popular. So for this one, I tried to keep its functionality more limited to things that I felt people would use and wait for requests on the extras I didn't add support for to see what devs are looking for.

There is a weapon requirement built into the base engine that I believe should still function normally, though. I was probably leaning on this to pick up the slack for not implementing full-blown equipment requirements. I also didn't have non-consumable spell components when I first released this so equipment requirements didn't exactly make sense at the time.

Also Also, I'm curious what your plugin does when another plugin is trying to do something with a spells cost/cast requirements.

This largely relies on the implementation of the plugins. Both should function just fine together but I can't make any guarantees as their code could potentially reroute the code in a way that ends up bypassing mine. The only way to know for sure is to try the two plugins together and see if it works.
Any idea about the error I keep getting when running just your plugin?

I was trying to see which other plugin was making it so I couldn't see the cost on the skills, and it just won't run without other plugins installed too. XD\

Also... what does "Save Magic Object" do and should I have it on or off?

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