コード例 #1
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault($"{ModHelpers.ToPercentage(regenMultiplier)}% increased total health regeneration\n" +
                        $"{ModHelpers.ToPercentage(damageMultiplier)}% decreased damage\n" +
                        "The wearer will always feel great, but their energy is drained.\n" +
                        "Artifact of the Succubus");
 }
コード例 #2
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault($"Attacking enemies has a {ModHelpers.ToPercentage(chance)}% chance to hasten attack speed\n" +
                        $"Critical rate is reduced by {critDecrease}%\n" +
                        "One of the relics known to summon an evil being.\n" +
                        "Artifact of the Vampire");
 }
コード例 #3
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault("Reduces damage reduction to 0%\n" +
                        $"{ModHelpers.ToPercentage(dmgIncPercentage)}% of depleted damage reduction is converted to bonus melee damage %\n" +
                        "Great power is within the shackles, and sacrificing sanity is the key to unleash it.\n" +
                        "Artifact of the Devil");
 }
コード例 #4
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault("Reduces defense to 0\n" +
                        $"{ModHelpers.ToPercentage(dmgIncPercentage)}% of depleted defense is converted to melee damage\n" +
                        "The wearer will feel tremendous strength, but their fate will be under the command of something else.\n" +
                        "Artifact of the Devil");
 }
コード例 #5
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault($"{ModHelpers.ToPercentage(lifeMultiplier)}% increased total health\n" +
                        $"{ModHelpers.ToPercentage(manaMultiplier)}% decreased total mana\n" +
                        "The wearer will feel proud of their physical build, eventually losing their thoughts completely.\n" +
                        "Artifact of the Succubus");
 }
コード例 #6
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault($"{ModHelpers.ToPercentage(lifeStealMultiplier)}% life steal\n" +
                        $"{ModHelpers.ToPercentage(statsMultiplier)}% decreased damage reduction and knockback\n" +
                        $"Total defense cut down by {ModHelpers.ToPercentage(statsMultiplier)}%\n" +
                        "It will grant the wearer the powers of a weakened night stalker.\n" +
                        "Artifact of the Vampire");
 }
コード例 #7
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault($"Attacking enemies has a {ModHelpers.ToPercentage(chance)}% chance to inflict Bleeding, Poisoned or Venom\n" +
                        $"Max Life decreased by {healthDecrease}\n" +
                        $"Slightly reduces health regeneration\n" +
                        "A hideous artifact required for reviving an ancient evil.\n" +
                        "Artifact of the Vampire");
 }
コード例 #8
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault("Slightly increases health regeneration\n" +
                        "Lost health % is converted to defense and damage reduction\n" +
                        $"{ModHelpers.ToPercentage(critDmgReduction)}% decreased critical damage\n" +
                        "This ring is said to have enslaved the heart and mind of the beholder.\n" +
                        "Artifact of the Succubus");
 }
コード例 #9
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault("Slightly increases mana regeneration\n" +
                        $"Received damage has a {ModHelpers.ToPercentage(redirectChance)}% chance to be " +
                        "redirected to mana instead of health\n" +
                        $"{ModHelpers.ToPercentage(speedReduction)}% decreased running acceleration and deceleration\n" +
                        "This fine jewelry is known to protect the wearer in exchange for their inner energy.\n" +
                        "Artifact of the Succubus");
 }
コード例 #10
0
 public override void SetStaticDefaults()
 {
     Tooltip.SetDefault("Reduces melee critical damage to 0%\n" +
                        $"Critical damage will increase by {ModHelpers.ToPercentage(incCritDmg)}% every " +
                        $"{ModHelpers.ToSeconds(tickInc)} {ModHelpers.PluralizeSecond(tickInc)} when in battle\n" +
                        $"Critical damage will decrease by {ModHelpers.ToPercentage(decCritDmg)}% if hurt\n" +
                        "The very garments of the evil one.\n" +
                        "The wearer will have the same power as the evil one, but at what cost?\n" +
                        "Artifact of the Devil");
 }
コード例 #11
0
        public override void ModifyTooltips(List <TooltipLine> tooltips)
        {
            AccessoryModPlayer modPlayer = ItemOwner(Main.player[item.owner]);

            if (modPlayer.sashOfTheEvilOne)
            {
                TooltipLine newLine = new TooltipLine(mod, "Tracker", $"Current Critical Damage: {ModHelpers.ToPercentage(modPlayer.sashOfTheEvilOneCritDmg)}%");
                tooltips.Add(newLine);
            }
        }