protected override void AddObstacle() { this.targetableObstacle = new TargetableProjectileObstacle(this); this.Pathfinder.AddObstacle(this.targetableObstacle); this.stormHammerAoeObstacle = new StormHammerAoeObstacle(this) { Id = this.targetableObstacle.Id, EndCastTime = this.EndCastTime, EndObstacleTime = this.EndCastTime + (this.RangedAbility.Range / this.RangedAbility.Speed) }; this.Pathfinder.AddObstacle(this.stormHammerAoeObstacle); }
protected override void AddObstacle() { this.TargetableObstacle = new TargetableProjectileObstacle(this); this.Pathfinder.AddObstacle(this.TargetableObstacle); }