1 - Fixed prefix crit boosts not working
2 - Swapped effects of Intrepid and Hasty 3 - Removed two steps of Dauntless HP scaling
This commit is contained in:
1 parent
77bc2ee293
commit
dd3e0fa66c
6 files changed
+9
-11
No files matched your search
@@ -63,9 +63,7 @@ namespace CalamityMod.Prefixes
|
||||
|
||||
public static int GetHealthBoostAmount()
|
||||
{
|
||||
if (DownedBossSystem.downedDoG) return 30;
|
||||
if (NPC.downedMoonlord) return 25;
|
||||
if (NPC.downedPlantBoss) return 20;
|
||||
if (NPC.downedMoonlord) return 20;
|
||||
if (Main.hardMode) return 15;
|
||||
return 10;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Prefixes.VanillaPrefixChanges
|
||||
|
||||
public override IEnumerator<IVanillaPrefixStat> PopulateStats()
|
||||
{
|
||||
yield return new PrefixCritChanceStat(0.02f);
|
||||
yield return new PrefixCritChanceStat(2);
|
||||
|
||||
if (NPC.downedMoonlord)
|
||||
{
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.Prefixes.VanillaPrefixChanges
|
||||
|
||||
public override IEnumerator<IVanillaPrefixStat> PopulateStats()
|
||||
{
|
||||
yield return new PrefixCritChanceStat(0.04f);
|
||||
yield return new PrefixCritChanceStat(4);
|
||||
}
|
||||
|
||||
public override void PostModifyTooltip(TooltipLine line)
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.Prefixes.VanillaPrefixChanges
|
||||
public override IEnumerator<IVanillaPrefixStat> PopulateStats()
|
||||
{
|
||||
yield return new PrefixDamageStat(0.02f);
|
||||
yield return new PrefixCritChanceStat(0.02f);
|
||||
yield return new PrefixCritChanceStat(2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Prefixes.VanillaPrefixChanges
|
||||
public override IEnumerator<IVanillaPrefixStat> PopulateStats()
|
||||
{
|
||||
yield return new PrefixMeleeSpeedStat(0.02f);
|
||||
yield return new PrefixCritChanceStat(0.02f);
|
||||
yield return new PrefixCritChanceStat(2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@ namespace CalamityMod.Prefixes.VanillaPrefixChanges
|
||||
|
||||
public override IEnumerator<IVanillaPrefixStat> PopulateStats()
|
||||
{
|
||||
yield return new PrefixMeleeSpeedStat(0.02f);
|
||||
yield return new PrefixMovementSpeedStat(0.02f);
|
||||
yield return new PrefixCritChanceStat(0.02f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.Prefixes.VanillaPrefixChanges
|
||||
public override IEnumerator<IVanillaPrefixStat> PopulateStats()
|
||||
{
|
||||
yield return new PrefixMovementSpeedStat(0.02f);
|
||||
yield return new PrefixMeleeSpeedStat(0.02f);
|
||||
yield return new PrefixCritChanceStat(2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Prefixes.VanillaPrefixChanges.Stats
|
||||
{
|
||||
public struct PrefixCritChanceStat(float critChanceBonus) : IVanillaPrefixStat
|
||||
public struct PrefixCritChanceStat(int critChanceBonus) : IVanillaPrefixStat
|
||||
{
|
||||
public float CritChanceBonus = critChanceBonus;
|
||||
public int CritChanceBonus = critChanceBonus;
|
||||
|
||||
public readonly void ApplyEffects(Player player)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user