need to look for correct wings behavior
This commit is contained in:
parent
4831105c03
commit
522c2d0a22
@ -8,9 +8,9 @@ namespace Emiliasmod.Content.Items.Accessories
|
||||
[AutoloadEquip(EquipType.Wings)]
|
||||
public class Spacesurf : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults() {
|
||||
ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(180, 14f, 4f, true);
|
||||
}
|
||||
//public override void SetStaticDefaults() {
|
||||
// ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(180, 14f, 4f, true);
|
||||
//}
|
||||
|
||||
public override void SetDefaults() {
|
||||
Item.CloneDefaults(ItemID.LongRainbowTrailWings);
|
||||
@ -19,7 +19,6 @@ namespace Emiliasmod.Content.Items.Accessories
|
||||
Item.value = Item.sellPrice(platinum: 1, gold: 35);
|
||||
Item.rare = ItemRarityID.Red;
|
||||
Item.accessory = true;
|
||||
Item.wingSlot = 45;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual) {
|
||||
@ -27,8 +26,6 @@ namespace Emiliasmod.Content.Items.Accessories
|
||||
player.moonLordLegs = true;
|
||||
player.moveSpeed += 0.35f;
|
||||
player.dashType = 1;
|
||||
//player.wings = 45;
|
||||
//player.wingsLogic = 45;
|
||||
//if (player.TryingToHoverUp)
|
||||
//{
|
||||
// player.velocity.Y -= 0.4f * player.gravDir;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user