Tsukihime Attack Element Modifier Add On: Stacking attack elements

Good morning / Afternoon / evening , everyone.

I am in need of your assistance once again.

How difficult it would be to create an addon for this beautiful script


It allows control over elements in your normal attacks.

In my case, I tested giving a battler two seperate states that have a different attack element, the enemy is weak to BOTH elements.

15.02.2021_13.30.01_REC.png


The "PLANT" "elemental" weakess I used is simply to say that since it's a PLANT type enemy, PLANT "elemental" damage will be more effective.

Is it possible to make it so that both attack element modifiers of both states stack up, giving even more additional damage when the enemy is weak to both elements?


The reason for this is because I am using elements with the engine to create abilities like "Beast Killer" that would give additonal damage to Beast type enemies, so if I could make the Enemy type weakness stack up with the "elemental" weakness, it would be great for my game.
friendly bump
friendly bump
Tested the script. Works just like how you want it.
Tried to do what you said, two states applied to the actor.
set note tag on the states.
<attack element: earth 1.5>
<attack element: fire 1.5>

Did a battle test with three slimes
elemental rate fire 150%
elemental rate earth 150%
Both

Set normal attack to 0 variance for the attack

Attacked each slime
Fire received 247 damage
Earth received 247 damage
Both received 297 damage

then tested a normal slime and the damage was 198

Then tested elemental at 200%, with note tag at 1.0
132 - 198 - 264

then tested note tag at 2.0
264 - 396 - 528

So it actually seems that it is increasing the damage based off the note tag.
I might have done something, but I tested it again and it worked fine.

Thank you for the help and sorry for the inconvenience, moderators please delete this post.

Original thread: https://forums.rpgmakerweb.com/threads/tsukihime-attack-element-modifier-add-on-stacking-attack-elements.133332/