1 - More debuff stuff.

2 - Moon Lord leech clots linger for 3 seconds so that you have enough time to kill them.
This commit is contained in:
mountaindrew10 committed 2022-05-06 18:13:18 -05:00
1 parent 5dcaabac7e
commit 40307cedc1
2 files changed
+7 -3

No files matched your search

+6 -2
View File
@@ -1,4 +1,5 @@
using Terraria;
using CalamityMod.Buffs.DamageOverTime;
using Terraria;
using Terraria.ID;
using Terraria.DataStructures;
using Terraria.ModLoader;
@@ -13,7 +14,8 @@ namespace CalamityMod.Items.Accessories
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
DisplayName.SetDefault("Dynamo Stem Cells");
Tooltip.SetDefault(@"10% increased movement speed
Ranged weapons have a chance to fire mini swarmers");
Ranged weapons have a chance to fire mini swarmers
Grants immunity to Dragon Fire and Electrified");
Main.RegisterItemAnimation(Item.type, new DrawAnimationVertical(6, 5));
}
@@ -30,6 +32,8 @@ Ranged weapons have a chance to fire mini swarmers");
{
player.Calamity().dynamoStemCells = true;
player.moveSpeed += 0.1f;
player.buffImmune[BuffID.Electrified] = true;
player.buffImmune[ModContent.BuffType<LethalLavaBurn>()] = true;
}
}
}
@@ -2111,7 +2111,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses
else if (npc.type == NPCID.MoonLordLeechBlob)
{
// Variables
float num1265 = 120f;
float num1265 = 180f;
Vector2 value28 = new Vector2(0f, 216f);
int num1266 = (int)Math.Abs(npc.ai[0]) - 1;
int num1267 = (int)npc.ai[1];