fix pre-aos OPL spellbook display

This commit is contained in:
Mark Sturgill 2013-10-05 04:48:23 -07:00
parent ec3b7c8758
commit acd585cb5b

View file

@ -545,14 +545,17 @@ namespace Server.Items
else
to.Send( new DisplaySpellbook( this ) );
if ( Core.AOS ) {
if ( ObjectPropertyList.Enabled ) {
if ( ns.NewSpellbook ) {
to.Send( new NewSpellbookContent( this, ItemID, BookOffset + 1, m_Content ) );
} else {
to.Send( new SpellbookContent( m_Count, BookOffset + 1, m_Content, this ) );
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 {
} else {
if ( ns.ContainerGridLines ) {
to.Send( new SpellbookContent6017( m_Count, BookOffset + 1, m_Content, this ) );
} else {