45 -> 20 base dps Abaddon 3.5x -> 3x crit to bane damage Apollyon 7.5x -> 8x crit to bane damage Abaddon with 40% crit (6 lucky, 12% gear crit): 44 DPS (Tier expects ~550 DPS total) Apollyon with 55% crit (6 lucky, 27% gear crit): 108 DPS (Tier expects ~1300 DPS total. It's very easy to critmax further then this at this tier.)
39 lines
1.4 KiB
C#
39 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
using CalamityMod.Buffs.DamageOverTime;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.Localization;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Accessories
|
|
{
|
|
[AutoloadEquip(EquipType.Face)]
|
|
public class Abaddon : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Accessories";
|
|
|
|
public static float BrimstoneFlamesReduction = 0.5f;
|
|
public static float critScaling = 3f; // How effective crit chance is at increasing debuff damage
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 26;
|
|
Item.height = 26;
|
|
Item.value = CalamityGlobalItem.RarityPinkBuyPrice;
|
|
Item.rare = ItemRarityID.Pink;
|
|
Item.accessory = true;
|
|
}
|
|
|
|
public override void UpdateAccessory(Player player, bool hideVisual)
|
|
{
|
|
player.Calamity().abaddon = true;
|
|
player.Calamity().abaddonEffectVisual = !hideVisual;
|
|
}
|
|
public override void ModifyTooltips(List<TooltipLine> list)
|
|
{
|
|
if (Main.LocalPlayer != null)
|
|
list.FindAndReplace("[DAMAGELINE]", Main.LocalPlayer.Calamity().abaddon ? this.GetLocalization("Equipped").Format(((int)(Bane.debuffData.EnemyLostRegen / 2 * Main.LocalPlayer.Calamity().playerBaneDebuffDamage)).ToString())
|
|
: this.GetLocalizedValue("Unequipped"));
|
|
}
|
|
}
|
|
}
|