Balancing
This commit is contained in:
1 parent
722c945a76
commit
e5bd5f46e1
3 files changed
+11
-1
No files matched your search
@@ -307,6 +307,9 @@ namespace CalamityMod.Balancing
|
||||
// 50% resist to true melee.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType<DarkEnergy>(), ResistTrueMelee(0.5f)));
|
||||
|
||||
// 50% resist to Galactus Blade.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType<DarkEnergy>(), new ProjectileResistBalancingRule(0.5f, ProjectileType<GalacticaComet>())));
|
||||
|
||||
// 40% resist to Stellar Torus Staff.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType<DarkEnergy>(), new ProjectileResistBalancingRule(0.6f, ProjectileType<StellarTorusBeam>())));
|
||||
#endregion
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 144;
|
||||
Item.height = 146;
|
||||
Item.damage = 624;
|
||||
Item.damage = 828;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useAnimation = 27;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
|
||||
@@ -70,6 +70,13 @@ namespace CalamityMod.Projectiles.Melee
|
||||
SoundEngine.PlaySound(SoundID.Item10, Projectile.position);
|
||||
|
||||
}
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
|
||||
{
|
||||
if (Projectile.numHits > 0)
|
||||
Projectile.damage = (int)(Projectile.damage * 0.9f); // 10% damage nerf for every enemy hit
|
||||
if (Projectile.damage < 1)
|
||||
Projectile.damage = 1;
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user