예제 #1
0
        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);
        }
예제 #2
0
 protected override void AddObstacle()
 {
     this.TargetableObstacle = new TargetableProjectileObstacle(this);
     this.Pathfinder.AddObstacle(this.TargetableObstacle);
 }