fix pre-aos OPL spellbook display
This commit is contained in:
parent
ec3b7c8758
commit
acd585cb5b
1 changed files with 7 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue