1 - Hadal Mantle fix.
This commit is contained in:
1 parent
58a1c5a0a4
commit
3f20e3a42a
2 files changed
+3
-9
No files matched your search
@@ -1,5 +1,4 @@
|
||||
using CalamityMod.Items.Armor;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.Graphics.Shaders;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.Graphics.Shaders;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -21,6 +22,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
"Average vertical speed\n" +
|
||||
"Flight time: 180\n" +
|
||||
"5% increased damage while wearing the Hydrothermic Armor");
|
||||
ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(180, 7.75f, 1.5f);
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -58,7 +60,6 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
}
|
||||
Main.dust[num60].shader = GameShaders.Armor.GetSecondaryShader(player.cWings, player);
|
||||
}
|
||||
player.wingTimeMax = 180;
|
||||
player.noFallDmg = true;
|
||||
}
|
||||
|
||||
@@ -71,12 +72,6 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
constantAscend = 0.11f;
|
||||
}
|
||||
|
||||
public override void HorizontalWingSpeeds(Player player, ref float speed, ref float acceleration)
|
||||
{
|
||||
speed = 7.75f;
|
||||
acceleration *= 1.5f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
Reference in new issue
Block a user