Reduced God Slayer Inferno debuff duration when inflicted on the player by 33% from all hostile sources.
This commit is contained in:
1 parent
df4495be22
commit
b24271bc01
11 files changed
+11
-11
No files matched your search
@@ -1256,7 +1256,7 @@ namespace CalamityMod.CalPlayer
|
||||
break;
|
||||
|
||||
case 5:
|
||||
Player.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 150);
|
||||
Player.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 100);
|
||||
break;
|
||||
|
||||
case 6:
|
||||
|
||||
@@ -214,7 +214,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
|
||||
{
|
||||
if (hurtInfo.Damage > 0)
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 80, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -419,7 +419,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
|
||||
{
|
||||
if (hurtInfo.Damage > 0)
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 180, true);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 120, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -211,7 +211,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
|
||||
{
|
||||
if (hurtInfo.Damage > 0)
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 90, true);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 60, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -511,7 +511,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
{
|
||||
if (hurtInfo.Damage > 0)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 240, true);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 160, true);
|
||||
target.AddBuff(ModContent.BuffType<WhisperingDeath>(), 480, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2840,7 +2840,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
if (hurtInfo.Damage <= 0)
|
||||
return;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 300, true);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 200, true);
|
||||
target.AddBuff(ModContent.BuffType<WhisperingDeath>(), 600, true);
|
||||
|
||||
if (target.Calamity().dogTextCooldown <= 0)
|
||||
|
||||
@@ -473,7 +473,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
{
|
||||
if (hurtInfo.Damage > 0)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 180, true);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 120, true);
|
||||
target.AddBuff(ModContent.BuffType<WhisperingDeath>(), 360, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -551,7 +551,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (info.Damage <= 0)
|
||||
return;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 200);
|
||||
//target.AddBuff(ModContent.BuffType<Delirium>(), 300, true);
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
return;
|
||||
|
||||
if (TelegraphDelay > TelegraphTotalTime && Projectile.Opacity == 1f)
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 120);
|
||||
}
|
||||
|
||||
public override Color? GetAlpha(Color lightColor) => new Color(255, 255, 255, 0) * Projectile.Opacity;
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (info.Damage <= 0)
|
||||
return;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 160);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (info.Damage <= 0)
|
||||
return;
|
||||
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 180);
|
||||
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user