Placeholder support inside of onDamage aura damageModifiers
Summary
onDamaged{auraName=Crippled;i=1;d=<caster.var.N_CC_Duration>;m=1;damageMods="PHYSICAL 1.33";oT=Necromancer_CripplingCurse_Debuff_oT}
- Above is an example of an onDamaged aura that would make players dealing PHYSICAL damage deal 33% more damage.
- That 33% is static since you cannot put a placeholder inside of it like so
- damageMods="PHYSICAL <caster.var.IncreasedPercent>".
- Doing so you get the following console error
[02:52:41] [Server thread/WARN]: [MythicMobs] ?[33m Config Error for Mechanic line '[4monDamaged{auraName=Crippled;i=1;d=<caster.var.N_CC_Duration>;m=1;damageMods="PHYSICAL<&sp><caster.var.N_CC_Percentage>";oT=Necromancer_CripplingCurse_Debuff_oT}[0m[33m' in 'Unknown': [37mInvalid syntax for DamageModifier[0m[0m
Usage
This would be used in order to make applying debuffs to mobs / players more dynamic.
Value
The value this brings is having the ability to create dynamically scaling debuffs. Using mmocore for example you can level up the ability to increase the amount of physical damage the enemy takes. You can do this for just about every damage type you can think of.
Priority
Its not a huge priority as you can create static debuffs, but it would definitely make leveling up debuff skills more worth it instead of only leveling them up for an increased duration.
Implementation
Allow placeholder support inside of the damageModifiers part of these auras