1 - Adjusted various poison and venom debuff durations.
This commit is contained in:
1 parent
e7fa6a24df
commit
fb39b314ef
22 files changed
+80
-70
No files matched your search
@@ -4959,7 +4959,11 @@ namespace CalamityMod.CalPlayer
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
break;
|
||||
|
||||
case ItemID.BeeKeeper:
|
||||
case ItemID.BladeofGrass:
|
||||
target.AddBuff(BuffID.Poisoned, 210);
|
||||
break;
|
||||
|
||||
case ItemID.BeeKeeper:
|
||||
target.AddBuff(BuffID.Poisoned, 240);
|
||||
break;
|
||||
|
||||
@@ -5081,7 +5085,15 @@ namespace CalamityMod.CalPlayer
|
||||
target.AddBuff(BuffID.ShadowFlame, 120);
|
||||
break;
|
||||
|
||||
case ProjectileID.Bee:
|
||||
case ProjectileID.PoisonedKnife:
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
break;
|
||||
|
||||
case ProjectileID.ThornChakram:
|
||||
target.AddBuff(BuffID.Poisoned, 210);
|
||||
break;
|
||||
|
||||
case ProjectileID.Bee:
|
||||
case ProjectileID.GiantBee:
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
break;
|
||||
@@ -5193,7 +5205,11 @@ namespace CalamityMod.CalPlayer
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 120);
|
||||
break;
|
||||
|
||||
case ItemID.BeeKeeper:
|
||||
case ItemID.BladeofGrass:
|
||||
target.AddBuff(BuffID.Poisoned, 210);
|
||||
break;
|
||||
|
||||
case ItemID.BeeKeeper:
|
||||
target.AddBuff(BuffID.Poisoned, 240);
|
||||
break;
|
||||
|
||||
@@ -5274,7 +5290,15 @@ namespace CalamityMod.CalPlayer
|
||||
target.AddBuff(ModContent.BuffType<Shadowflame>(), 120);
|
||||
break;
|
||||
|
||||
case ProjectileID.Bee:
|
||||
case ProjectileID.PoisonedKnife:
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
break;
|
||||
|
||||
case ProjectileID.ThornChakram:
|
||||
target.AddBuff(BuffID.Poisoned, 210);
|
||||
break;
|
||||
|
||||
case ProjectileID.Bee:
|
||||
case ProjectileID.GiantBee:
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
break;
|
||||
|
||||
@@ -63,14 +63,12 @@ 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.OnFire, 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player player, Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 600);
|
||||
target.AddBuff(BuffID.OnFire, 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,11 +99,7 @@ namespace CalamityMod.Projectiles.Hybrid
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.ShadowFlame, 60);
|
||||
target.AddBuff(BuffID.Ichor, 120);
|
||||
target.AddBuff(BuffID.Frostburn, 180);
|
||||
target.AddBuff(BuffID.OnFire, 240);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.ShadowFlame, 600);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Nightwither>(), 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.OnFire, 300);
|
||||
target.AddBuff(BuffID.CursedInferno, 180);
|
||||
target.AddBuff(BuffID.Frostburn, 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.ShadowFlame, 300);
|
||||
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(BuffID.CursedInferno, 90);
|
||||
target.AddBuff(BuffID.Frostburn, 150);
|
||||
target.AddBuff(BuffID.Venom, 150);
|
||||
target.AddBuff(BuffID.ShadowFlame, 150);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -90,11 +90,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.ShadowFlame, 60);
|
||||
target.AddBuff(BuffID.Ichor, 120);
|
||||
target.AddBuff(BuffID.Frostburn, 180);
|
||||
target.AddBuff(BuffID.OnFire, 240);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.ShadowFlame, 600);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -73,8 +73,8 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -71,7 +71,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.OnFire, 240);
|
||||
target.AddBuff(BuffID.Poisoned, 240);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
}
|
||||
|
||||
|
||||
@@ -64,8 +64,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -62,9 +62,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 360);
|
||||
target.AddBuff(BuffID.Venom, 360);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 360);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 180);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -62,9 +62,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<Plague>(), 120);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -64,14 +64,14 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -86,14 +86,14 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 600);
|
||||
target.AddBuff(BuffID.Poisoned, 600);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 600);
|
||||
target.AddBuff(BuffID.Poisoned, 600);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -73,14 +73,14 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 600);
|
||||
target.AddBuff(BuffID.Poisoned, 600);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 600);
|
||||
target.AddBuff(BuffID.Poisoned, 600);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -55,14 +55,14 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -100,14 +100,14 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.immune[projectile.owner] = 6;
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -56,14 +56,14 @@ namespace CalamityMod.Projectiles.Summon
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
if (projectile.ai[1] == 1f)
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
if (projectile.ai[1] == 1f)
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -473,14 +473,14 @@ namespace CalamityMod.Projectiles.Summon
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
}
|
||||
|
||||
public override bool CanDamage() => enraged;
|
||||
|
||||
@@ -239,13 +239,13 @@ namespace CalamityMod.Projectiles.Summon
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -52,14 +52,14 @@ namespace CalamityMod.Projectiles.Summon
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
if (projectile.ai[1] == 1f)
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Poisoned, 180);
|
||||
if (projectile.ai[1] == 1f)
|
||||
target.AddBuff(BuffID.Venom, 180);
|
||||
target.AddBuff(BuffID.Venom, 90);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
public float Outwardness = 45f;
|
||||
public Vector2 DeltaPositionRelativetoTarget = Vector2.Zero;
|
||||
|
||||
public const int BuffTime = 180;
|
||||
public const int BuffTime = 120;
|
||||
public const float TurnRate = 30f;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
|
||||
@@ -53,13 +53,13 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 120);
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user