public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 1f); ClickerCompat.SetColor(item, Color.Red); ClickerCompat.SetDust(item, DustID.SomethingRed); //Here we use our custom effect, registered as 'modName:internalName' ClickerCompat.AddEffect(item, "ClickerAddon:ExampleEffect"); //We can add more than one effect aswell! (Here using the IEnumerable overload to make it more compact) //ClickerCompat.AddEffect(item, new List<string> { "ClickerClass:Inferno", "ClickerClass:Embrittle" }); //We can also access all available effects and do stuff with it //Here pick the first registered effect (random would be cool but Main.rand shouldn't be used in SetDefaults) /*List<string> allEffects = ClickerCompat.GetAllEffectNames(); * if (allEffects != null && allEffects.Count > 0) * { * ClickerCompat.AddEffect(item, allEffects[0]); * //If this happens to be one we already added, it won't do anything * }*/ //In total, atleast 3 effects item.damage = 10; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 1000; item.rare = ItemRarityID.Green; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 2f); ClickerCompat.SetColor(item, new Color(170, 154, 116, 0)); ClickerCompat.SetDust(item, 87); item.damage = 20; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 8000 * 5; item.rare = 4; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 0.9f); ClickerCompat.SetColor(item, new Color(61, 49, 41, 0)); ClickerCompat.SetDust(item, 87); ClickerCompat.AddEffect(item, "ClickerAddon:Boreal"); item.damage = 5; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 24; item.rare = ItemRarityID.White; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 3.1f); ClickerCompat.SetColor(item, new Color(255, 255, 0, 0)); ClickerCompat.SetDust(item, 87); ClickerCompat.AddEffect(item, "ClickerAddon:Diamond"); item.damage = 30; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 180000; item.rare = ItemRarityID.LightRed; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 6.5f); ClickerCompat.SetColor(item, new Color(21, 153, 16, 0)); ClickerCompat.SetDust(item, 140); ClickerCompat.AddEffect(item, "ClickerAddon:DeathRay"); item.damage = 215; item.width = 30; item.height = 30; item.knockBack = 2f; item.value = 50000 * 5; item.rare = ItemRarityID.Red; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 6.5f); ClickerCompat.SetColor(item, new Color(0, 148, 255, 0)); ClickerCompat.SetDust(item, 157); ClickerCompat.AddEffect(item, "ClickerAddon:AquaWave"); item.damage = 205; item.width = 30; item.height = 30; item.knockBack = 2f; item.value = 50000 * 5; item.rare = ItemRarityID.Red; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 2.1f); ClickerCompat.SetColor(item, new Color(160, 210, 160, 0)); ClickerCompat.SetDust(item, 89); //ClickerCompat.SetEffectW(item, "Holy Nova", 9); ClickerCompat.AddEffect(item, "ClickerAddon:BurstOfAir"); item.damage = 13; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 1000; item.rare = ItemRarityID.LightRed; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 6f); ClickerCompat.SetColor(item, new Color(190, 60, 70, 0)); ClickerCompat.SetDust(item, 87); //ClickerCompat.SetEffectW(item, "Holy Nova", 9); ClickerCompat.AddEffect(item, ClickerCompat.GetAllEffectNames()); item.damage = 1; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 0; item.rare = ItemRarityID.Expert; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 6f); ClickerCompat.SetColor(item, new Color(190, 60, 70, 0)); ClickerCompat.SetDust(item, 87); //ClickerCompat.SetEffectW(item, "Holy Nova", 9); ClickerCompat.AddEffect(item, "ClickerAddon:BetsyExplosion"); item.damage = 85; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 75000; item.rare = ItemRarityID.Yellow; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 3.1f); ClickerCompat.SetColor(item, new Color(0, 50, 65, 0)); ClickerCompat.SetDust(item, 89); //ClickerCompat.SetEffectW(item, "Holy Nova", 9); ClickerCompat.AddEffect(item, "ClickerAddon:XenoEffect"); item.damage = 46; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 1000; item.rare = 7; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 6f); ClickerCompat.SetColor(item, new Color(32, 224, 144, 0)); ClickerCompat.SetDust(item, 87); //ClickerCompat.SetEffectW(item, "Holy Nova", 9); ClickerCompat.AddEffect(item, "ClickerAddon:MiniSharkrones"); item.damage = 84; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 75000 * 5; item.rare = ItemRarityID.Yellow; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 2.9f); ClickerCompat.SetColor(item, new Color(150, 100, 255, 0)); ClickerCompat.SetDust(item, 27); //ClickerCompat.SetEffectW(item, "Shadow Lash", 8); ClickerCompat.AddEffect(item, "ClickerAddon:ShadowLash"); item.damage = 58; item.width = 30; item.height = 30; item.knockBack = 2f; item.value = 50000 * 5; item.rare = ItemRarityID.Pink; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 3.8f); ClickerCompat.SetColor(item, new Color(100, 225, 0, 0)); ClickerCompat.SetDust(item, 87); //ClickerCompat.SetEffectW(item, "Holy Nova", 9); ClickerCompat.AddEffect(item, "ClickerAddon:TerraDamage"); item.damage = 75; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 75000 * 5; item.rare = ItemRarityID.Yellow; }
public override void SetDefaults() { ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 3.5f); ClickerCompat.SetColor(item, new Color(255, 150, 75, 0)); ClickerCompat.SetDust(item, 9); /*ClickerCompat.SetEffect(item, "Double Click"); * ClickerCompat.SetAmount(item, 1);*/ //ClickerCompat.SetEffectW(item, "Double Click", 1); ClickerCompat.AddEffect(item, "ClickerAddon:DoubleClick"); item.damage = 47; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = 40000 * 5; item.rare = ItemRarityID.Yellow; }
public override void SetDefaults() { //This call is mandatory as it sets common stats like useStyle which is shared between all clickers ClickerCompat.SetClickerWeaponDefaults(item); //Use these methods to adjust clicker weapon specific stats ClickerCompat.SetRadius(item, 0.3f); ClickerCompat.SetColor(item, Color.White); ClickerCompat.SetDust(item, DustID.Fire); //You can use Clicker Classes base effects (you can find them in the source code), or your own ones ClickerCompat.AddEffect(item, "ClickerClass:DoubleClick"); item.damage = 4; item.width = 30; item.height = 30; item.knockBack = 0.5f; item.value = 20; item.rare = ItemRarityID.White; }
public override void SetDefaults() { /*isClicker = true; * isClickerWeapon = true; * radiusBoost = 6f; * clickerColorItem = new Color(255, 255, 255, 0); * clickerDustColor = 91; * itemClickerAmount = 1; * itemClickerEffect = "SuperConqueror"; * itemClickerColorEffect = "ffffff";*/ ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 6f); ClickerCompat.SetColor(item, new Color(41, 66, 149, 0)); ClickerCompat.SetDust(item, 226); ClickerCompat.AddEffect(item, "ClickerAddon:CultClick"); item.damage = 92; item.width = 30; item.height = 30; item.knockBack = 1f; item.value = Item.sellPrice(gold: 5); item.rare = ItemRarityID.Red; }
public override void SetDefaults() { /*isClicker = true; * isClickerWeapon = true; * radiusBoost = 6f; * clickerColorItem = new Color(255, 255, 255, 0); * clickerDustColor = 91; * itemClickerAmount = 1; * itemClickerEffect = "SuperConqueror"; * itemClickerColorEffect = "ffffff";*/ ClickerCompat.SetClickerWeaponDefaults(item); ClickerCompat.SetRadius(item, 6f); ClickerCompat.SetColor(item, new Color(255, 255, 225, 0)); ClickerCompat.SetDust(item, 91); ClickerCompat.AddEffect(item, "ClickerAddon:SuperConqueror"); item.damage = 500; item.width = 90; item.height = 90; item.knockBack = 1f; item.value = 100000; item.rare = ItemRarityID.Red; }