Rebalance of Fulfilled Contract
This commit is contained in:
1 parent
e551a24b7a
commit
b0704fa8a0
4 files changed
+11
-11
No files matched your search
@@ -16,8 +16,6 @@ namespace CalamityMod.Buffs.StatBuffs
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
Main.buffNoTimeDisplay[Type] = false;
|
||||
player.statDefense += ThePact.DefenseBoost;
|
||||
player.GetDamage<GenericDamageClass>() += ThePact.DamageBoost;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -426,7 +426,11 @@ namespace CalamityMod.CalPlayer
|
||||
if (Player.Calamity().yharimsGift)
|
||||
target.AddBuff(ModContent.BuffType<AuricRebuke>(), 120);
|
||||
|
||||
int debuffSpreadProj = ModContent.ProjectileType<DebuffSpreadEffect>();
|
||||
|
||||
if (Player.HasBuff<FulfilledContract>())
|
||||
target.AddBuff(ModContent.BuffType<Laceration>(), ThePact.DebuffInflictionDuration)
|
||||
|
||||
int debuffSpreadProj = ModContent.ProjectileType<DebuffSpreadEffect>();
|
||||
if ((Player.Calamity().abaddon || Player.Calamity().apollyon) && (target.Calamity().abaddonEffected || target.Calamity().apollyonEffected) && hit.Crit && abaddonCooldown == 0 && Player.ownedProjectileCounts[debuffSpreadProj] == 0)
|
||||
{
|
||||
int maxTargetNum = target.Calamity().apollyonEffected ? 10 : 6;
|
||||
@@ -1489,7 +1493,7 @@ namespace CalamityMod.CalPlayer
|
||||
if (CanBeCritByThePact && Main.rand.NextFloat() < ThePact.ChanceToBeCrit)
|
||||
{
|
||||
modifiers.SourceDamage *= ThePact.CritDmgTaken;
|
||||
Player.AddBuff(ModContent.BuffType<FulfilledContract>(), 600);
|
||||
Player.AddBuff(ModContent.BuffType<FulfilledContract>(), ThePact.BoostDuration);
|
||||
SoundEngine.PlaySound(new SoundStyle("CalamityMod/Sounds/Custom/BloodPactCrit"));
|
||||
}
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@ namespace CalamityMod.Items.Accessories
|
||||
public static float ChanceToBeCrit => 0.25f;
|
||||
public static float CritDmgTaken => 2.25f;
|
||||
public static float HealingPotionBoost => 1.5f;
|
||||
public static float DamageBoost => 0.05f;
|
||||
public static int DefenseBoost => 20;
|
||||
public static int BoostDuration => 900;
|
||||
public static int DebuffInflictionDuration => 60;
|
||||
public static float NaturalRegenBoost => 1.5f;
|
||||
public static int RegenTimeBoost => 1;
|
||||
public static int RegenTimeBoost => 3;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MaxLifeMult,ChanceToBeCrit.ToPercent(),CritDmgTaken);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
|
||||
@@ -924,10 +924,8 @@ FulfilledContract: {
|
||||
ItemTooltipPlayer:
|
||||
'''
|
||||
50% increased Healing Potion effectiveness
|
||||
5% increased damage
|
||||
20 defense
|
||||
Increased natural regen power and recovery rate
|
||||
Increases the length of invicibility after taking damage
|
||||
Greatly increased natural regeneration power and recovery rate
|
||||
All attacks inflict Laceration
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user