private void TrySelectingSkill(SkillDefinition def, UIMouseEvent evt, UIElement listeningElement) { DBTPlayer dbtPlayer = Main.LocalPlayer.GetModPlayer <DBTPlayer>(); dbtPlayer.EquipSkill(def); }