RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Hanging Skeleton Error

Miracle99

Squire
I noticed that the Hanging Skeleton cs in the Vet Rewards Folder was wrong

Here is the original code
Code:
using System;
using Server;
using Server.Gumps;
using Server.Multis;
using Server.Network;
using Server.Targeting;
using Server.Engines.VeteranRewards;

namespace Server.Items
{
    public class HangingSkeleton : Item, IAddon, IRewardItem
    {
        public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }

        public Item Deed
        {
            get
            {
                HangingSkeletonDeed deed = new HangingSkeletonDeed();
                deed.IsRewardItem = m_IsRewardItem;

                return deed;
            }
        }

        private bool m_IsRewardItem;

        [CommandProperty( AccessLevel.GameMaster )]
        public bool IsRewardItem
        {
            get{ return m_IsRewardItem; }
            set{ m_IsRewardItem = value; InvalidateProperties(); }
        }

        public bool FacingSouth
        {
            get
            {
                if ( ItemID == 0x1A03 || ItemID == 0x1A05 || ItemID == 0x1A09 ||
                    ItemID == 0x1B1E || ItemID == 0x1B7F )
                    return true;

                return false;
            }
        }

        [Constructable]
        public HangingSkeleton() : this( 0x1596 )
        {
        }

Line 48 has
public HangingSkeleton() : this (0x1596)
which is for a Banner

Here is my correct entry

public HangingSkeleton() : this( 0x1A03 )

I have also attached my updated cs file
 

Attachments

  • HangingSkeleton.cs
    10.2 KB · Views: 1
Top