new private void Start() { base.Start(); List <IOffensiveModifier> modifiers = new List <IOffensiveModifier>(); ArmorPierce armorPiercing = new ArmorPierce(0.5f); modifiers.Add(armorPiercing); attack = new Attack(0.5f, 0.8f, 0, 1.0f, 40, modifiers, (Attackable attackable) => TargetingFunction.IsEnemy(this, attackable)); _skills = new[] { attack }; }
new private void Start() { base.Start(); _modifiers = new List <IOffensiveModifier>(); ArmorPierce armorPiercing = new ArmorPierce(0.6f); _modifiers.Add(armorPiercing); _attack = new Attack(0.5f, 0.3f, 100, 1.0f, 60, _modifiers, (Attackable attackable) => TargetingFunction.IsEnemy(this, attackable)); _skills = new Skill[] { _attack, }; }
new private void Start() { base.Start(); List <IOffensiveModifier> modifiers = new List <IOffensiveModifier>(); ArmorPierce armorPiercing = new ArmorPierce(0.3f); modifiers.Add(armorPiercing); _attack = new Attack(0, 1.0f / 0.8f, this, 20, (Targetable attackable) => TargetingFunction.IsEnemy(this, attackable)) { Modifiers = modifiers }; Skills = new[] { _attack }; }
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(); _modifiers = new List <IOffensiveModifier>(); ArmorPierce armorPiercing = new ArmorPierce(0.6f); _modifiers.Add(armorPiercing); _attack = new RangeAttack(100, 1f / 0.3f, this, 60, PooledEnum.THROWABLE_WEIGHT, (Targetable attackable) => TargetingFunction.IsEnemy(this, attackable)) { Modifiers = _modifiers }; Skills = new Skill[] { _attack, }; }