[Question] Is it possible to create a secondary 'Mana' type resource that is class specific.

If this is the wrong section I apologize, first time posting.

Essentially, my game has 4 different classes.

I'd like each class to have a different resource when battling (not just MP)

Also, if it is possible. Is it possible to make it class specific, so

'Class 0001 = MP'

'Class 0002 = Light'

'Class 0003 = Heat'

ect ect 

*Edit* So I guess there isn't a Plugin for this, if anyone wants to take it up there's a couple more features I could think of that could be cool.

For my game in specific these new resources will regenerate over time (or over each turn)

For example,

Class 0002 (using Light resource) Casts a spell and brings the Light down to 70/100
On the next turn, the light will be renewed to possible 80/100.

Something to easily throttle how much it recovers/how fast it recovers could be interesting.
I've moved this thread to Plugin Request. Please be sure to post your threads in the correct forum next time. Thank you.


yes, but you'll need a plugin for this.
Yes, I was looking around for something like this as well.
I was looking for something like this as well, since I used "Alternate MP X" in VX Ace and really loved it.

But, you can do that to some extend with adjusted MP Regeneration/TP Charge Rates.

Of cause it won't look fancy(Everyone still has MP, even tho it's basically completly different), but the mechanics are similar.

However there are of cause many problems caused by MP Leech, Mana potions, which are destroying the balance of such recources.

Also, on top of the limited options in adjusting the MP, you can only have one "custom" recource.

--> Would love to see a plugin like this 😉
Should't be to hard really, you would have to specify in the class note tags what the resource is and the regen rate/ max values. Whether or not you get increase when you level up.
But like gokuby said mp affecting skills and items would be hard to balance. Unless you wanted it to be completely separated from the current mana system.
Your idea is great, you want create more "mana type". But i think its hard to do it. Because you need to create new ressource. I will try to search how make it later.
Should't be to hard really, you would have to specify in the class note tags what the resource is and the regen rate/ max values. Whether or not you get increase when you level up.

But like gokuby said mp affecting skills and items would be hard to balance. Unless you wanted it to be completely separated from the current mana system.
Yeah, the new resources would be completely separate from the 'Mana'
I've seen this in games, where certain characters will have Rage or AP instead of MP, because they are a brute force melee class. I imagine this isn't too different.
I've seen this in games, where certain characters will have Rage or AP instead of MP, because they are a brute force melee class. I imagine this isn't too different.
That's actually exactly what I'm going for.
So, basically, you only want to change the name of "MP" into something else depending on actor's class?
 
Edit:
if that's what you're looking for, this might help. Just write <mp_name:anything> on your class's note.
You can set regeneration using EX-Parameter MP Regeneration on actor's / class traits, altough it's based on percentage, not a fixed value. Just wait until Tsukihime or Yanfly release their trait manager for MV (or maybe they already have) if you want to set fixed value as MP Regeneration.
 
Save this snippet as anything with *.js extension.
 

Spoiler
Code:
/*: * @plugindesc Use <mp_name:anything> on class note * @version 1.0 */(function() { // don't touch this!'use strict';var _Window_Base_drawActorMp = Window_Base.prototype.drawActorMp;Window_Base.prototype.drawActorMp = function(actor, x, y, width) {	var clsId = actor._classId;	var meta = $dataClasses[clsId].meta	if (Object.keys(meta).contains('mp_name')) {		var str = String(meta.mp_name);		width = width || 186		var color1 = this.mpGaugeColor1();		var color2 = this.mpGaugeColor2();		this.drawGauge(x, y, width, actor.mpRate(), color1, color2);		this.changeTextColor(this.systemColor());		this.drawText(str, x, y, 44);		this.drawCurrentAndMax(actor.mp, actor.mmp, x, y, width,							   this.mpColor(actor), this.normalColor());	} else {		_Window_Base_drawActorMp.call(this, actor, x, y, width);	}};})(); // Don't touch this!
 
Example. Please pay attention that any name longer than 4 character might not displayed beautifully 🙂
Spoiler
lmhOI.jpg
I guess he wants something like a rage resource, that generates on for instance getting hit or dealing damage.

I'm looking for that too, because one of the playable characters will be an Android-esque robot druid(yupXD), and he can overcharge by using too many skills during combat, and the overcharge should deplete slowly during battles.

Beats me how to do this, honestly. So I just post here aswell, as it seems to be a similiar problem. 😀
You can as well use the Manashield plugin, and Ellyes State Damage with Yanflys Passive States to archieve almost everything!

Just be creative with the plugins available^^

Heartbreak, nice plugin, is it possible to color the recources separately as well(e.g. red for rage, green for energy)?
You can as well use the Manashield plugin, and Ellyes State Damage with Yanflys Passive States to archieve almost everything!

Just be creative with the plugins available^^

Heartbreak, nice plugin, is it possible to color the recources separately as well(e.g. red for rage, green for energy)?
Of course, just modify this line 🙂

this.changeTextColor(this.systemColor());Edit:

Ah, I forget, in case this is what OP wants, you might increase '44' on this line to make space for drawing your MP name wider. Be careful that it may overlap with MP/MMP text

Code:
this.drawText(str, x, y, 44);
I am also interested in having resources other than MP and TP, and I don't see how that could be achieved with those 3 plugins combined.
@Karindanslav: modifying things and adding new things are completely different. You'll need another plugin for adding new stats.
i tried that renaming the MP and TP plugin but it's not working on battle status if used with either Yanfly's battle status or SRDude's BattleStatusCustomizer. which is sad

Original thread: https://forums.rpgmakerweb.com/threads/question-is-it-possible-to-create-a-secondary-mana-type-resource-that-is-class-specific.50278/