Files
CalamityModPublic/Items/Potions/Alcohol/CinnamonRoll.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.1 KiB
C#

using CalamityMod.Buffs.Alcohol;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Potions.Alcohol
{
public class CinnamonRoll : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Cinnamon Roll");
Tooltip.SetDefault(@"A great-tasting cinnamon whiskey with a touch of cream soda
Boosts mana regeneration rate and multiplies all fire-based debuff damage by 1.5
Reduces defense by 10%");
}
public override void SetDefaults()
{
item.width = 28;
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.LightRed;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.consumable = true;
item.buffType = ModContent.BuffType<CinnamonRollBuff>();
item.buffTime = CalamityUtils.SecondsToFrames(480f);
item.value = Item.buyPrice(0, 5, 30, 0);
}
}
}