Various changes
- Rebalanced Samsara Slicer and Anahita's Arppeggio - Added a firing sound for Auralis - Replaced Anahita's note summon with Arpeggio's final sound
This commit is contained in:
1 parent
01cc4ef3a3
commit
b4d7fffe3b
8 files changed
+15
-15
No files matched your search
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
Item.width = 56;
|
||||
Item.height = 50;
|
||||
Item.damage = 65;
|
||||
Item.damage = 60;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 7;
|
||||
Item.useTime = 22;
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
public class Auralis : ModItem, ILocalizedModType
|
||||
{
|
||||
public static readonly SoundStyle HeavyShotSound = new("CalamityMod/Sounds/Item/PlasmaRifleMain");
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
public static readonly Color blueColor = new Color(0, 77, 255);
|
||||
public static readonly Color greenColor = new Color(0, 255, 77);
|
||||
@@ -33,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.UseSound = new SoundStyle("CalamityMod/Sounds/Item/StarfleetStar");
|
||||
Item.UseSound = HeavyShotSound with { Volume = 0.8f };
|
||||
Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice;
|
||||
Item.rare = ModContent.RarityType<Turquoise>();
|
||||
Item.Calamity().donorItem = true;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
[LegacyName("TerraDisk")]
|
||||
public class SamsaraSlicer : RogueWeapon
|
||||
{
|
||||
public static float Speed = 20f;
|
||||
public static float Speed = 25f;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
@@ -36,8 +36,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.shootSpeed = Speed;
|
||||
}
|
||||
|
||||
public override float StealthVelocityMultiplier => 1.5f;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
if (player.ownedProjectileCounts[type] > 4) return false;
|
||||
|
||||
@@ -225,7 +225,7 @@ RegulusRiotProj.DisplayName: Regulus Riot
|
||||
RotBallProjectile.DisplayName: Rot Ball
|
||||
SacrificeProjectile.DisplayName: Sacrificial Dagger
|
||||
SamsaraSlicerProjectile.DisplayName: Samsara Slicer
|
||||
SamsaraSlicerSmallDisk.DisplayName: Samsara Slicer
|
||||
SamsaraSlicerSmallDisk.DisplayName: Samsara Slicer Split
|
||||
SandDollarFrag.DisplayName: Sand Dollar Frag
|
||||
SandDollarProj.DisplayName: Sand Dollar
|
||||
SandDollarStealth.DisplayName: Sand Dollar Duststorm
|
||||
|
||||
@@ -761,9 +761,8 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
totalProjectiles = 6;
|
||||
type = ModContent.ProjectileType<SirenSong>();
|
||||
damage = SongDamage;
|
||||
float soundPitch = (Main.rand.NextFloat() - 0.5f) * 0.5f;
|
||||
Main.musicPitch = soundPitch;
|
||||
SoundEngine.PlaySound(SoundID.Item26, player.Center);
|
||||
SoundStyle song = new("CalamityMod/Sounds/Item/HarpEnd");
|
||||
SoundEngine.PlaySound(song with { Volume = 0.6f }, player.Center);
|
||||
break;
|
||||
}
|
||||
NPC.localAI[3] += 1f;
|
||||
|
||||
@@ -174,7 +174,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
|
||||
// Makes the notes slowly follow the mouse and rotate
|
||||
Vector2 centerPointDirection = (Owner.Calamity().mouseWorld - ReleaseCenterPoint).SafeNormalize(Vector2.Zero);
|
||||
float distToMove = MathF.Min(2.75f, Vector2.Distance(Owner.Calamity().mouseWorld, ReleaseCenterPoint)); // The constant value is the maximum chase speed
|
||||
float distToMove = MathF.Min(5.75f, Vector2.Distance(Owner.Calamity().mouseWorld, ReleaseCenterPoint)); // The constant value is the maximum chase speed
|
||||
ReleaseCenterPoint += centerPointDirection * distToMove;
|
||||
Projectile.Center += centerPointDirection * distToMove;
|
||||
Projectile.Center = ReleaseCenterPoint + Utils.DirectionTo(ReleaseCenterPoint, Projectile.Center).RotatedBy(MathHelper.Pi * 0.01f) * Vector2.Distance(ReleaseCenterPoint, Projectile.Center);
|
||||
|
||||
@@ -15,13 +15,14 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
public new string LocalizationCategory => "Projectiles.Rogue";
|
||||
public override string Texture => "CalamityMod/Items/Weapons/Rogue/SamsaraSlicer";
|
||||
|
||||
public float ReboundVelocity => 20;
|
||||
//These are the same number, but will be left as two seperate variables for future tuning purposes
|
||||
public float ReboundVelocity => 30;
|
||||
public float StealthReboundVelocity => 30;
|
||||
public float StealthPauseTime => 55;
|
||||
public int ReboundTime => 20;
|
||||
public int ReboundTime => 30;
|
||||
|
||||
public int SmallDiskDamage => 8;
|
||||
public int SmallDiskStealthDamage => 17;
|
||||
public int SmallDiskDamage => 30;
|
||||
public int SmallDiskStealthDamage => 19;
|
||||
|
||||
public bool initialized = false;
|
||||
|
||||
|
||||
@@ -27,7 +27,8 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
Projectile.aiStyle = -1;
|
||||
Projectile.DamageType = RogueDamageClass.Instance;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = 3;
|
||||
Projectile.localNPCHitCooldown = 5;
|
||||
Projectile.ArmorPenetration = 20;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
Reference in new issue
Block a user