예제 #1
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.07f);
     ClickerCompat.SetClickerCritAdd(player, 3);
     ClickerCompat.SetClickerRadiusAdd(player, 0.4f);
     //ClickerCompat.EnableClickEffect(player, "ClickerClass:TrueStrike");
 }
예제 #2
0
 public override void UpdateEquip(Player player)
 {
     /*player.GetModPlayer<ClickerPlayer>().clickerDamage += 0.15f;
      * player.GetModPlayer<ClickerPlayer>().clickerRadius += 0.7f;*/
     ClickerCompat.SetDamageAdd(player, 0.15f);
     ClickerCompat.SetClickerRadiusAdd(player, 0.7f);
 }
예제 #3
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.14f);
     ClickerCompat.SetClickerCritAdd(player, 14);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.45f));
     ClickerCompat.SetClickerBonusAdd(player, 1);
 }
예제 #4
0
 public override void UpdateArmorSet(Player player)
 {
     player.setBonus = "Increases your base click radius by 30% and crit by 2%";
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.3f));
     ClickerCompat.SetClickerCritAdd(player, 2);
     player.GetModPlayer <GraphicPlayer>().rainbowGelArmor = true;
 }
예제 #5
0
 public override void UpdateEquip(Player player)
 {
     /*player.GetModPlayer<ClickerPlayer>().clickerDamage += 0.06f;
      * player.GetModPlayer<ClickerPlayer>().clickerRadius += 0.4f;*/
     ClickerCompat.SetDamageAdd(player, 0.05f);
     //ClickerCompat.SetClickerCritAdd(player, 6);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.1f));
 }
예제 #6
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.1f);
     ClickerCompat.SetClickerCritAdd(player, 10);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.35f));
     player.lavaMax    += 240;
     player.ignoreWater = true;
 }
예제 #7
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.12f);
     ClickerCompat.SetClickerCritAdd(player, 10);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.55f));
     player.GetModPlayer <ClickerAddonPlayer>().magmaChair = true;
     player.lavaMax       += 240;
     player.buffImmune[24] = true;
 }
예제 #8
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            //Stats
            ClickerCompat.SetDamageAdd(player, 0.3f);
            ClickerCompat.SetClickerCritAdd(player, 15);
            ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.75f));
            ClickerCompat.SetClickerBonusPercentAdd(player, -0.25f);

            player.GetModPlayer <ClickerSoulPlayer>().AllClickerAcc(hideVisual);
            player.GetModPlayer <ClickerSoulPlayer>().ForceOfProgram();
        }
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            //Use these methods to adjust clicker class related variables (treat them like player.meleeDamage etc.)
            //Only a small sample here
            //If you use VS, just mouseover the method name to see what it does
            ClickerCompat.SetDamageAdd(player, 0.2f);
            ClickerCompat.SetClickerBonusAdd(player, 1);

            //Enables the special effect of the "Glass Of Milk" accessory
            ClickerCompat.SetAccessory(player, "GlassOfMilk");

            //Enabled the click effect given by Chocolate Chip
            //You can use Clicker Classes base effects (you can find them in the source code), or your own ones
            ClickerCompat.EnableClickEffect(player, "ClickerClass:ChocolateChip");

            //How to check if an effect is enabled for the player
            bool hasChocolateChip = ClickerCompat.HasClickEffect(player, "ClickerClass:ChocolateChip");

            //Makes the radius go in a wave motion from 0 to 100 additional pixels
            float fluct = 1f + (float)Math.Sin(2 * Math.PI * (Main.GameUpdateCount % 60) / 60f);

            ClickerCompat.SetClickerRadiusAdd(player, fluct / 2);
        }
예제 #10
0
 public override void UpdateArmorSet(Player player)
 {
     player.setBonus = "Increases your base click radius by 25%";
     /*player.GetModPlayer<ClickerPlayer>().clickerCrit += 4;*/
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.25f));
 }
예제 #11
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.07f);
     ClickerCompat.SetClickerRadiusAdd(player, 2);
 }
예제 #12
0
 public override void UpdateAccessory(Player player, bool hideVisual)
 {
     ClickerCompat.SetDamageAdd(player, 0.18f);
     ClickerCompat.SetClickerCritAdd(player, 5);
     ClickerCompat.SetClickerRadiusAdd(player, 0.2f);
 }
예제 #13
0
 public override void UpdateArmorSet(Player player)
 {
     player.setBonus = "Increases your base click radius by 20%";
     /*player.GetModPlayer<ClickerPlayer>().clickerCrit += 4;*/
     ClickerCompat.SetClickerRadiusAdd(player, 0.4f);
 }
예제 #14
0
 public override void UpdateEquip(Player player)
 {
     ClickerCompat.SetDamageAdd(player, 0.08f);
     //ClickerCompat.SetClickerCritAdd(player, 6);
     ClickerCompat.SetClickerRadiusAdd(player, WitherTacoLib.Math.Radius(0.15f));
 }