woops on my part. ninjaweps and spellhelper multi checks.
This commit is contained in:
parent
b56f20b39f
commit
07e45156e5
5 changed files with 15 additions and 12 deletions
|
|
@ -94,8 +94,8 @@ namespace Server.Items
|
|||
|
||||
if ( IsChildOf( from ) )
|
||||
{
|
||||
list.Add(new NinjaWeapon.LoadEntry(this));
|
||||
list.Add(new NinjaWeapon.UnloadEntry(this));
|
||||
list.Add(new NinjaWeapon.LoadEntry(this, 6224));
|
||||
list.Add(new NinjaWeapon.UnloadEntry(this, 6225));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -107,8 +107,8 @@ namespace Server.Items
|
|||
|
||||
if ( IsChildOf( from ) )
|
||||
{
|
||||
list.Add( new NinjaWeapon.LoadEntry( this ) );
|
||||
list.Add( new NinjaWeapon.UnloadEntry( this ) );
|
||||
list.Add(new NinjaWeapon.LoadEntry(this, 6222));
|
||||
list.Add(new NinjaWeapon.UnloadEntry(this, 6222));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -346,8 +346,8 @@ namespace Server.Items
|
|||
{
|
||||
private INinjaWeapon weapon;
|
||||
|
||||
public LoadEntry(INinjaWeapon wep)
|
||||
: base(6222, 0)
|
||||
public LoadEntry(INinjaWeapon wep, int entry)
|
||||
: base(entry, 0)
|
||||
{
|
||||
weapon = wep;
|
||||
}
|
||||
|
|
@ -365,10 +365,10 @@ namespace Server.Items
|
|||
{
|
||||
private INinjaWeapon weapon;
|
||||
|
||||
public UnloadEntry(INinjaWeapon belt)
|
||||
: base(6223, 0)
|
||||
public UnloadEntry(INinjaWeapon wep, int entry)
|
||||
: base(entry, 0)
|
||||
{
|
||||
weapon = belt;
|
||||
weapon = wep;
|
||||
|
||||
Enabled = (weapon.UsesRemaining > 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue