Beispiel #1
0
        public void UltF()
        {
            Player      player    = Main.player[Main.myPlayer];
            LightPlayer modPlayer = player.GetModPlayer <LightPlayer>();

            modPlayer.Ult = 3;
            //player.HeldItem.ReloadGun();
        }
Beispiel #2
0
        /*public static void ModifyTooltips(List<TooltipLine> tooltips, Item item)
         * {
         *  // Fist Items only
         *  if (item.useStyle == useStyle)
         *  {
         *      int index = 0;
         *      foreach (TooltipLine tooltip in tooltips)
         *      {
         *          if (tooltip.Name.Equals("TileBoost")) break;
         *          index++;
         *      }
         *      int comboBonus = Main.LocalPlayer.GetModPlayer<ModPlayerFists>().comboCounterMaxBonus;
         *      tooltips.RemoveAt(index);
         *      TooltipLine tt = new TooltipLine(item.modItem.mod, "FistComboPower",
         *          Math.Max(2, item.tileBoost + comboBonus) +
         *          " combo power cost");
         *      tt.overrideColor = tooltipColour;
         *      tooltips.Insert(index, tt);
         *  }
         * }*/

        public void ChannelF()
        {
            Player      player    = Main.player[Main.myPlayer];
            LightPlayer modPlayer = player.GetModPlayer <LightPlayer>();

            modPlayer.channeling = 2;
            //player.HeldItem.ReloadGun();
        }