new private void Start() { base.Start(); attack = new Attack(0.5f, 1, 150, 1.0f, 14, (Attackable attackable) => TargetingFunction.IsEnemy(this, attackable)); heal = new Heal(0f, 0.125f, 240, 1.0f, 60f, (Attackable attackable) => TargetingFunction.IsAlly(this, attackable)); _skills = new Skill[] { attack, heal }; }
new private void Start() { base.Start(); List <IOffensiveModifier> modifiers = new List <IOffensiveModifier>(); Defense def = new Defense(0.2f, (Attackable target) => TargetingFunction.IsAlly(this, target)); Aura armorAura = new Aura(80, def); armorAura.ApplyOnTarget(this); ArmorPierce armorPiercing = new ArmorPierce(0.5f); modifiers.Add(armorPiercing); attack = new Attack(0.5f, 1.0f, 0, 1.0f, 45, modifiers, (Attackable attackable) => TargetingFunction.IsEnemy(this, attackable)); _skills = new[] { attack }; }
new private void Start() { base.Start(); _attack = new Attack(0.5f, 1, 150, 1.0f, 25, (Attackable attackable) => TargetingFunction.IsEnemy(this, attackable)); _massHeal = new MassHeal(0f, 0.125f, 240, 1.0f, 60f, 75f, (Attackable attackable) => TargetingFunction.IsAlly(this, attackable)); _overtimeHeal = new OvertimeHeal(2f, (Attackable attackable) => TargetingFunction.IsAlly(this, attackable)); _healingAura = new Aura(75f, _overtimeHeal); _healingAura.ApplyOnTarget(this); _skills = new Skill[] { _attack, _massHeal }; }