fixed glowmask offsets and bobbit worm mvt issues

This commit is contained in:
ben-tk committed 2021-01-03 10:38:53 -05:00
1 parent 51b2710660
commit bc9b35e960
3 files changed
+7 -9

No files matched your search

+2 -1
View File
@@ -540,7 +540,8 @@ namespace CalamityMod
ModContent.NPCType<SlimeGod>(),
ModContent.NPCType<SlimeGodRun>(),
ModContent.NPCType<SlimeGodSplit>(),
ModContent.NPCType<SlimeGodRunSplit>()
ModContent.NPCType<SlimeGodRunSplit>(),
ModContent.NPCType<BobbitWormHead>()
};
confusionEnemyList = new List<int>()
+3 -6
View File
@@ -32,8 +32,8 @@ namespace CalamityMod.Items.TreasureBags
{
item.maxStack = 999;
item.consumable = true;
item.width = 24;
item.height = 24;
item.width = 36;
item.height = 34;
item.rare = 9;
item.expert = true;
}
@@ -43,10 +43,7 @@ namespace CalamityMod.Items.TreasureBags
item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.GetTexture("CalamityMod/Items/TreasureBags/DevourerofGodsBagGlow"));
}
public override bool CanRightClick()
{
return true;
}
public override bool CanRightClick() => true;
public override void PostUpdate() => CalamityUtils.ForceItemIntoWorld(item);
+2 -2
View File
@@ -30,8 +30,8 @@ namespace CalamityMod.Items.TreasureBags
{
item.maxStack = 999;
item.consumable = true;
item.width = 24;
item.height = 24;
item.width = 32;
item.height = 34;
item.rare = 9;
item.expert = true;
}