FlyingHigh
Member
ObjectPropertyList.Enabled = true;
ObjectPropertyList.Enabled = Core.AOS;
AOS.DisableStatInfluences();
if (ObjectPropertyList.Enabled)
{
PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list
}
public virtual void AddProperty(ObjectPropertyList list)
{
}
Look on ArgentSmoke answer. It's can resolve your problem.I believe it may have something to do with this part. but i could be wrong
set it true and you get you single click props but not visible spells.
public void DisplayTo(Mobile to)
{
// The client must know about the spellbook or it will crash!
NetState ns = to.NetState;
if (ns == null)
{
return;
}
if (Parent == null)
{
to.Send(WorldPacket);
}
else if (Parent is Item)
{
// What will happen if the client doesn't know about our parent?
if (ns.ContainerGridLines)
{
to.Send(new ContainerContentUpdate6017(this));
}
else
{
to.Send(new ContainerContentUpdate(this));
}
}
else if (Parent is Mobile)
{
// What will happen if the client doesn't know about our parent?
to.Send(new EquipUpdate(this));
}
if (ns.HighSeas)
{
to.Send(new DisplaySpellbookHS(this));
}
else
{
to.Send(new DisplaySpellbook(this));
}
/* if (ObjectPropertyList.Enabled)
{
if (ns.NewSpellbook)
{
to.Send(new NewSpellbookContent(this, ItemID, BookOffset + 1, m_Content));
}
else
{
if (ns.ContainerGridLines)
{
to.Send(new SpellbookContent6017(m_Count, BookOffset + 1, m_Content, this));
}
else
{
to.Send(new SpellbookContent(m_Count, BookOffset + 1, m_Content, this));
}
}
}
else
{*/
if (ns.ContainerGridLines)
{
to.Send(new SpellbookContent6017(m_Count, BookOffset + 1, m_Content, this));
}
else
{
to.Send(new SpellbookContent(m_Count, BookOffset + 1, m_Content, this));
}
// }
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.