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); }
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); }
private void Awake() { Current = this; }
public void supernova() { Supernova newNova = Instantiate(nova, new Vector3(0f, 0f, 0), Quaternion.identity); }