Files
CalamityModPublic/Items/Potions/Alcohol/Fireball.cs
T
Andrew Marheine bb66f80599 1 - Cinnamon Roll and Fireball boost heat-related debuff damage by 50%.
2 - Evergreen Gin boosts sickness and water-related debuff damage by 50%.
3 - Eskimo Set boosts cold-related debuff damage by 50%.
4 - Removed organic and inorganic damage bonuses.
5 - Fixed Aegis Blade alt fire doing stupid damage.
2022-01-11 14:53:37 -06:00

36 lines
1.0 KiB
C#

using CalamityMod.Buffs.Alcohol;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Potions.Alcohol
{
public class Fireball : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Fireball");
Tooltip.SetDefault(@"A great-tasting cinnamon whiskey
Multiplies all fire-based debuff damage by 1.5
Reduces life regen by 1");
}
public override void SetDefaults()
{
item.width = 28;
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Green;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.consumable = true;
item.buffType = ModContent.BuffType<FireballBuff>();
item.buffTime = CalamityUtils.SecondsToFrames(480f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
}
}