public override bool HotKeyMatch(TriggersSet triggers, AbilityHotkeys abilityKeys) { if (abilityKeys.Get <Dash>().JustPressed&& triggers.DirectionsRaw != default) { Dir = Vector2.Normalize(triggers.DirectionsRaw); return(true); } return(false); }
public override bool HotKeyMatch(TriggersSet triggers, AbilityHotkeys abilityKeys) { if (abilityKeys.Get <Dash>().JustPressed&& triggers.DirectionsRaw != default) { Dir = Vector2.Normalize(triggers.DirectionsRaw); if (Player.HasBuff(BuffID.Confused)) { Dir = new Vector2(Dir.X * -1, Dir.Y); } return(true); } return(false); }
public override bool HotKeyMatch(TriggersSet triggers, AbilityHotkeys abilityKeys) { return(abilityKeys.Get <Pure>().JustPressed); }
public override bool HotKeyMatch(TriggersSet triggers, AbilityHotkeys abilityKeys) { return(abilityKeys.Get <Whip>().Current); }