branch sync, Constructable can now have an accesslevel defined.
This commit is contained in:
parent
fede41b710
commit
5d78b17be1
7 changed files with 52 additions and 11 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
using Server.Network;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.ContextMenus
|
||||
|
|
@ -29,7 +30,7 @@ namespace Server.ContextMenus
|
|||
{
|
||||
if ( targeted is Spellbook )
|
||||
{
|
||||
if ( from.CheckAlive() && !m_Scroll.Deleted && m_Scroll.Movable && m_Scroll.Amount >= 1 )
|
||||
if ( from.CheckAlive() && !m_Scroll.Deleted && m_Scroll.Movable && m_Scroll.Amount >= 1 && m_Scroll.CheckItemUse( from ) )
|
||||
{
|
||||
Spellbook book = (Spellbook)targeted;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue