1 - More debuff duration edits and some other changes.
This commit is contained in:
1 parent
d9b01f19dc
commit
e45f7388b9
33 files changed
+81
-99
No files matched your search
@@ -5100,7 +5100,7 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
case ProjectileID.Wasp:
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
break;
|
||||
|
||||
case ProjectileID.BoneArrow:
|
||||
@@ -5305,7 +5305,7 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
case ProjectileID.Wasp:
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
break;
|
||||
|
||||
case ProjectileID.BoneArrow:
|
||||
|
||||
@@ -733,15 +733,10 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
if (modPlayer.eGauntlet)
|
||||
{
|
||||
int duration = 90;
|
||||
target.AddBuff(BuffID.CursedInferno, duration / 2, false);
|
||||
target.AddBuff(BuffID.Frostburn, duration, false);
|
||||
target.AddBuff(BuffID.Ichor, duration, false);
|
||||
target.AddBuff(BuffID.Venom, duration, false);
|
||||
target.AddBuff(BuffType<GodSlayerInferno>(), duration, false);
|
||||
target.AddBuff(BuffType<AbyssalFlames>(), duration, false);
|
||||
int duration = 180;
|
||||
target.AddBuff(BuffID.OnFire, duration, false);
|
||||
target.AddBuff(BuffID.Frostburn, duration, false);
|
||||
target.AddBuff(BuffType<HolyFlames>(), duration, false);
|
||||
target.AddBuff(BuffType<Plague>(), duration, false);
|
||||
target.AddBuff(BuffType<BrimstoneFlames>(), duration, false);
|
||||
}
|
||||
if (modPlayer.cryogenSoul || modPlayer.frostFlare)
|
||||
@@ -887,15 +882,10 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
if (modPlayer.eGauntlet)
|
||||
{
|
||||
int duration = 90;
|
||||
target.AddBuff(BuffID.CursedInferno, duration / 2, false);
|
||||
target.AddBuff(BuffID.Frostburn, duration, false);
|
||||
target.AddBuff(BuffID.Ichor, duration, false);
|
||||
target.AddBuff(BuffID.Venom, duration, false);
|
||||
target.AddBuff(BuffType<GodSlayerInferno>(), duration, false);
|
||||
target.AddBuff(BuffType<AbyssalFlames>(), duration, false);
|
||||
int duration = 180;
|
||||
target.AddBuff(BuffID.OnFire, duration, false);
|
||||
target.AddBuff(BuffID.Frostburn, duration, false);
|
||||
target.AddBuff(BuffType<HolyFlames>(), duration, false);
|
||||
target.AddBuff(BuffType<Plague>(), duration, false);
|
||||
target.AddBuff(BuffType<BrimstoneFlames>(), duration, false);
|
||||
}
|
||||
if (modPlayer.aWeapon)
|
||||
|
||||
@@ -53,14 +53,14 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 480);
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Poisoned, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player player, Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 480);
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Poisoned, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
DisplayName.SetDefault("True Caustic Edge");
|
||||
Tooltip.SetDefault("Fires a bouncing caustic beam\n" +
|
||||
"Inflicts on fire, poison, and venom");
|
||||
"Inflicts poison and venom");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -62,14 +62,14 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 600);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 150);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player player, Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 600);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 150);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -82,15 +82,15 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
player.AddBuff(ModContent.BuffType<TyrantsFury>(), 300);
|
||||
target.AddBuff(BuffID.OnFire, 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 150);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player player, Player target, int damage, bool crit)
|
||||
{
|
||||
player.AddBuff(ModContent.BuffType<TyrantsFury>(), 300);
|
||||
target.AddBuff(BuffID.OnFire, 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 150);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -59,15 +59,15 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
player.AddBuff(ModContent.BuffType<TyrantsFury>(), 180);
|
||||
target.AddBuff(BuffID.OnFire, 180);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 150);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player player, Player target, int damage, bool crit)
|
||||
{
|
||||
player.AddBuff(ModContent.BuffType<TyrantsFury>(), 180);
|
||||
target.AddBuff(BuffID.OnFire, 180);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 150);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -137,14 +137,12 @@ namespace CalamityMod.Projectiles.Magic
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 180);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -53,14 +53,12 @@ namespace CalamityMod.Projectiles.Magic
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 60);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 120);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 60);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -40,15 +40,15 @@ namespace CalamityMod.Projectiles.Magic
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 150);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 150);
|
||||
target.AddBuff(ModContent.BuffType<Nightwither>(), 150);
|
||||
target.AddBuff(BuffID.Poisoned, 150);
|
||||
target.AddBuff(BuffID.OnFire, 150);
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
target.AddBuff(ModContent.BuffType<Nightwither>(), 120);
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
target.AddBuff(BuffID.OnFire, 120);
|
||||
target.AddBuff(BuffID.CursedInferno, 90);
|
||||
target.AddBuff(BuffID.Frostburn, 150);
|
||||
target.AddBuff(BuffID.Venom, 150);
|
||||
target.AddBuff(BuffID.ShadowFlame, 150);
|
||||
target.AddBuff(BuffID.Frostburn, 120);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.ShadowFlame, 120);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -135,13 +135,11 @@ namespace CalamityMod.Projectiles.Magic
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 180);
|
||||
}
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
projectile.ai[0] = 1f;
|
||||
projectile.netUpdate = true;
|
||||
}
|
||||
|
||||
@@ -57,8 +57,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.immune[projectile.owner] = 5;
|
||||
target.AddBuff(BuffID.OnFire, 120);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.OnFire, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -99,14 +99,14 @@ namespace CalamityMod.Projectiles.Melee
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.BoneJavelin, 240);
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 240);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.BoneJavelin, 240);
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 240);
|
||||
}
|
||||
|
||||
|
||||
@@ -57,13 +57,13 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
target.immune[projectile.owner] = 8;
|
||||
OnHitEffects(target.Center, crit);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
OnHitEffects(target.Center, crit);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
|
||||
private void OnHitEffects(Vector2 targetPos, bool crit)
|
||||
|
||||
@@ -59,7 +59,6 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.CursedInferno, 120);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 360);
|
||||
target.AddBuff(BuffID.Venom, 360);
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 180);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -71,8 +71,8 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -148,7 +148,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
spike = true;
|
||||
projectile.ai[0] = 1f;
|
||||
projectile.netUpdate = true;
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -74,7 +74,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
target.buffImmune[BuffID.Venom] = false;
|
||||
}
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -140,7 +140,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
target.buffImmune[BuffID.Venom] = false;
|
||||
}
|
||||
target.AddBuff(BuffID.Venom, 600);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 600);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -100,13 +100,13 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
projectile.Kill();
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
projectile.Kill();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,13 +45,13 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.immune[projectile.owner] = 1;
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -62,12 +62,12 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
Player player = Main.player[projectile.owner];
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<MarkedforDeath>(), 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<MarkedforDeath>(), 180);
|
||||
if (projectile.Calamity().stealthStrike)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 180);
|
||||
Projectile.NewProjectile(projectile.Center, Vector2.Zero, ModContent.ProjectileType<JawsShockwave>(), (int)(100f * player.RogueDamage()), 10f, projectile.owner, 0, 0);
|
||||
}
|
||||
}
|
||||
@@ -75,12 +75,12 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
Player player = Main.player[projectile.owner];
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<MarkedforDeath>(), 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(ModContent.BuffType<ArmorCrunch>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<MarkedforDeath>(), 180);
|
||||
if (projectile.Calamity().stealthStrike)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<CrushDepth>(), 180);
|
||||
Projectile.NewProjectile(projectile.Center, Vector2.Zero, ModContent.ProjectileType<JawsShockwave>(), (int)(100f * player.RogueDamage()), 10f, projectile.owner, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,12 +54,12 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -66,19 +66,19 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
if (projectile.ai[1] == 1f && projectile.owner == Main.myPlayer) //stealth strike attack
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 180);
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
if (projectile.ai[1] == 1f && projectile.owner == Main.myPlayer) //stealth strike attack
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,19 +48,19 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 600);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
if (projectile.Calamity().stealthStrike) //stealth strike attack
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 600);
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 300);
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 600);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
if (projectile.Calamity().stealthStrike) //stealth strike attack
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 600);
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 300);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -85,12 +85,12 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 360);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 360);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
|
||||
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
}
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -64,12 +64,12 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user