2 - Malice items now drop on all modes. 3 - Malice item tooltip edited because it is now a pure challenge mode with no content gated behind it, except for Gael's Greatsword. 4 - Malice weapon damage reduced by 20%. They'll all require testing, but this was done to hopefully balance them on all modes a bit before that.
42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
using CalamityMod.Projectiles.Magic;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Items.Weapons.Magic
|
|
{
|
|
public class Thunderstorm : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Thunderstorm");
|
|
Tooltip.SetDefault("Make it rain");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.damage = 132;
|
|
item.mana = 50;
|
|
item.magic = true;
|
|
item.width = 48;
|
|
item.height = 22;
|
|
item.useTime = 24;
|
|
item.useAnimation = 24;
|
|
item.useStyle = ItemUseStyleID.HoldingOut;
|
|
item.noMelee = true;
|
|
item.knockBack = 2f;
|
|
item.value = CalamityGlobalItem.Rarity12BuyPrice;
|
|
item.rare = ItemRarityID.Purple;
|
|
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
|
item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/PlasmaBlast");
|
|
item.autoReuse = true;
|
|
item.shootSpeed = 6f;
|
|
item.shoot = ModContent.ProjectileType<ThunderstormShot>();
|
|
}
|
|
|
|
public override Vector2? HoldoutOffset()
|
|
{
|
|
return new Vector2(-10, 0);
|
|
}
|
|
}
|
|
}
|