Would you be willing to add the option of override elements? Where the action would apply 100% of its damage to the target (as the override element) unless the target was resistant to that element?I will be implementing a plugin that allows you to implement elemental damage.
This would change the way elemental calculations are handled.
By default, the game just takes the one that would be most effective.
My system would just apply them in a straightforward way.
For example, say you have a Fire slime that is immune to fire damage (ie: element rate 0%)
You have a "Fire Slash" skill that inflicts 50% fire and 50% physical damage.
Total damage is equal to (fire effectiveness) * base damage + (physical effectiveness) * base damage.
Which results in 0 fire damage, and 50% base damage, for a total of 50% damage.
Target has 0% Fire Rate, 50% Physical Rate, and No Vorpal Resist... The target will take 100 Damage.
Target has 0% Fire Rate, 50% Physical Rate, and Vorpal Resist...The target will take 25 Damage.
So basically, your skill/weapon has some property that allows you to bypass certain elemental resistances.Would you be willing to add the option of override elements? Where the action would apply 100% of its damage to the target (as the override element) unless the target was resistant to that element?
Examples:
100 Damage dealt as 50% Fire, 50% Physical, +Vorpal (Element Override)
<Override Element: Vorpal> or <Override Element: ID>Code:Target has 0% Fire Rate, 50% Physical Rate, and No Vorpal Resist... The target will take 100 Damage.Essentially, the override elements will cause the damage to function in default mode. Applying damage in a weakest element first order. Unless the target is flagged as being resistant to it.Code:Target has 0% Fire Rate, 50% Physical Rate, and Vorpal Resist...The target will take 25 Damage.
With this... It would allow for the creation of certain equips that pierce established resistances unless the target is protected from that piercing. While not over-complicating to much.Code:<Override Resist: Vorpal> or <Override Resist: ID>![]()
That dragon has impenetrable damage resistance!! -- Unless you have that Sword made of Mithril (Mythril Element Override) and the dragon has no resistance to Mithril... etc...
Ok, so let's say you're using a skill that is Fire-Physical element.That's not a bad idea. But its not exactly what I mean.
If the ability has the override element assigned, then all damage is applied based on the override elements rate (ignoring all other elements) unless the target is note tagged as resistant to that override.
The override simply causes the damage to be applied as if the advanced element splitting doesn't exist. (and the winning element is the override element)
If the target is resistant to that override element (by note tag, not element rate) the override element is ignored, and instead the advanced element split applies normally.
That can be depend even more by the option of applying an attack a resistance offset as you describe.
lol... I think so.Ok, so let's say you're using a skill that is Fire-Physical element.
However, you also have a state added that forces all damage to be ice elemental.
When the state is applied, the only element you will inflict is ice.
You could have multiple override states: ice-wind element.
The same split calculations would occur using the override states.
As another example, let's say you're using a physical skill. 100% physical damage.
You then equip a fire sword.
Fire sword Override: 50% fire elemental, 50% physical.
Now, all of your skills that *can* be overriddden will use the new element.
The "Normal" element type will be a bit special.
That would be a bit strange: if you're overriding your skill element with a new element, why would it default to the old element if the enemy happens to be resistant to the override element?lol... I think so.
But in my mind all that's needed is one override element to apply all the abilities damage (as it does by default mechanic) only it would be limited by the targets element rate (as it does by default mechanic).
If more than one override is applied to an ability, then the winning override deals all the damage. It is either 100% override, or 0% override (At which point your element split applies)
edit:
You can also think of it as... If an override element applies and the target is not resistant, then that is the only element the ability has. Multiple overrides would compete as though they where non-override elements in the default mechanic.
If the target is resistant to all the overrides, then non-override element processing kicks in...
edit:
The point of the override elements is NOT to split them. If you wanted a split, you could limit yourself to using non-override elements.
(OverrideRate * fire rate) * base + (OverrideRate * physical rate) * base
Because the override element is like a super element that pierces normal element rates. It overrides normal elements.That would be a bit strange: if you're overriding your skill element with a new element, why would it default to the old element if the enemy happens to be resistant to the override element?
Using your method would have the same basic result, as far as I can tell.That's like saying if you have multiple attack elements, and the enemy happens to resist most of them, then you would happen to deal damage using the element it's weakest against.
But the percentage override would make sense.
Default: 100% physical
Override: 100% fire
If it overrides completely, then 100% fire
If it overrides nothing, then 0%
If it overrides half, then 50% fire 50% physical.
We can even say that the override would be an additional elemental modifier on top of the splitting.
Elemental damage would then be
(OverrideRate * fire rate) * base + (OverrideRate * physical rate) * baseYou would then include separate logic to determine how override rates are handled.
Ok, how about thisBecause the override element is like a super element that pierces normal element rates. It overrides normal elements.
The original example I gave is like a dragon that has great resistances to all elements, unless the attack uses a Mithril Sword. The Mithril is allowing the damage to totally bypass all other element rates.
If the dragon has a rate of less than 100% for mithril, then the damage will be reduced as in the normal damage mechanic. (or increased by weaknesses)
If the dragon has its mithril proof vest on. (Note tag: Override Resist: Mithril) then the mithril doesn't act as an override at all. Instead the dragons normal element rates apply.
edit:
You would probably define all override element ID's in the plugin parameters. That way there is no confusion between normal elements and override elements. If a trait grants the override element, then it overrides all non-override elements, unless the target is immune/resistant to that override element.
Actually, I think instead of using "element rate", perhaps I can just offer an elemental resist plugin.I look forward to it!
But I hope this doesn't slow down your roll out of the Shop Manger!![]()
elemental resist: Fire 100%