This commit is contained in:
mountaindrew10 committed 2023-12-10 02:38:10 -06:00
commit 1cb397249d
4 files changed
+6 -15

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Weapons.Melee
public const float ComboLength = 4f; //How many regular swings before the long throw happens
public static float snapDamageMultiplier = 1.2f; //Extra damage from making the scissors snap
public static float chargeDamageMultiplier = 1.2f; //Extra damage from charge
public static float chargeDamageMultiplier = 1.35f; //Extra damage from charge
public static float needleDamageMultiplier = 0.8f; //Damage multiplier for non-homing needle projectile
public static float glassStarDamageMultiplier = 0.2f; //Damage multiplier for the homing glass stars (4 glass stars per shot)
@@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.Melee
{
Item.width = 112;
Item.height = 172;
Item.damage = 560;
Item.damage = 507;
Item.DamageType = DamageClass.MeleeNoSpeed;
Item.noUseGraphic = true;
Item.noMelee = true;
@@ -574,7 +574,7 @@ THIEF: {
LikeNPC: "{NPCName} doesn't only keep spiky balls in his pockets, he keeps a ton of cash! He's too absentminded to notice I'm stealing from him too! I like that a lot!"
DislikeNPC: What a goody two shoes, {NPCName} is! I dislike her out of principle! …And because she has almost no material goods.
LikeNPC_Princess: I couldn't bear to steal anything from {NPCName}, she's so cute!
Princess_LovesNPC: "{NPCName} gifts me with nice exact replicas of other's things! I wonder where she gets them from..."
Princess_LovesNPC: "{NPCName} gifts me with nice exact replicas of other's things, I wonder how she does it!"
}
}
@@ -65,7 +65,7 @@ namespace CalamityMod.Projectiles.Melee
public float ThrowTimer => MaxThrowTime - Projectile.timeLeft;
public float ThrowCompletion => ThrowTimer / MaxThrowTime;
public const float SnapWindowStart = 0.2f;
public const float SnapWindowStart = 0.35f;
public const float SnapWindowEnd = 0.75f;
public float SnapEndTime => (MaxThrowTime - (MaxThrowTime * SnapWindowEnd));
public float SnapEndCompletion => (SnapEndTime - Projectile.timeLeft) / SnapEndTime;
@@ -64,8 +64,8 @@ namespace CalamityMod.Projectiles.Melee
public float ThrowTimer => MaxThrowTime - Projectile.timeLeft;
public float ThrowCompletion => ThrowTimer / MaxThrowTime;
const float SnapWindowStart = 0.4f;
const float SnapWindowEnd = 0.6f;
const float SnapWindowStart = 0.25f;
const float SnapWindowEnd = 0.75f;
public float SnapEndTime => (MaxThrowTime - (MaxThrowTime * SnapWindowEnd));
public float SnapEndCompletion => (SnapEndTime - Projectile.timeLeft) / SnapEndTime;
public ref float ChanceMissed => ref Projectile.localAI[1];
@@ -251,16 +251,7 @@ namespace CalamityMod.Projectiles.Melee
}
if (Combo == 3f)
{
SoundEngine.PlaySound(CommonCalamitySounds.ScissorGuillotineSnapSound with { Volume = CommonCalamitySounds.ScissorGuillotineSnapSound.Volume * 1.3f }, Projectile.Center);
if (Charge <= 1)
{
ArkoftheElements sword = (Owner.HeldItem.ModItem as ArkoftheElements);
if (sword != null)
sword.Charge = 2f;
}
}
}
public override void OnKill(int timeLeft)