예제 #1
0
 ///<Summary>
 /// Character: Ashe
 /// This abilities shoots 7 arrows in a cone. Each arrow applies the Frost debuff upon hit.
 ///</Summary> 
 public Volley(Player player, FrostShot frostShot)
     : base(player)
 {
     cooldown = TimeSpan.FromSeconds(1);
     this.frostShot = frostShot;
     cost = 20;
     volleyData = new List<AreaOfEffectTracker>();
     Name = "Volley";
 }
예제 #2
0
 public VolleyProjectile(Game game, Creature attacker, FrostShot frostShot, float damage, float duration, AreaOfEffectTracker data)
     : base(game, attacker, null)
 {
     this.frostShot = frostShot;
     this.damage = damage;
     this.duration = TimeSpan.FromSeconds(duration);
     this.data = data;
     onHit = volleyOnHit;
 }
예제 #3
0
 protected override void InstantiateAbilities()
 {
     player.creature.autoAttackAssetName = "AsheArrow";
     focus = new Buffs.Focus(player.creature);
     FrostShot frostShot = new FrostShot(player);
     abilities.Add(frostShot);
     abilities.Add(new Volley(player, frostShot));
     abilities.Add(new HawkShot(player));
     abilities.Add(new EnchantedCrystalArrow(player));
 }