예제 #1
0
        public List <Pool> GetPools()
        {
            List <Pool> pools = new List <Pool>();

            try
            {
                Pool pool1 = new Supernova("Supernova", "dcr.suprnova.cc:3252");
                pools.Add(pool1);

                return(pools);
            }
            catch (Exception e)
            {
            }
            return(pools);
        }
예제 #2
0
파일: Phoenix.cs 프로젝트: vana41203/O9K
        public Phoenix(Unit9 owner, MultiSleeper abilitySleeper, Sleeper orbwalkSleeper, ControllableUnitMenu menu)
            : base(owner, abilitySleeper, orbwalkSleeper, menu)
        {
            this.ComboAbilities = new Dictionary <AbilityId, Func <ActiveAbility, UsableAbility> >
            {
                { AbilityId.phoenix_icarus_dive, x => this.dive = new IcarusDive(x) },
                { AbilityId.phoenix_launch_fire_spirit, x => this.spirits = new FireSpirits(x) },
                { AbilityId.phoenix_sun_ray, x => this.ray = new SunRay(x) },
                { AbilityId.phoenix_supernova, x => this.nova = new Supernova(x) },

                { AbilityId.item_veil_of_discord, x => this.veil = new DebuffAbility(x) },
                { AbilityId.item_shivas_guard, x => this.shiva = new ShivasGuard(x) },
                { AbilityId.item_rod_of_atos, x => this.atos = new DisableAbility(x) },
                { AbilityId.item_spirit_vessel, x => this.vessel = new DebuffAbility(x) },
                { AbilityId.item_urn_of_shadows, x => this.urn = new DebuffAbility(x) },
                { AbilityId.item_sheepstick, x => this.hex = new DisableAbility(x) },
                { AbilityId.item_heavens_halberd, x => this.halberd = new DisableAbility(x) },
            };

            this.MoveComboAbilities.Add(AbilityId.phoenix_icarus_dive, _ => this.dive);
        }
예제 #3
0
 private void Awake()
 {
     Current = this;
 }
예제 #4
0
 public void supernova()
 {
     Supernova newNova = Instantiate(nova, new Vector3(0f, 0f, 0), Quaternion.identity);
 }