Files
CalamityModPublic/Items/Weapons/Magic/EyeofMagnus.cs
T
Andrew Marheine 11654c9841 1 - Fixed some rarity issues.
2 - Edited the Terraria movement speed cap to something more reasonable.
3 - Cal Clone despawns her bullet hell projectiles once the phase is done.
2021-04-30 07:25:11 -05:00

45 lines
1.3 KiB
C#

using CalamityMod.Projectiles.Magic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Weapons.Magic
{
public class EyeofMagnus : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Eye of Magnus");
Tooltip.SetDefault("Fires powerful beams\n" +
"Heals mana and health on hit");
}
public override void SetDefaults()
{
item.width = 80;
item.damage = 80;
item.rare = ItemRarityID.Cyan;
item.useAnimation = 20;
item.useTime = 20;
item.useStyle = ItemUseStyleID.HoldingOut;
item.knockBack = 2f;
item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/LaserCannon");
item.magic = true;
item.mana = 7;
item.autoReuse = true;
item.noMelee = true;
item.height = 50;
item.value = CalamityGlobalItem.Rarity9BuyPrice;
item.shoot = ModContent.ProjectileType<MagnusBeam>();
item.shootSpeed = 12f;
item.Calamity().challengeDrop = true;
}
public override Vector2? HoldoutOffset()
{
return new Vector2(-15, 0);
}
}
}