Hey all. Unfortunately I'm a JS noob, so I have no idea how to do this...
I want the Elements tab, exactly as it is now, except I want it to display the outgoing elemental damage rate. Specifically I'm using his Elements Core to amplify outgoing elemental damage based on equips and I want the player to be able to see how much outgoing damage of each element they have.
The parameter should exist, since <Element Amplify> has to impact something, right?
Is it possible to go in and tweak it so the "Elements" page shows outgoing elemental damage rates instead of elemental damage resistance rates? What exactly would I change? This soooouuuunds like it would be a fairly easy thing to swap, since it's also a rate and it would display exactly the same, so it really should be a matter of swapping out the reference to "elemental resistance" to "elemental damage"... I would think... but I don't exactly know.
EDIT: I thiiiiiiiiiiink I may have found the right section of the Status Menu Core?
I think I'd have to change "this._actor.elementRate(eleId);" to whatever parameter references outgoing damage instead of resistance, but I have no idea what that might be..
I want the Elements tab, exactly as it is now, except I want it to display the outgoing elemental damage rate. Specifically I'm using his Elements Core to amplify outgoing elemental damage based on equips and I want the player to be able to see how much outgoing damage of each element they have.
The parameter should exist, since <Element Amplify> has to impact something, right?
Is it possible to go in and tweak it so the "Elements" page shows outgoing elemental damage rates instead of elemental damage resistance rates? What exactly would I change? This soooouuuunds like it would be a fairly easy thing to swap, since it's also a rate and it would display exactly the same, so it really should be a matter of swapping out the reference to "elemental resistance" to "elemental damage"... I would think... but I don't exactly know.
EDIT: I thiiiiiiiiiiink I may have found the right section of the Status Menu Core?
Code:
Window_StatusInfo.prototype.drawElementData = function(eleId, dx, dy, dw) {
eleId = parseInt(eleId);
var eleName = $dataSystem.elements[eleId];
var eleRate = this._actor.elementRate(eleId);
dx += this.textPadding();
dw -= this.textPadding() * 2;
this._bypassResetTextColor = true;
this.changeTextColor(this.systemColor());
this.drawTextEx(eleName, dx, dy);
this._bypassResetTextColor = false;
this.setRateColor(eleRate);
var text = (eleRate * 100).toFixed(Yanfly.Param.StatusEleDec) + '%';
this.drawText(text, dx, dy, dw, 'right');
I think I'd have to change "this._actor.elementRate(eleId);" to whatever parameter references outgoing damage instead of resistance, but I have no idea what that might be..