Hey some one help me
View attachment 153261 View attachment 153262
[doublepost=1483059471,1483059356][/doublepost]
if you need to see the code here
using System.Collections.Generic;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace ExampleMod.Items.Armor
{
public class WolfWings : ModItem
{
public override bool Autoload(ref string name, ref string texture, IList<EquipType> equips)
{
equips.Add(EquipType.Wings);
return true;
}
public override void SetDefaults()
{
item.name = "Wolf's Wings";
item.width = 22;
item.height = 20;
item.value = 10;
item.rare = 2;
item.accessory = true;
}
public override void VerticalWingSpeeds(ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
{
ascentWhenFalling = 0.85f;
ascentWhenRising = 1.10f;
maxCanAscendMultiplier = 10f;
maxAscentMultiplier = 3f;
constantAscend = 1f;
}
public override void HorizontalWingSpeeds(ref float speed, ref float acceleration)
{
speed = 10f;
acceleration *= 2.5f;
}
}
}
-------------------------------------
Frame sizes for "./WolfsWings_Wings.png" are 22 x 20 px
I looked through all of my code at least 17 times trying to find inconsistencies but everything looks fine to me Whats causing this?