public Slark(Unit9 owner, MultiSleeper abilitySleeper, Sleeper orbwalkSleeper, ControllableUnitMenu menu) : base(owner, abilitySleeper, orbwalkSleeper, menu) { this.ComboAbilities = new Dictionary <AbilityId, Func <ActiveAbility, UsableAbility> > { { AbilityId.slark_dark_pact, x => this.pact = new NukeAbility(x) }, { AbilityId.slark_pounce, x => this.pounce = new Pounce(x) }, { AbilityId.slark_shadow_dance, x => this.dance = new ShadowDance(x) }, { AbilityId.item_phase_boots, x => this.phase = new SpeedBuffAbility(x) }, { AbilityId.item_abyssal_blade, x => this.abyssal = new DisableAbility(x) }, { AbilityId.item_sheepstick, x => this.hex = new DisableAbility(x) }, { AbilityId.item_orchid, x => this.orchid = new DisableAbility(x) }, { AbilityId.item_bloodthorn, x => this.bloodthorn = new Bloodthorn(x) }, { AbilityId.item_nullifier, x => this.nullifier = new Nullifier(x) }, { AbilityId.item_blink, x => this.blink = new BlinkAbility(x) }, { AbilityId.item_swift_blink, x => this.blink = new BlinkAbility(x) }, { AbilityId.item_arcane_blink, x => this.blink = new BlinkAbility(x) }, { AbilityId.item_overwhelming_blink, x => this.blink = new BlinkAbility(x) }, { AbilityId.item_solar_crest, x => this.solar = new DebuffAbility(x) }, { AbilityId.item_medallion_of_courage, x => this.medallion = new DebuffAbility(x) }, { AbilityId.item_diffusal_blade, x => this.diffusal = new DebuffAbility(x) }, { AbilityId.item_silver_edge, x => this.silver = new BuffAbility(x) }, { AbilityId.item_invis_sword, x => this.shadow = new BuffAbility(x) }, }; this.MoveComboAbilities.Add(AbilityId.slark_pounce, x => this.pounceBlink = new ForceStaff(x)); }
// Use this for initialization void Start() { joystick = InputManager.ActiveDevice; RCC = gameObject.GetComponent <RayCastController> (); charScript = gameObject.GetComponent <Character> (); pnce = gameObject.GetComponent <Pounce> (); }
public static void Special_Draw_2(EventArgs agrs) { if (Checked && Event.Humanform() && Spells.Q.IsLearned && Event.IsReady(Event.CD["Takedown"])) { Takedown.Draw(new Vector2(275 + XBonus, 200 + YBonus)); Drawing.DrawText(275 + XBonus, 275 + YBonus, Colour.Green, "Ready"); } if (Checked && Event.Humanform() && Spells.W.IsLearned && Event.IsReady(Event.CD["Pounce"])) { Pounce.Draw(new Vector2(345 + XBonus, 200 + YBonus)); Drawing.DrawText(345 + XBonus, 275 + YBonus, Colour.Green, "Ready"); } if (Checked && Event.Humanform() && Spells.E.IsLearned && Event.IsReady(Event.CD["Swipe"])) { Swipe.Draw(new Vector2(415 + XBonus, 200 + YBonus)); Drawing.DrawText(415 + XBonus, 275 + YBonus, Colour.Green, "Ready"); } if (Checked && Event.Humanform() && Event.IsReady(Event.CD["Aspect"])) { R1.Draw(new Vector2(485 + XBonus, 200 + YBonus)); Drawing.DrawText(485 + XBonus, 275 + YBonus, Colour.Green, "Ready"); } //-----------------------------------------------------------------------------// if (Checked && !Event.Humanform() && Spells.Q2.IsLearned && Event.IsReady(Event.CD["Javelintoss"])) { Javelin_Toss.Draw(new Vector2(275 + XBonus, 200 + YBonus)); Drawing.DrawText(275 + XBonus, 275 + YBonus, Colour.Green, "Ready"); } if (Checked && !Event.Humanform() && Spells.W2.IsLearned && Event.IsReady(Event.CD["Bushwhack"])) { Bushwhack.Draw(new Vector2(345 + XBonus, 200 + YBonus)); Drawing.DrawText(345 + XBonus, 275 + YBonus, Colour.Green, "Ready"); } if (Checked && !Event.Humanform() && Spells.E2.IsLearned && Event.IsReady(Event.CD["Primalsurge"])) { Primal_Surge.Draw(new Vector2(415 + XBonus, 200 + YBonus)); Drawing.DrawText(415 + XBonus, 275 + YBonus, Colour.Green, "Ready"); } if (Checked && !Event.Humanform() && Event.IsReady(Event.CD["Aspect"])) { Aspect_of_the_Cougar.Draw(new Vector2(485 + XBonus, 200 + YBonus)); Drawing.DrawText(485 + XBonus, 275 + YBonus, Colour.Green, "Ready"); } }
// Use this for initialization void Start() { pnce = gameObject.GetComponent <Pounce> (); TL = GameObject.Find("GameManager").GetComponent <TestLevel> (); }
//Red = 160,0,0 //white = 255,255,255 // Use this for initialization void Start() { pnce = gameObject.GetComponent <Pounce> (); ArrowSize = 2; }