Zero compile errors. Now to clean up the 7500+ warnings.
This commit is contained in:
1 parent
ed850e6e44
commit
abae61b889
720 files changed
+1411
-1430
No files matched your search
@@ -48,7 +48,7 @@ namespace CalamityMod.Projectiles
|
||||
{
|
||||
if (target.rarity != 2 && !target.boss)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<SilvaStun>(), 15);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.SilvaStun>(), 15);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace CalamityMod.Projectiles
|
||||
bool flag64 = projectile.type == ModContent.ProjectileType<HermitCrabMinion>();
|
||||
Player player = Main.player[projectile.owner];
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
player.AddBuff(ModContent.BuffType<HermitCrab>(), 3600);
|
||||
player.AddBuff(ModContent.BuffType<Buffs.HermitCrab>(), 3600);
|
||||
if (flag64)
|
||||
{
|
||||
if (player.dead)
|
||||
|
||||
@@ -206,7 +206,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<SnapClamDebuff>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.SnapClamDebuff>(), 240);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 300);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 120);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 180);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -138,7 +138,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 180);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 60);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 60);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 180);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 180);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 120);
|
||||
for (int n = 0; n < 3; n++)
|
||||
{
|
||||
float x = target.position.X + (float)Main.rand.Next(-400, 400);
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 180);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 180);
|
||||
}
|
||||
|
||||
public override Color? GetAlpha(Color lightColor)
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BurningBlood>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BurningBlood>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BurningBlood>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BurningBlood>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -56,10 +56,10 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AbyssalFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AbyssalFlames>(), 180);
|
||||
|
||||
if (projectile.ai[0] == 0f)
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.VulnerabilityHex>(), 120, true);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -84,8 +84,8 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AbyssalFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 180, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AbyssalFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.VulnerabilityHex>(), 180, true);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -89,8 +89,8 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AbyssalFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 180, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AbyssalFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.VulnerabilityHex>(), 180, true);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -76,10 +76,10 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AbyssalFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AbyssalFlames>(), 180);
|
||||
|
||||
if (projectile.ai[0] == 0f)
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.VulnerabilityHex>(), 120, true);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -71,8 +71,8 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AbyssalFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AbyssalFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.VulnerabilityHex>(), 120, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 600);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 600);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -68,7 +68,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -150,8 +150,8 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AbyssalFlames>(), 900);
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 300, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AbyssalFlames>(), 900);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.VulnerabilityHex>(), 300, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -81,8 +81,8 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AbyssalFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<VulnerabilityHex>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AbyssalFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.VulnerabilityHex>(), 120, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -102,7 +102,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GodSlayerInferno>(), 180);
|
||||
}
|
||||
|
||||
public override Color? GetAlpha(Color lightColor)
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GodSlayerInferno>(), 300);
|
||||
target.AddBuff(BuffID.Frostburn, 300, true);
|
||||
target.AddBuff(BuffID.Darkness, 300, true);
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 360);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 360);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -154,7 +154,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -118,7 +118,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 240);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -115,7 +115,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -105,7 +105,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 60);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -109,7 +109,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -98,7 +98,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -109,7 +109,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -88,7 +88,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -100,7 +100,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -55,7 +55,7 @@ namespace CalamityMod.Projectiles
|
||||
{
|
||||
target.AddBuff(BuffID.Frostburn, 120, true);
|
||||
target.AddBuff(BuffID.Chilled, 90, true);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 60);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -135,7 +135,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -98,7 +98,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 90);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 90);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -86,7 +86,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 240);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 180);
|
||||
}
|
||||
|
||||
public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 180);
|
||||
}
|
||||
|
||||
public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -204,7 +204,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,11 +67,11 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
if (Main.rand.NextBool(6))
|
||||
target.AddBuff(ModContent.BuffType<Shadowflame>(), 180, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Shadowflame>(), 180, true);
|
||||
else if (Main.rand.NextBool(4))
|
||||
target.AddBuff(ModContent.BuffType<Shadowflame>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Shadowflame>(), 120, true);
|
||||
else if (Main.rand.NextBool(2))
|
||||
target.AddBuff(ModContent.BuffType<Shadowflame>(), 60, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Shadowflame>(), 60, true);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -70,11 +70,11 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
if (Main.rand.NextBool(6))
|
||||
target.AddBuff(ModContent.BuffType<Shadowflame>(), 240, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Shadowflame>(), 240, true);
|
||||
else if (Main.rand.NextBool(4))
|
||||
target.AddBuff(ModContent.BuffType<Shadowflame>(), 150, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Shadowflame>(), 150, true);
|
||||
else if (Main.rand.NextBool(2))
|
||||
target.AddBuff(ModContent.BuffType<Shadowflame>(), 90, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Shadowflame>(), 90, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -119,7 +119,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<WhisperingDeath>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.WhisperingDeath>(), 300);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -498,12 +498,12 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
if (projectile.type == ProjectileID.NettleBurstRight || projectile.type == ProjectileID.NettleBurstLeft || projectile.type == ProjectileID.NettleBurstEnd)
|
||||
{
|
||||
if (Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type == ModContent.ItemType<ThornBlossom>())
|
||||
if (Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type == ModContent.ItemType<Items.ThornBlossom>())
|
||||
projectile.penetrate = 1;
|
||||
}
|
||||
else if (projectile.type == ProjectileID.VilethornBase || projectile.type == ProjectileID.VilethornTip)
|
||||
{
|
||||
if (Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type == ModContent.ItemType<FeralthornClaymore>())
|
||||
if (Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type == ModContent.ItemType<Items.FeralthornClaymore>())
|
||||
{
|
||||
projectile.melee = true;
|
||||
projectile.magic = false;
|
||||
@@ -1291,12 +1291,12 @@ namespace CalamityMod.Projectiles
|
||||
{
|
||||
if (Main.player[projectile.owner].Calamity().pArtifact)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 300);
|
||||
}
|
||||
|
||||
if (Main.player[projectile.owner].Calamity().tearMinions)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<TemporalSadness>(), 60);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.TemporalSadness>(), 60);
|
||||
}
|
||||
|
||||
if (Main.player[projectile.owner].Calamity().shadowMinions)
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitPlayer(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -115,8 +115,8 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<DemonFlames>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GodSlayerInferno>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.DemonFlames>(), 600, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -66,12 +66,12 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<DemonFlames>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GodSlayerInferno>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.DemonFlames>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.ArmorCrunch>(), 600, true);
|
||||
if (Main.rand.NextBool(30))
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<ExoFreeze>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.ExoFreeze>(), 120, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,12 +53,12 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<DemonFlames>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GodSlayerInferno>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.DemonFlames>(), 600, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.ArmorCrunch>(), 600, true);
|
||||
if (Main.rand.NextBool(30))
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<ExoFreeze>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.ExoFreeze>(), 120, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
Player player = Main.player[projectile.owner];
|
||||
player.AddBuff(ModContent.BuffType<Molten>(), 360);
|
||||
player.AddBuff(ModContent.BuffType<Buffs.Molten>(), 360);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 300);
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 300);
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.AstralInfectionDebuff>(), 300);
|
||||
}
|
||||
|
||||
public override Color? GetAlpha(Color lightColor)
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -89,7 +89,7 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.immune[projectile.owner] = 8;
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 600);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 600);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 600);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 600);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -94,7 +94,7 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.immune[projectile.owner] = 5;
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 240);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 360);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 360);
|
||||
target.AddBuff(BuffID.Frostburn, 360);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 600);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.CrushDepth>(), 600);
|
||||
projectile.velocity *= 0.975f;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,10 +49,10 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -92,10 +92,10 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -94,7 +94,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 600);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 600);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -92,7 +92,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 600);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 600);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -75,7 +75,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -112,7 +112,7 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.immune[projectile.owner] = 5;
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 120);
|
||||
Vector2 vector80 = projectile.rotation.ToRotationVector2();
|
||||
if (projectile.owner == Main.myPlayer)
|
||||
{
|
||||
|
||||
@@ -149,7 +149,7 @@ namespace CalamityMod.Projectiles
|
||||
{
|
||||
Projectile.NewProjectile(vector2.X, vector2.Y, speedX, speedY, ModContent.ProjectileType<InfernalBlade2>(), (int)((double)projectile.damage * 0.75), 1f, projectile.owner);
|
||||
}
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 240);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -118,7 +118,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 240);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -86,7 +86,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 300);
|
||||
target.immune[projectile.owner] = 2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace CalamityMod.Projectiles
|
||||
Player player = Main.player[projectile.owner];
|
||||
player.statLife += 1;
|
||||
player.HealEffect(1);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.immune[projectile.owner] = 6;
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -119,7 +119,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.CrushDepth>(), 180);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -65,11 +65,11 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<ExoFreeze>(), 30);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.ExoFreeze>(), 30);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
target.AddBuff(BuffID.CursedInferno, 120);
|
||||
target.AddBuff(BuffID.Frostburn, 120);
|
||||
target.AddBuff(BuffID.OnFire, 120);
|
||||
|
||||
@@ -99,11 +99,11 @@ namespace CalamityMod.Projectiles
|
||||
return;
|
||||
}
|
||||
projectile.damage = (int)((double)projectile.damage * 1.05);
|
||||
target.AddBuff(ModContent.BuffType<ExoFreeze>(), 30);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.ExoFreeze>(), 30);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
target.AddBuff(BuffID.CursedInferno, 120);
|
||||
target.AddBuff(BuffID.Frostburn, 120);
|
||||
target.AddBuff(BuffID.OnFire, 120);
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Daybreak, 900);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 900);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Irradiated>(), 900);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -158,11 +158,11 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<ExoFreeze>(), 30);
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.ExoFreeze>(), 30);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
target.AddBuff(BuffID.CursedInferno, 120);
|
||||
target.AddBuff(BuffID.Frostburn, 120);
|
||||
target.AddBuff(BuffID.OnFire, 120);
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 360);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 360);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -76,7 +76,7 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 360);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 360);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,10 +42,10 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -105,10 +105,10 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -102,15 +102,15 @@ namespace CalamityMod.Projectiles
|
||||
bool hell = player.ZoneUnderworldHeight;
|
||||
if (jungle)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.Plague>(), 180);
|
||||
}
|
||||
else if (snow)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.GlacialState>(), 180);
|
||||
}
|
||||
else if (beach)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.CrushDepth>(), 180);
|
||||
}
|
||||
else if (dungeon)
|
||||
{
|
||||
@@ -118,19 +118,19 @@ namespace CalamityMod.Projectiles
|
||||
}
|
||||
else if (desert)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.HolyFlames>(), 180);
|
||||
}
|
||||
else if (glow)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<TemporalSadness>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.TemporalSadness>(), 180);
|
||||
}
|
||||
else if (hell)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 180);
|
||||
}
|
||||
else
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.ArmorCrunch>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace CalamityMod.Projectiles
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.immune[projectile.owner] = 7;
|
||||
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.BrimstoneFlames>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loaded 100 of 720 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user