1 - Removed magic numbers throughout Arc Nova Diffuser line

2 - Opal Striker takes 3 diamonds instead of 2.
3 - DSO allows for 36x36 projectiles.
4 - Arc Nova Diffuser charge shots are 36x36 instead of 40x40.
5 - Arc Nova Diffuser received major changes. Fires 1 shot instead of 2, fires a bit faster when charged. Spam fire is much faster.
This commit is contained in:
Ozzatron committed 2023-09-12 22:46:32 -04:00
1 parent da487a3a8a
commit 06c3d4c11d
8 files changed
+95 -104

No files matched your search

+13 -8
View File
@@ -1,12 +1,11 @@
using Terraria.DataStructures;
using CalamityMod.Items.Weapons.Magic;
using CalamityMod.Items.Materials;
using CalamityMod.Projectiles.Ranged;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.Audio;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using CalamityMod.Items.Materials;
using Terraria.Audio;
namespace CalamityMod.Items.Weapons.Ranged
{
@@ -17,25 +16,31 @@ namespace CalamityMod.Items.Weapons.Ranged
public static readonly SoundStyle ChargeLV2 = new("CalamityMod/Sounds/Item/ArcNovaDiffuserChargeLV2") { Volume = 0.6f };
public static readonly SoundStyle ChargeStart = new("CalamityMod/Sounds/Item/ArcNovaDiffuserChargeStart") { Volume = 0.6f };
public static readonly SoundStyle ChargeLoop = new("CalamityMod/Sounds/Item/ArcNovaDiffuserChargeLoop") { Volume = 0.6f };
internal static readonly int ChargeLoopSoundFrames = 154;
public static readonly SoundStyle SmallShot = new("CalamityMod/Sounds/Item/ArcNovaDiffuserSmallShot") { PitchVariance = 0.3f, Volume = 0.5f };
public static readonly SoundStyle BigShot = new("CalamityMod/Sounds/Item/ArcNovaDiffuserBigShot") { PitchVariance = 0.3f, Volume = 0.8f };
public static int AftershotCooldownFrames = 9;
public static int Charge1Frames = 156;
public static int Charge2Frames = 308;
public new string LocalizationCategory => "Items.Weapons.Ranged";
public override void SetDefaults()
{
Item.damage = 75;
Item.damage = 144;
Item.DamageType = DamageClass.Ranged;
Item.width = 72;
Item.height = 38;
Item.useTime = Item.useAnimation = 45;
Item.useTime = Item.useAnimation = AftershotCooldownFrames;
Item.noMelee = true;
Item.channel = true;
Item.useStyle = ItemUseStyleID.Shoot;
Item.knockBack = 2.55f;
Item.knockBack = 4f;
Item.value = CalamityGlobalItem.Rarity8BuyPrice;
Item.rare = ItemRarityID.Yellow;
Item.UseSound = null;
Item.autoReuse = false;
Item.shoot = ModContent.ProjectileType<OpalStrike>();
Item.shoot = ModContent.ProjectileType<NovaShot>();
Item.shootSpeed = 12f;
Item.Calamity().canFirePointBlankShots = true;
}
+8 -5
View File
@@ -12,28 +12,31 @@ namespace CalamityMod.Items.Weapons.Ranged
{
public static readonly SoundStyle ChargeFull = new("CalamityMod/Sounds/Item/MagnaCannonChargeFull") { Volume = 0.5f };
public static readonly SoundStyle ChargeLoop = new("CalamityMod/Sounds/Item/MagnaCannonChargeLoop") { Volume = 0.5f };
internal static readonly int ChargeLoopSoundFrames = 154;
public static readonly SoundStyle ChargeStart = new("CalamityMod/Sounds/Item/MagnaCannonChargeStart") { Volume = 0.5f };
public static readonly SoundStyle Fire = new("CalamityMod/Sounds/Item/MagnaCannonShot") { PitchVariance = 0.3f, Volume = 0.4f };
public static int MaxLoadedShots = 20;
public static int AftershotCooldownFrames = 30;
public static int FullChargeFrames = 136;
public new string LocalizationCategory => "Items.Weapons.Ranged";
public override void SetDefaults()
{
Item.damage = 29;
Item.damage = 30;
Item.DamageType = DamageClass.Ranged;
Item.width = 56;
Item.height = 34;
Item.useTime = Item.useAnimation = 30;
Item.useTime = Item.useAnimation = AftershotCooldownFrames;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.channel = true;
Item.knockBack = 1.2f;
Item.knockBack = 2.5f;
Item.value = CalamityGlobalItem.Rarity2BuyPrice;
Item.rare = ItemRarityID.Green;
Item.UseSound = null;
Item.autoReuse = false;
Item.shootSpeed = 10f;
Item.shoot = ModContent.ProjectileType<MagnaCannonHoldout>();
Item.shoot = ModContent.ProjectileType<MagnaShot>();
Item.Calamity().canFirePointBlankShots = true;
}
+8 -4
View File
@@ -14,25 +14,29 @@ namespace CalamityMod.Items.Weapons.Ranged
public static readonly SoundStyle Charge = new("CalamityMod/Sounds/Item/OpalCharge") { Volume = 0.5f};
public static readonly SoundStyle ChargeLoop = new("CalamityMod/Sounds/Item/OpalChargeLoop") { Volume = 0.5f};
internal static readonly int ChargeLoopSoundFrames = 120;
public static readonly SoundStyle Fire = new("CalamityMod/Sounds/Item/OpalFire") { PitchVariance = 0.4f, Volume = 0.3f };
public static readonly SoundStyle ChargedFire = new("CalamityMod/Sounds/Item/OpalChargedFire") { PitchVariance = 0.3f, Volume = 0.6f };
public static int AftershotCooldownFrames = 17;
public static int FullChargeFrames = 88;
public override void SetDefaults()
{
Item.damage = 30;
Item.DamageType = DamageClass.Ranged;
Item.width = 46;
Item.height = 30;
Item.useTime = Item.useAnimation = 18;
Item.useTime = Item.useAnimation = AftershotCooldownFrames;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 2f;
Item.knockBack = 4f;
Item.value = CalamityGlobalItem.Rarity2BuyPrice;
Item.rare = ItemRarityID.Green;
Item.UseSound = null;
Item.autoReuse = false;
Item.channel = true;
Item.shoot = ModContent.ProjectileType<OpalStrikerHoldout>();
Item.shoot = ModContent.ProjectileType<OpalStrike>();
Item.shootSpeed = 12f;
Item.Calamity().canFirePointBlankShots = true;
}
@@ -56,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Ranged
CreateRecipe().
AddIngredient(ItemID.Marble, 25).
AddIngredient(ItemID.MeteoriteBar, 10).
AddIngredient(ItemID.Diamond, 2).
AddIngredient(ItemID.Diamond, 3).
AddIngredient(ItemID.Amber, 3).
AddTile(TileID.Anvils).
Register();
+1 -1
View File
@@ -4567,7 +4567,7 @@ namespace CalamityMod.NPCs
// Hitbox criteria were changed to allow long one dimensional projectiles so that Condemnation would work.
bool hitBullseye = false;
bool acceptableVelocity = projectile.velocity != Vector2.Zero;
bool acceptableHitbox = (projectile.width < 36) || (projectile.height < 36);
bool acceptableHitbox = (projectile.width <= 36) || (projectile.height <= 36);
if (bullseye != null && acceptableVelocity && acceptableHitbox)
{
// Bullseyes are visually different on bosses and thus have larger hitboxes.
+31 -41
View File
@@ -1,15 +1,11 @@
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Sounds;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.Audio;
using ReLogic.Utilities;
using CalamityMod.Items.Accessories;
using System;
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Particles;
using System;
using System.Runtime.Intrinsics;
using Microsoft.Xna.Framework;
using ReLogic.Utilities;
using Terraria;
using Terraria.Audio;
using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Ranged
{
@@ -27,13 +23,12 @@ namespace CalamityMod.Projectiles.Ranged
private bool OwnerCanShoot => Owner.channel && !Owner.noItems && !Owner.CCed;
private float storedVelocity = 12f;
public const float velocityMultiplier = 1.2f;
public bool Extradamage;
public int Time = 0;
public int SoundSpamFix = 0;
public bool FirstLoop = true;
public bool ChargeLV1 = false;
public bool ChargeLV2 = false;
public float Aftershot = 15;
public float Aftershot = ArcNovaDiffuser.AftershotCooldownFrames;
public int SoundVariable = 5;
public bool NovaRing = false;
public bool ThrowItBack = false;
@@ -62,11 +57,6 @@ namespace CalamityMod.Projectiles.Ranged
return;
}
if (CurrentChargingFrames >= 88)
Extradamage = true;
else
Extradamage = false;
Vector2 armPosition = Owner.RotatedRelativePoint(Owner.MountedCenter, true);
Vector2 tipPosition = armPosition + Projectile.velocity * Projectile.width * 0.95f;
@@ -74,7 +64,7 @@ namespace CalamityMod.Projectiles.Ranged
if (!OwnerCanShoot)
{
if (Aftershot == 15f)
if (Aftershot == ArcNovaDiffuser.AftershotCooldownFrames)
{
if (SoundEngine.TryGetActiveSound(NovaChargeStartSlot, out var NovaCharge2))
NovaCharge2.Stop();
@@ -87,7 +77,9 @@ namespace CalamityMod.Projectiles.Ranged
CurrentChargingFrames = 0;
ShotsLoaded = 0;
Vector2 shootVelocity = Projectile.velocity.SafeNormalize(Vector2.UnitY) * storedVelocity;
Projectile.NewProjectile(Projectile.GetSource_FromThis(), tipPosition, shootVelocity, ModContent.ProjectileType<NovaChargeShot>(), Projectile.damage * 40, Projectile.knockBack * 3, Projectile.owner);
int charge2Damage = Projectile.damage * 25;
float charge2KB = Projectile.knockBack * 3f;
Projectile.NewProjectile(Projectile.GetSource_FromThis(), tipPosition, shootVelocity, ModContent.ProjectileType<NovaChargeShot>(), charge2Damage, charge2KB, Projectile.owner);
Main.player[Projectile.owner].Calamity().GeneralScreenShakePower = 5;
for (int i = 0; i <= 20; i++)
{
@@ -100,16 +92,16 @@ namespace CalamityMod.Projectiles.Ranged
}
else //Rapid Fire Mode
{
if (SoundSpamFix >= (ChargeLV1 ? 9 : 10)) //Shoot faster if fully charged
if (SoundSpamFix >= (ChargeLV1 ? 8 : 9)) //Shoot faster if fully charged
SoundSpamFix = 0;
if (SoundSpamFix == (ChargeLV1 ? 8 : 9))//Recoil should be 1 frame lower than above frames
if (SoundSpamFix == (ChargeLV1 ? 7 : 8))//Recoil should be 1 frame lower than above frames
ThrowItBack = false;
if (ShotsLoaded <= 0f)
{
--Aftershot;
}
if (ShotsLoaded <= 0f)
{
--Aftershot;
}
Vector2 shootVelocity = Projectile.velocity.SafeNormalize(Vector2.UnitY) * storedVelocity;
if (SoundSpamFix == 0)
{
@@ -118,12 +110,10 @@ namespace CalamityMod.Projectiles.Ranged
Dust dust = Dust.NewDustPerfect(tipPosition, 107, shootVelocity.RotatedByRandom(MathHelper.ToRadians(15f)) * Main.rand.NextFloat(0.9f, 1.2f), 0, default, Main.rand.NextFloat(1.3f, 1.7f));
dust.noGravity = true;
}
for (int i = 0; i < 2; i++)
{
ThrowItBack = true;
Recoil = 20;
Projectile.NewProjectile(Projectile.GetSource_FromThis(), tipPosition, shootVelocity.RotatedByRandom(MathHelper.ToRadians(5f)), ModContent.ProjectileType<NovaShot>(), Projectile.damage, Projectile.knockBack * (Extradamage ? 3 : 1), Projectile.owner);
}
ThrowItBack = true;
Recoil = 16;
Vector2 fireVec = shootVelocity.RotatedByRandom(MathHelper.ToRadians(2f));
Projectile.NewProjectile(Projectile.GetSource_FromThis(), tipPosition, fireVec, ModContent.ProjectileType<NovaShot>(), Projectile.damage, Projectile.knockBack, Projectile.owner);
SoundEngine.PlaySound(ArcNovaDiffuser.SmallShot, Projectile.position);
--ShotsLoaded;
}
@@ -173,7 +163,7 @@ namespace CalamityMod.Projectiles.Ranged
if (CurrentChargingFrames >= 10)
{
for (int i = 0; i < (ChargeLV1 ? 3 : ChargeLV2 ? 4 : 2); i++)
for (int i = 0; i < (ChargeLV2 ? 4 : ChargeLV1 ? 3 : 2); i++)
{
SparkParticle spark2 = new SparkParticle((tipPosition -Projectile.velocity * 4) + Main.rand.NextVector2Circular(12, 12), -Projectile.velocity * Main.rand.NextFloat(16.1f, 30.8f), false, Main.rand.Next(2, 7), Main.rand.NextFloat(CurrentChargingFrames / 350, CurrentChargingFrames / 270), Main.rand.NextBool(4) ? Color.Chartreuse : Color.Lime);
GeneralParticleHandler.SpawnParticle(spark2);
@@ -188,7 +178,7 @@ namespace CalamityMod.Projectiles.Ranged
NovaChargeStartSlot = SoundEngine.PlaySound(ArcNovaDiffuser.ChargeStart, Projectile.position);
}
// Start Charging.
if (CurrentChargingFrames < 310) //308 is when you reach LV2 charge
if (CurrentChargingFrames < ArcNovaDiffuser.Charge2Frames + 2) //308 is when you reach LV2 charge
{
if (ChargeLV1)
CurrentChargingFrames += 2;
@@ -196,10 +186,10 @@ namespace CalamityMod.Projectiles.Ranged
CurrentChargingFrames++;
}
if (CurrentChargingFrames >= 156f) //146 frames is durration of charge sound
if (CurrentChargingFrames >= ArcNovaDiffuser.Charge1Frames) //146 frames is durration of charge sound
{
Time++;
if (CurrentChargingFrames == 156f)
if (CurrentChargingFrames == ArcNovaDiffuser.Charge1Frames)
{
SoundEngine.PlaySound(ArcNovaDiffuser.ChargeLV1, Projectile.position);
ShotsLoaded = 15;
@@ -210,22 +200,22 @@ namespace CalamityMod.Projectiles.Ranged
NovaChargeLoopSlot = SoundEngine.PlaySound(ArcNovaDiffuser.ChargeLoop, Projectile.position);
FirstLoop = false;
}
if (Time % 151 == 0) //Loop sound is 151 frames long
if (Time % ArcNovaDiffuser.ChargeLoopSoundFrames == 0) //Loop sound is 151 frames long
{
NovaChargeLoopSlot = SoundEngine.PlaySound(ArcNovaDiffuser.ChargeLoop, Projectile.position);
}
}
if (CurrentChargingFrames >= 308f) //Stuff for reaching charge LV2
if (CurrentChargingFrames >= ArcNovaDiffuser.Charge2Frames) //Stuff for reaching charge LV2
{
if (CurrentChargingFrames == 308f)
if (CurrentChargingFrames == ArcNovaDiffuser.Charge2Frames)
{
SoundEngine.PlaySound(ArcNovaDiffuser.ChargeLV2, Projectile.position);
ChargeLV2 = true;
}
}
if (CurrentChargingFrames == 156f)
if (CurrentChargingFrames == ArcNovaDiffuser.Charge1Frames)
{
for (int i = 0; i < 36; i++)
{
@@ -235,7 +225,7 @@ namespace CalamityMod.Projectiles.Ranged
chargefull.noGravity = true;
}
}
if (CurrentChargingFrames == 308f)
if (CurrentChargingFrames == ArcNovaDiffuser.Charge2Frames)
{
for (int i = 0; i < 45; i++)
{
+16 -20
View File
@@ -1,15 +1,11 @@
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Sounds;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.Audio;
using ReLogic.Utilities;
using CalamityMod.Items.Accessories;
using System;
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Particles;
using System;
using System.Runtime.Intrinsics;
using Microsoft.Xna.Framework;
using ReLogic.Utilities;
using Terraria;
using Terraria.Audio;
using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Ranged
{
@@ -34,7 +30,7 @@ namespace CalamityMod.Projectiles.Ranged
public int SoundSpamFix = 0;
public bool FirstLoop = true;
public bool FullCharge = false;
public int Aftershot = 30;
public int Aftershot = MagnaCannon.AftershotCooldownFrames;
public override string Texture => "CalamityMod/Items/Weapons/Ranged/MagnaCannon";
@@ -69,7 +65,7 @@ namespace CalamityMod.Projectiles.Ranged
// Fire if the owner stops channeling or otherwise cannot use the weapon.
if (!OwnerCanShoot)
{
if (Aftershot == 30)
if (Aftershot == MagnaCannon.AftershotCooldownFrames)
{
if (SoundEngine.TryGetActiveSound(MagnaChargeSlot, out var MagnaCharge2))
MagnaCharge2.Stop();
@@ -113,12 +109,12 @@ namespace CalamityMod.Projectiles.Ranged
if (CurrentChargingFrames == 0)
CurrentChargingFrames++;
if (CurrentChargingFrames % 9 == 0)
if (CurrentChargingFrames % 9 == 0) //every 9 frames get another shot
ShotsLoaded++;
if (CurrentChargingFrames >= 10)
{
if (CurrentChargingFrames < 136)
if (CurrentChargingFrames < MagnaCannon.FullChargeFrames)
{
Particle streak = new ManaDrainStreak(player, Main.rand.NextFloat(0.06f + (CurrentChargingFrames / 180), 0.08f + (CurrentChargingFrames / 180)), Main.rand.NextVector2CircularEdge(2f, 2f) * Main.rand.NextFloat(0.3f * CurrentChargingFrames, 0.3f * CurrentChargingFrames), 0f, Color.White, Color.Aqua, 7, tipPosition);
GeneralParticleHandler.SpawnParticle(streak);
@@ -133,16 +129,16 @@ namespace CalamityMod.Projectiles.Ranged
MagnaChargeSlot = SoundEngine.PlaySound(MagnaCannon.ChargeStart, Projectile.position);
}
// Start Charging.
if (CurrentChargingFrames < 138)
if (CurrentChargingFrames < MagnaCannon.FullChargeFrames + 2)
{
++CurrentChargingFrames;
}
if (CurrentChargingFrames >= 136f) //126 frames is durration of charge sound
if (CurrentChargingFrames >= MagnaCannon.FullChargeFrames) //126 frames is durration of charge sound
{
Fullchargesoundframes--;
Time++;
if (CurrentChargingFrames == 136f)
if (CurrentChargingFrames == MagnaCannon.FullChargeFrames)
{
SoundEngine.PlaySound(MagnaCannon.ChargeFull, Projectile.position);
ShotsLoaded = 20;
@@ -155,14 +151,14 @@ namespace CalamityMod.Projectiles.Ranged
MagnaChargeFirstLoopSlot = MagnaChargeLoopSlot = SoundEngine.PlaySound(MagnaCannon.ChargeLoop, Projectile.position);
FirstLoop = false;
}
if (Time % 154 == 0)
if (Time % MagnaCannon.ChargeLoopSoundFrames == 0)
{
MagnaChargeLoopSlot = SoundEngine.PlaySound(MagnaCannon.ChargeLoop, Projectile.position);
}
}
}
if (CurrentChargingFrames == 136f)
if (CurrentChargingFrames == MagnaCannon.FullChargeFrames)
{
for (int i = 0; i < 36; i++)
{
+2 -5
View File
@@ -1,8 +1,5 @@
using System;
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Particles;
using CalamityMod.Particles;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.Audio;
using Terraria.ID;
@@ -22,7 +19,7 @@ namespace CalamityMod.Projectiles.Ranged
public override void SetDefaults()
{
Projectile.width = Projectile.height = 40;
Projectile.width = Projectile.height = 36;
Projectile.friendly = true;
Projectile.tileCollide = false;
Projectile.alpha = 20;
+16 -20
View File
@@ -1,15 +1,11 @@
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Sounds;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.Audio;
using ReLogic.Utilities;
using CalamityMod.Items.Accessories;
using System;
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Particles;
using System;
using System.Runtime.Intrinsics;
using Microsoft.Xna.Framework;
using ReLogic.Utilities;
using Terraria;
using Terraria.Audio;
using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Ranged
{
@@ -28,7 +24,7 @@ namespace CalamityMod.Projectiles.Ranged
public const float velocityMultiplier = 1.2f;
public bool Extradamage = false;
public int Time = 0;
public int Aftershot = 17;
public int Aftershot = OpalStriker.AftershotCooldownFrames;
public override string Texture => "CalamityMod/Items/Weapons/Ranged/OpalStriker";
@@ -52,7 +48,7 @@ namespace CalamityMod.Projectiles.Ranged
return;
}
if (CurrentChargingFrames >= 88)
if (CurrentChargingFrames >= OpalStriker.FullChargeFrames)
Extradamage = true;
else
Extradamage = false;
@@ -63,7 +59,7 @@ namespace CalamityMod.Projectiles.Ranged
// Fire if the owner stops channeling or otherwise cannot use the weapon.
if (!OwnerCanShoot)
{
if (Aftershot == 17)
if (Aftershot == OpalStriker.AftershotCooldownFrames)
{
if (SoundEngine.TryGetActiveSound(OpalChargeSlot, out var OpalCharge2))
OpalCharge2.Stop();
@@ -98,7 +94,7 @@ namespace CalamityMod.Projectiles.Ranged
{
if (CurrentChargingFrames >= 10)
{
if (CurrentChargingFrames < 88)
if (CurrentChargingFrames < OpalStriker.FullChargeFrames)
{
Particle streak = new ManaDrainStreak(player, Main.rand.NextFloat(0.06f + (CurrentChargingFrames / 180), 0.08f + (CurrentChargingFrames / 180)), Main.rand.NextVector2CircularEdge(2f, 2f) * Main.rand.NextFloat(0.3f * CurrentChargingFrames, 0.3f * CurrentChargingFrames), 0f, Color.Gold, Color.Orange, 7, tipPosition);
GeneralParticleHandler.SpawnParticle(streak);
@@ -113,21 +109,21 @@ namespace CalamityMod.Projectiles.Ranged
OpalChargeSlot = SoundEngine.PlaySound(OpalStriker.Charge, Projectile.position);
}
// Start Charging.
if (CurrentChargingFrames < 90)
if (CurrentChargingFrames < OpalStriker.FullChargeFrames + 2)
++CurrentChargingFrames;
if (CurrentChargingFrames >= 88f) //78 frames is durration of charge sound
if (CurrentChargingFrames >= OpalStriker.FullChargeFrames) //78 frames is durration of charge sound
{
Time++;
if (CurrentChargingFrames == 88f)
if (CurrentChargingFrames == OpalStriker.FullChargeFrames)
OpalChargeLoopSlot = SoundEngine.PlaySound(OpalStriker.ChargeLoop, Projectile.position);
if (Time % 120 == 0)
if (Time % OpalStriker.ChargeLoopSoundFrames == 0)
{
OpalChargeLoopSlot = SoundEngine.PlaySound(OpalStriker.ChargeLoop, Projectile.position);
}
}
if (CurrentChargingFrames == 88f)
if (CurrentChargingFrames == OpalStriker.FullChargeFrames)
{
for (int i = 0; i < 36; i++)
{