i need help making xml spawner for abyss mini champs i read teh turtile about it but dont understand on how to do it any help would be appicated plz
thxs in adnace
 
is that whats its called in resource?
[doublepost=1480305504][/doublepost]can you sedn the scripted to me in discord ?
 
BaseTreasureChest.cs
Code:
public override void OnSingleClick(Mobile from)
{
	base.OnSingleClick(from);
	LabelTo( from, "Difficulty: {0}", m_TreasureLevel );
}

Put it where indicated:
Code:
        public override string DefaultName
        {
            get
            {
                if (this.Locked)
                    return "a locked treasure chest";

                return "a treasure chest";
            }
        }
< ==== HERE ==== >
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)0);
            writer.Write((byte)this.m_TreasureLevel);
            writer.Write(this.m_MinSpawnTime);
            writer.Write(this.m_MaxSpawnTime);
        }

Also please, if you request for help on the forums, finish the problem on the forums, otherwise those who have similar problems won't be able to get the finished answer and less people would be able to assist you or give feedback.
 
Back