Example #1
0
        public override void ChangeModifierConfig(ConfigAbilityModifier modifier)
        {
            AvatarTiedMixin element = new AvatarTiedMixin {
                UntieSteerAmount = this.UntieSteerAmount
            };

            Miscs.ArrayAppend <ConfigAbilityMixin>(ref modifier.ModifierMixins, element);
        }
Example #2
0
        public override void ChangeModifierConfig(ConfigAbilityModifier modifier)
        {
            ModifyDamageByAttackeeMixin element = new ModifyDamageByAttackeeMixin {
                AddedDamageTakeRatio = this.TakeExtraDamageRatio,
                Predicates           = new ConfigAbilityPredicate[0]
            };

            Miscs.ArrayAppend <ConfigAbilityMixin>(ref modifier.ModifierMixins, element);
        }
Example #3
0
        public override void ChangeModifierConfig(ConfigAbilityModifier modifier)
        {
            modifier.ThinkInterval = this.BleedCD;
            DamageByAttackValue element = new DamageByAttackValue {
                Target           = AbilityTargetting.Self,
                DamagePercentage = this.DamagePercentage,
                AddedDamageValue = this.BleedDamage
            };

            Miscs.ArrayAppend <ConfigAbilityAction>(ref modifier.OnThinkInterval, element);
        }