fixed NPC namespaces and misc dust errors
No files matched your search
@@ -3,6 +3,7 @@ using CalamityMod.Localization;
|
||||
using CalamityMod.NPCs;
|
||||
using CalamityMod.Skies;
|
||||
using CalamityMod.UI;
|
||||
using CalamityMod.Buffs.Alcohol;
|
||||
|
||||
using CalamityMod.World;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -19,6 +20,15 @@ using Terraria.ID;
|
||||
using Terraria.UI;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Accessories.Vanity;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.NPCs.DevourerofGods;
|
||||
using CalamityMod.NPCs.Calamitas;
|
||||
using CalamityMod.NPCs.PlaguebringerGoliath;
|
||||
using CalamityMod.NPCs.Yharon;
|
||||
using CalamityMod.NPCs.Leviathan;
|
||||
using CalamityMod.NPCs.Providence;
|
||||
using CalamityMod.NPCs.SupremeCalamitas;
|
||||
|
||||
namespace CalamityMod
|
||||
{
|
||||
@@ -632,19 +642,19 @@ namespace CalamityMod
|
||||
BuffID.WitheredWeapon,
|
||||
BuffID.OgreSpit,
|
||||
BuffID.BetsysCurse,
|
||||
calamity.BuffType("Shadowflame"),
|
||||
calamity.BuffType("BrimstoneFlames"),
|
||||
calamity.BuffType("BurningBlood"),
|
||||
calamity.BuffType("GlacialState"),
|
||||
calamity.BuffType("GodSlayerInferno"),
|
||||
calamity.BuffType("AstralInfectionDebuff"),
|
||||
calamity.BuffType("HolyLight"),
|
||||
calamity.BuffType("Irradiated"),
|
||||
calamity.BuffType("Plague"),
|
||||
calamity.BuffType("AbyssalFlames"),
|
||||
calamity.BuffType("CrushDepth"),
|
||||
calamity.BuffType("Horror"),
|
||||
calamity.BuffType("MarkedforDeath")
|
||||
ModContent.BuffType<Shadowflame>(),
|
||||
ModContent.BuffType<BrimstoneFlames>(),
|
||||
ModContent.BuffType<BurningBlood>(),
|
||||
ModContent.BuffType<GlacialState>(),
|
||||
ModContent.BuffType<GodSlayerInferno>(),
|
||||
ModContent.BuffType<AstralInfectionDebuff>(),
|
||||
ModContent.BuffType<HolyFlames>(),
|
||||
ModContent.BuffType<Irradiated>(),
|
||||
ModContent.BuffType<Plague>(),
|
||||
ModContent.BuffType<AbyssalFlames>(),
|
||||
ModContent.BuffType<CrushDepth>(),
|
||||
ModContent.BuffType<Horror>(),
|
||||
ModContent.BuffType<MarkedforDeath>()
|
||||
};
|
||||
|
||||
fireWeaponList = new List<int>()
|
||||
@@ -837,25 +847,25 @@ namespace CalamityMod
|
||||
|
||||
alcoholList = new List<int>()
|
||||
{
|
||||
calamity.BuffType("BloodyMary"),
|
||||
calamity.BuffType("CaribbeanRum"),
|
||||
calamity.BuffType("CinnamonRoll"),
|
||||
calamity.BuffType("Everclear"),
|
||||
calamity.BuffType("EvergreenGin"),
|
||||
calamity.BuffType("Fireball"),
|
||||
calamity.BuffType("GrapeBeer"),
|
||||
calamity.BuffType("Margarita"),
|
||||
calamity.BuffType("Moonshine"),
|
||||
calamity.BuffType("MoscowMule"),
|
||||
calamity.BuffType("RedWine"),
|
||||
calamity.BuffType("Rum"),
|
||||
calamity.BuffType("Screwdriver"),
|
||||
calamity.BuffType("StarBeamRye"),
|
||||
calamity.BuffType("Tequila"),
|
||||
calamity.BuffType("TequilaSunrise"),
|
||||
calamity.BuffType("Vodka"),
|
||||
calamity.BuffType("Whiskey"),
|
||||
calamity.BuffType("WhiteWine")
|
||||
ModContent.BuffType<BloodyMaryBuff>(),
|
||||
ModContent.BuffType<CaribbeanRumBuff>(),
|
||||
ModContent.BuffType<CinnamonRollBuff>(),
|
||||
ModContent.BuffType<EverclearBuff>(),
|
||||
ModContent.BuffType<EvergreenGinBuff>(),
|
||||
ModContent.BuffType<FireballBuff>(),
|
||||
ModContent.BuffType<GrapeBeerBuff>(),
|
||||
ModContent.BuffType<MargaritaBuff>(),
|
||||
ModContent.BuffType<MoonshineBuff>(),
|
||||
ModContent.BuffType<MoscowMuleBuff>(),
|
||||
ModContent.BuffType<RedWineBuff>(),
|
||||
ModContent.BuffType<RumBuff>(),
|
||||
ModContent.BuffType<ScrewdriverBuff>(),
|
||||
ModContent.BuffType<StarBeamRyeBuff>(),
|
||||
ModContent.BuffType<TequilaBuff>(),
|
||||
ModContent.BuffType<TequilaSunriseBuff>(),
|
||||
ModContent.BuffType<VodkaBuff>(),
|
||||
ModContent.BuffType<WhiskeyBuff>(),
|
||||
ModContent.BuffType<WhiteWineBuff>()
|
||||
};
|
||||
|
||||
doubleDamageBuffList = new List<int>()
|
||||
|
||||
|
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 195 B |
@@ -9,7 +9,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Bloatfish : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
@@ -11,7 +11,7 @@ using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Materials;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class BobbitWormHead : ModNPC
|
||||
{
|
||||
@@ -220,9 +220,9 @@ namespace CalamityMod.NPCs
|
||||
drawPositionY = Main.npc[CalamityGlobalNPC.bobbitWormBottom].Center.Y - center.Y;
|
||||
drawPositionY += 4f;
|
||||
Color color = Lighting.GetColor((int)center.X / 16, (int)(center.Y / 16f));
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment"), new Vector2(center.X - Main.screenPosition.X, center.Y - Main.screenPosition.Y),
|
||||
new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, 0, ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment").Width, ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment").Height)), color, rotation,
|
||||
new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment").Width * 0.5f, (float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/BobbitWormSegment").Height * 0.5f), 1f, SpriteEffects.None, 0f);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment"), new Vector2(center.X - Main.screenPosition.X, center.Y - Main.screenPosition.Y),
|
||||
new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, 0, ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment").Width, ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment").Height)), color, rotation,
|
||||
new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment").Width * 0.5f, (float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/BobbitWormSegment").Height * 0.5f), 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
@@ -2,7 +2,7 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class BobbitWormSegment : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class BoxJellyfish : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -5,7 +5,7 @@ using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Catfish : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -10,7 +10,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class ChaoticPuffer : ModNPC
|
||||
{
|
||||
@@ -139,10 +139,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ChaoticPufferGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ChaoticPufferGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/ChaoticPufferGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ChaoticPufferGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Yellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ChaoticPufferGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ChaoticPufferGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
@@ -13,7 +13,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class ColossalSquid : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
@@ -12,7 +12,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Cuttlefish : ModNPC
|
||||
{
|
||||
@@ -286,10 +286,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/CuttlefishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/CuttlefishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/CuttlefishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/CuttlefishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Gold);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/CuttlefishGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/CuttlefishGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 927 B After Width: | Height: | Size: 927 B |
@@ -12,7 +12,7 @@ using System.IO;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class DevilFish : ModNPC
|
||||
{
|
||||
@@ -279,10 +279,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/DevilFishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/DevilFishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/DevilFishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/DevilFishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Red);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/DevilFishGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/DevilFishGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class EidolonWyrmBody : ModNPC
|
||||
{
|
||||
@@ -147,10 +147,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class EidolonWyrmBodyAlt : ModNPC
|
||||
{
|
||||
@@ -147,10 +147,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class EidolonWyrmBodyAltHuge : ModNPC
|
||||
{
|
||||
@@ -147,10 +147,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyAltGlowHuge"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyAltGlowHuge"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class EidolonWyrmBodyHuge : ModNPC
|
||||
{
|
||||
@@ -147,10 +147,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmBodyGlowHuge"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmBodyGlowHuge"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
@@ -15,7 +15,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class EidolonWyrmHead : ModNPC
|
||||
{
|
||||
@@ -463,10 +463,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
@@ -14,7 +14,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class EidolonWyrmHeadHuge : ModNPC
|
||||
{
|
||||
@@ -465,10 +465,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmHeadGlowHuge"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmHeadGlowHuge"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
@@ -5,7 +5,7 @@ using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class EidolonWyrmTail : ModNPC
|
||||
{
|
||||
@@ -146,10 +146,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -5,7 +5,7 @@ using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class EidolonWyrmTailHuge : ModNPC
|
||||
{
|
||||
@@ -146,10 +146,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlowHuge").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlowHuge").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/EidolonWyrmTailGlowHuge"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/EidolonWyrmTailGlowHuge"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
@@ -7,7 +7,7 @@ using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Projectiles.Enemy;
|
||||
using CalamityMod.Items.Materials;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Flounder : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -6,7 +6,7 @@ using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Items.Materials;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Frogfish : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
@@ -12,7 +12,7 @@ using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class GiantSquid : ModNPC
|
||||
{
|
||||
@@ -220,10 +220,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GiantSquidGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GiantSquidGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GiantSquidGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GiantSquidGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Cyan);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GiantSquidGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GiantSquidGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 546 B |
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Gnasher : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class GulperEelBody : ModNPC
|
||||
{
|
||||
@@ -147,10 +147,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class GulperEelBodyAlt : ModNPC
|
||||
{
|
||||
@@ -147,10 +147,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyAltGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyAltGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyAltGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyAltGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelBodyAltGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelBodyAltGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -12,7 +12,7 @@ using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class GulperEelHead : ModNPC
|
||||
{
|
||||
@@ -360,10 +360,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelHeadGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelHeadGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelHeadGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelHeadGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelHeadGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelHeadGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -6,7 +6,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class GulperEelTail : ModNPC
|
||||
{
|
||||
@@ -147,10 +147,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelTailGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelTailGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelTailGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelTailGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/GulperEelTailGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/GulperEelTailGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -11,7 +11,7 @@ using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Materials;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Laserfish : ModNPC
|
||||
{
|
||||
@@ -269,10 +269,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LaserfishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LaserfishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/LaserfishGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/LaserfishGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Yellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LaserfishGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/LaserfishGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -13,7 +13,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class LuminousCorvina : ModNPC
|
||||
{
|
||||
@@ -262,10 +262,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LuminousCorvinaGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LuminousCorvinaGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/LuminousCorvinaGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/LuminousCorvinaGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightBlue);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/LuminousCorvinaGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/LuminousCorvinaGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -4,7 +4,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class MantisShrimp : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -10,7 +10,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Mauler : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@@ -11,7 +11,7 @@ using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Accessories;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class MirageJelly : ModNPC
|
||||
{
|
||||
@@ -168,10 +168,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MirageJellyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MirageJellyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/MirageJellyGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/MirageJellyGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Purple);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MirageJellyGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/MirageJellyGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
@@ -8,7 +8,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class MorayEel : ModNPC
|
||||
{
|
||||
@@ -238,10 +238,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MorayEelGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MorayEelGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/MorayEelGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/MorayEelGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.Gold);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/MorayEelGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/MorayEelGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 944 B After Width: | Height: | Size: 944 B |
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class OarfishBody : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 293 B After Width: | Height: | Size: 293 B |
@@ -9,7 +9,7 @@ using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class OarfishHead : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 770 B After Width: | Height: | Size: 770 B |
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class OarfishTail : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 353 B |
@@ -13,7 +13,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Reaper : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
@@ -6,7 +6,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class SeaUrchin : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 849 B After Width: | Height: | Size: 849 B |
@@ -12,7 +12,7 @@ using CalamityMod.Projectiles.Enemy;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Items.Materials;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class ToxicMinnow : ModNPC
|
||||
{
|
||||
@@ -219,10 +219,10 @@ namespace CalamityMod.NPCs
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ToxicMinnowGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ToxicMinnowGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/Abyss/ToxicMinnowGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ToxicMinnowGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Color color = new Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightGreen);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/AbyssNPCs/ToxicMinnowGlow"), vector,
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/Abyss/ToxicMinnowGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 1019 B After Width: | Height: | Size: 1019 B |
@@ -7,7 +7,7 @@ using Terraria.ID;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.Items.Pets;
|
||||
|
||||
namespace CalamityMod.NPCs
|
||||
namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class Trasher : ModNPC
|
||||
{
|
||||
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |