Curious about raising Element damage.

I know about the Parameter to raise/lower Magic Attack, and I know about Element Rate which makes you weaker or more resistant against certain Elements...


But is it possible have a skill/state/whatever that allows you to raise ONLY said Element. Like, say, Fire attacks get raised up in power but other Elements stay the same?


Or say, have it possible to attack with a Skill that has an Element, but instead of hurting the enemy, they absorb it and it raises said Element in their moves, making their Element attacks stronger?


An example? Sunny Day or Flash Fire from Pokemon.
I know about the Parameter to raise/lower Magic Attack, and I know about Element Rate which makes you weaker or more resistant against certain Elements...


But is it possible have a skill/state/whatever that allows you to raise ONLY said Element. Like, say, Fire attacks get raised up in power but other Elements stay the same?



It absolutely requires some scripting to do.  It's pretty easy scripting - you just need to find a place within the damage calculation that can reference the user's attributes or states and use it to modify the damage.


In RPG Maker VX Ace, I did it inside the "make_damage_value" method of Game_Battler.  The code I added (after most damage value calculations, but before it was applied to the battler) was:


# Lightning Boost: 30% extra damage on the user's Lightning Skills
if item.is_a?(RPG::Skill)
if item.damage.element_id == 5
if user.state?(102)
value *= 1.30
end
end
end


I don't know the exact terminology or methods to do the same in RPG Maker MV yet, but I do plan to eventually make such a script further down the line.  It's one of those things that I feel really should be in the standard database Features box, but sadly isn't.


As far as the absorption and state addition, that's another scripting job of its own.
I looked at that code and I'm lost. I have VX Ace, but have never used it. 


Looking forward to the script. I'd love to learn it myself so I can look at, say, Yanfly's stuff and know exactly what it all means. The Script Call list means almost nothing to me,  I don't know what order things go in or if that's even the code I'm looking for.
You could do that with a common event and a check in the damage formula.  Have the common event add a state to the entire party and enemy troop.  Then in the damage formula(s) put in a.isStateAffected(x) ? boosted damage formula ; unboosted damage formula
I know someone has a plug-in that does just what you're looking for, at least for boosting elemental damage on a per-element basis. Doing something like Flash Fire would prolly require one of Yanfly's scripts with the aid of Lunatic Mode. I just have no idea how the command would look, or even which of her scripts you would need. How do you tag someone in these comments?


Anyway, as for your first question, look for KockaAdmiralac's Elemental Amplifier.

Original thread: https://forums.rpgmakerweb.com/threads/curious-about-raising-element-damage.61036/