this killed exos in under 2 minutes
This commit is contained in:
1 parent
cc2ec42883
commit
84bbcf95cb
2 files changed
+7
-3
No files matched your search
@@ -17,11 +17,11 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 168;
|
||||
Item.height = 168;
|
||||
Item.damage = 5000;
|
||||
Item.damage = 2000;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.autoReuse = true;
|
||||
Item.useAnimation = Item.useTime = 36;
|
||||
Item.useAnimation = Item.useTime = 40;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.knockBack = 14f;
|
||||
Item.UseSound = SoundID.Item1;
|
||||
|
||||
@@ -84,7 +84,11 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(Projectile.Center, 640f, targetHitbox);
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) => modifiers.HitDirectionOverride = (Owner.Center.X < target.Center.X).ToDirectionInt();
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
|
||||
{
|
||||
modifiers.HitDirectionOverride = (Owner.Center.X < target.Center.X).ToDirectionInt();
|
||||
modifiers.SourceDamage *= Utils.Remap(Projectile.numHits, 0, 10, 1f, 0.1f, true);
|
||||
}
|
||||
|
||||
internal float WidthFunction(float completionRatio) => MathHelper.Clamp(CalamityUtils.Convert01To010(completionRatio * 2), 0.2f, 1f) * 4f;
|
||||
internal Color ColorFunction(float completionRatio) => Color.White;
|
||||
|
||||
Reference in new issue
Block a user