1 using System.Collections.Generic;
7 private readonly List<Affliction> afflictions =
new List<Affliction>();
9 private readonly
float addedDamageMultiplier;
10 private readonly
float addedPenetration;
11 private readonly
bool implode;
19 addedDamageMultiplier = abilityElement.
GetAttributeFloat(
"addeddamagemultiplier", 0f);
28 if (attackData.Afflictions ==
null)
30 attackData.Afflictions = afflictions;
34 attackData.Afflictions.AddRange(afflictions);
36 attackData.DamageMultiplier += addedDamageMultiplier;
37 attackData.AddedPenetration += addedPenetration;
39 attackData.ShouldImplode = implode;
static List< Affliction > ParseAfflictions(CharacterTalent characterTalent, ContentXElement afflictionElements)
void LogAbilityObjectMismatch()
override void ApplyEffect(AbilityObject abilityObject)
CharacterAbilityModifyAttackData(CharacterAbilityGroup characterAbilityGroup, ContentXElement abilityElement)
float GetAttributeFloat(string key, float def)
ContentXElement? GetChildElement(string name)
bool GetAttributeBool(string key, bool def)