- Added All-Class Damage Type - Procs all class effects and scales with all class damages, as compared to Average, which only gets half of non-generic boosts. Meant to be used very sparingly, on places where damage scaling like this won't cause issues because the damage itself is very weak. - Can be applied to projectiles that are spawned scaling with BestClass to keep best-class scaling but allow all-class effects to proc - Evil Smasher Balancing - 15 -> 20 second smashed evil - 0.97x -> 0.98x speed per frame, 0.995x if fully charged - does All-Class instead of Average dmg - Projectile does All-Class instead of True Melee dmg - Smashed Evil Buffs - +10 -> 20% dmg - 20 -> 80 DPS, but ignores weakness and resistance (net-neutral on double weak, buff on single weak, nerf on triple weak) - +20% move speed -> +5mph max horizontal speed, increased accel & decel - Pigion Balancing - 7 -> 12 damage - Now scales with best class damage - Now deals All-Class damage - Now counts as a Minion for various effects
19 lines
530 B
C#
19 lines
530 B
C#
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod
|
|
{
|
|
public class AllClassDamageClass : DamageClass
|
|
{
|
|
internal static AllClassDamageClass Instance;
|
|
|
|
public override void Load() => Instance = this;
|
|
public override void Unload() => Instance = null;
|
|
|
|
public override StatInheritanceData GetModifierInheritance(DamageClass damageClass)
|
|
{
|
|
return StatInheritanceData.Full;
|
|
}
|
|
public override bool GetEffectInheritance(DamageClass damageClass) => true;
|
|
}
|
|
}
|