halleys no longer zooms
This commit is contained in:
1 parent
75f8f3430c
commit
445e7b3fe4
2 files changed
-15
No files matched your search
@@ -15,20 +15,6 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
public class HalleysInferno : ModItem, ILocalizedModType
|
||||
{
|
||||
public class HalleyZoom : ModSystem
|
||||
{
|
||||
public static float halleyZoomAmount = 0;
|
||||
public override void ModifyTransformMatrix(ref SpriteViewMatrix Transform)
|
||||
{
|
||||
if (Main.LocalPlayer.HeldItem.type == ModContent.ItemType<HalleysInferno>())
|
||||
halleyZoomAmount += 0.05f;
|
||||
else
|
||||
halleyZoomAmount -= 0.05f;
|
||||
halleyZoomAmount = MathHelper.Clamp(halleyZoomAmount, 0, 1);
|
||||
Transform.Zoom *= 1 - 0.25f*halleyZoomAmount;
|
||||
}
|
||||
}
|
||||
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
|
||||
public static readonly SoundStyle ShootSound = new("CalamityMod/Sounds/Item/HalleysInfernoShoot") { Volume = 0.68f };
|
||||
|
||||
@@ -540,7 +540,6 @@ HalleysInferno: {
|
||||
Fires a burst of intensely concentrated lunar fire jets
|
||||
<right> to rapid-fire Starbursts that inflict [cbuff:CalamityMod/Voidfrost]
|
||||
Generates Starbursts when hitting enemies, depending on your accuracy
|
||||
Increases view range by 33% while held
|
||||
Uses gel for ammo
|
||||
'Halley arrived sooner than expected'
|
||||
'''
|
||||
|
||||
Reference in new issue
Block a user