Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
61
Scripts/Scripts-master/Items/Armors/Nast Set/ArmsofNast.cs
Normal file
61
Scripts/Scripts-master/Items/Armors/Nast Set/ArmsofNast.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x1410, 0x1417 )]
|
||||
public class ArmsofNast : BaseArmor
|
||||
{
|
||||
public override int ArtifactRarity{ get{return 5000; } }
|
||||
public override int BasePhysicalResistance{ get{ return 70; } }
|
||||
public override int BaseFireResistance{ get{ return 70; } }
|
||||
public override int BaseColdResistance{ get{ return 70; } }
|
||||
public override int BasePoisonResistance{ get{ return 70; } }
|
||||
public override int BaseEnergyResistance{ get{ return 70; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 561; } }
|
||||
public override int InitMaxHits{ get{ return 561; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 100; } }
|
||||
public override int OldStrReq{ get{ return 40; } }
|
||||
|
||||
|
||||
public override int AosDexReq{ get{ return 100; } }
|
||||
public override int OldDexBonus{ get{ return -2; } }
|
||||
|
||||
public override int AosIntReq{ get{ return 100; } }
|
||||
|
||||
public override int ArmorBase{ get{ return 40; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; } }
|
||||
|
||||
[Constructable]
|
||||
public ArmsofNast() : base( 0x1410 )
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
Name = "Arms of Nast";
|
||||
Hue = 1109;
|
||||
Weight = 5.0;
|
||||
}
|
||||
|
||||
public ArmsofNast( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( Weight == 1.0 )
|
||||
Weight = 5.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
64
Scripts/Scripts-master/Items/Armors/Nast Set/BladeofNast.cs
Normal file
64
Scripts/Scripts-master/Items/Armors/Nast Set/BladeofNast.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x26BB, 0x26C5 )]
|
||||
public class BladeofNast : BaseSword
|
||||
{
|
||||
public override int ArtifactRarity{ get{return 5001; } }
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.BleedAttack; } }
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.Disarm; } }
|
||||
|
||||
public override int AosStrengthReq{ get{ return 100; } }
|
||||
public override int AosMinDamage{ get{ return 25; } }
|
||||
public override int AosMaxDamage{ get{ return 65; } }
|
||||
public override int AosSpeed{ get{ return 36; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 25; } }
|
||||
public override int OldMinDamage{ get{ return 13; } }
|
||||
public override int OldMaxDamage{ get{ return 15; } }
|
||||
public override int OldSpeed{ get{ return 36; } }
|
||||
|
||||
public override int AosDexterityReq{ get{ return 100; } }
|
||||
|
||||
public override int AosIntelligenceReq{ get{ return 100; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23B; } }
|
||||
public override int DefMissSound{ get{ return 0x23A; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 31; } }
|
||||
public override int InitMaxHits{ get{ return 70; } }
|
||||
|
||||
[Constructable]
|
||||
public BladeofNast() : base( 0x26BB )
|
||||
{
|
||||
LootType = LootType.Blessed ;
|
||||
Attributes.SpellChanneling = 1 ;
|
||||
WeaponAttributes.HitFireball = 75 ;
|
||||
WeaponAttributes.HitLightning = 75 ;
|
||||
Name = "BladeofNast" ;
|
||||
Hue = 1608 ;
|
||||
Weight = 3.0;
|
||||
}
|
||||
|
||||
public BladeofNast( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
61
Scripts/Scripts-master/Items/Armors/Nast Set/ChestofNast.cs
Normal file
61
Scripts/Scripts-master/Items/Armors/Nast Set/ChestofNast.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x1415, 0x1416 )]
|
||||
public class ChestofNast : BaseArmor
|
||||
{
|
||||
public override int ArtifactRarity{ get{return 5000; } }
|
||||
public override int BasePhysicalResistance{ get{ return 70; } }
|
||||
public override int BaseFireResistance{ get{ return 70; } }
|
||||
public override int BaseColdResistance{ get{ return 70; } }
|
||||
public override int BasePoisonResistance{ get{ return 70; } }
|
||||
public override int BaseEnergyResistance{ get{ return 70; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 561; } }
|
||||
public override int InitMaxHits{ get{ return 561; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 100; } }
|
||||
public override int OldStrReq{ get{ return 40; } }
|
||||
|
||||
|
||||
public override int AosDexReq{ get{ return 100; } }
|
||||
public override int OldDexBonus{ get{ return -2; } }
|
||||
|
||||
public override int AosIntReq{ get{ return 100; } }
|
||||
|
||||
public override int ArmorBase{ get{ return 40; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; } }
|
||||
|
||||
[Constructable]
|
||||
public ChestofNast() : base( 0x1415 )
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
Name = "Chest of Nast";
|
||||
Hue = 1109;
|
||||
Weight = 10.0;
|
||||
}
|
||||
|
||||
public ChestofNast( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( Weight == 1.0 )
|
||||
Weight = 10.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
61
Scripts/Scripts-master/Items/Armors/Nast Set/GlovesofNast.cs
Normal file
61
Scripts/Scripts-master/Items/Armors/Nast Set/GlovesofNast.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x1414, 0x1418 )]
|
||||
public class GlovesofNast : BaseArmor
|
||||
{
|
||||
public override int ArtifactRarity{ get{return 5000; } }
|
||||
public override int BasePhysicalResistance{ get{ return 70; } }
|
||||
public override int BaseFireResistance{ get{ return 70; } }
|
||||
public override int BaseColdResistance{ get{ return 70; } }
|
||||
public override int BasePoisonResistance{ get{ return 70; } }
|
||||
public override int BaseEnergyResistance{ get{ return 70; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 561; } }
|
||||
public override int InitMaxHits{ get{ return 561; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 100; } }
|
||||
public override int OldStrReq{ get{ return 40; } }
|
||||
|
||||
|
||||
public override int AosDexReq{ get{ return 100; } }
|
||||
public override int OldDexBonus{ get{ return -2; } }
|
||||
|
||||
public override int AosIntReq{ get{ return 100; } }
|
||||
|
||||
public override int ArmorBase{ get{ return 40; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; } }
|
||||
|
||||
[Constructable]
|
||||
public GlovesofNast() : base( 0x1414 )
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
Name = "Goves of Nast";
|
||||
Hue = 1109;
|
||||
Weight = 2.0;
|
||||
}
|
||||
|
||||
public GlovesofNast( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( Weight == 1.0 )
|
||||
Weight = 2.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
58
Scripts/Scripts-master/Items/Armors/Nast Set/HeadofNast.cs
Normal file
58
Scripts/Scripts-master/Items/Armors/Nast Set/HeadofNast.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x1451, 0x1456 )]
|
||||
public class HeadofNast : BaseArmor
|
||||
{
|
||||
public override int ArtifactRarity{ get{return 5000; } }
|
||||
public override int BasePhysicalResistance{ get{ return 70; } }
|
||||
public override int BaseFireResistance{ get{ return 70; } }
|
||||
public override int BaseColdResistance{ get{ return 70; } }
|
||||
public override int BasePoisonResistance{ get{ return 70; } }
|
||||
public override int BaseEnergyResistance{ get{ return 70; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 561; } }
|
||||
public override int InitMaxHits{ get{ return 561; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 100; } }
|
||||
public override int OldStrReq{ get{ return 40; } }
|
||||
|
||||
public override int AosDexReq{ get{ return 100; } }
|
||||
|
||||
public override int AosIntReq{ get{ return 100; } }
|
||||
public override int ArmorBase{ get{ return 30; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; } }
|
||||
|
||||
[Constructable]
|
||||
public HeadofNast() : base( 0x1451 )
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
Name = "Head of Nast";
|
||||
Hue = 1608;
|
||||
Weight = 3.0;
|
||||
}
|
||||
|
||||
public HeadofNast( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
|
||||
if ( Weight == 1.0 )
|
||||
Weight = 3.0;
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
59
Scripts/Scripts-master/Items/Armors/Nast Set/LegsofNast.cs
Normal file
59
Scripts/Scripts-master/Items/Armors/Nast Set/LegsofNast.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x1411, 0x141a )]
|
||||
public class LegsofNast : BaseArmor
|
||||
{
|
||||
|
||||
public override int ArtifactRarity{ get{return 5000; } }
|
||||
public override int BasePhysicalResistance{ get{ return 70; } }
|
||||
public override int BaseFireResistance{ get{ return 70; } }
|
||||
public override int BaseColdResistance{ get{ return 70; } }
|
||||
public override int BasePoisonResistance{ get{ return 70; } }
|
||||
public override int BaseEnergyResistance{ get{ return 70; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 561; } }
|
||||
public override int InitMaxHits{ get{ return 561; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 100; } }
|
||||
public override int OldStrReq{ get{ return 40; } }
|
||||
|
||||
|
||||
public override int AosDexReq{ get{ return 100; } }
|
||||
public override int OldDexBonus{ get{ return -2; } }
|
||||
|
||||
public override int AosIntReq{ get{ return 100; } }
|
||||
|
||||
public override int ArmorBase{ get{ return 40; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; } }
|
||||
|
||||
[Constructable]
|
||||
public LegsofNast() : base( 0x1411 )
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
Name = "Legs of Nast";
|
||||
Hue = 1109;
|
||||
Weight = 7.0;
|
||||
}
|
||||
|
||||
public LegsofNast( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Engines.Harvest;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x26BA, 0x26C4 )]
|
||||
public class ScytheofNast : BasePoleArm
|
||||
{
|
||||
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.BleedAttack; } }
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.Disarm; } }
|
||||
|
||||
public override int AosStrengthReq{ get{ return 100; } }
|
||||
public override int AosMinDamage{ get{ return 55; } }
|
||||
public override int AosMaxDamage{ get{ return 65; } }
|
||||
public override int AosSpeed{ get{ return 50; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 45; } }
|
||||
public override int OldMinDamage{ get{ return 15; } }
|
||||
public override int OldMaxDamage{ get{ return 18; } }
|
||||
public override int OldSpeed{ get{ return 32; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 561; } }
|
||||
public override int InitMaxHits{ get{ return 561; } }
|
||||
|
||||
public override int AosIntelligenceReq{ get{ return 100; } }
|
||||
|
||||
public override int AosDexterityReq{ get{ return 100; } }
|
||||
|
||||
[Constructable]
|
||||
public ScytheofNast() : base( 0x26BA )
|
||||
{
|
||||
LootType = LootType.Blessed ;
|
||||
Attributes.SpellChanneling = 1 ;
|
||||
WeaponAttributes.HitFireball = 75 ;
|
||||
WeaponAttributes.HitLightning = 75 ;
|
||||
Name = "Nast'sScythe" ;
|
||||
Hue = 1153 ;
|
||||
Weight = 5.0;
|
||||
}
|
||||
|
||||
public ScytheofNast( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( Weight == 15.0 )
|
||||
Weight = 5.0; }
|
||||
|
||||
public override int ArtifactRarity{ get{return 5000; } }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class NastsBracelet : GoldBracelet
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 5000; } }
|
||||
|
||||
[Constructable]
|
||||
public NastsBracelet()
|
||||
{
|
||||
Name = "Nasts Bracelet";
|
||||
Hue = Utility.RandomList(38,203);
|
||||
LootType = LootType.Blessed;
|
||||
Attributes.ReflectPhysical = 1000;
|
||||
Attributes.CastRecovery = 100;
|
||||
Attributes.CastSpeed = 100;
|
||||
Attributes.NightSight = 1;
|
||||
Attributes.Luck = 200;
|
||||
Attributes.LowerRegCost = 100;
|
||||
Attributes.LowerManaCost = 100;
|
||||
Attributes.RegenHits = 100;
|
||||
Attributes.RegenMana = 100;
|
||||
Attributes.RegenStam = 100;
|
||||
}
|
||||
|
||||
public NastsBracelet( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
57
Scripts/Scripts-master/Items/Armors/Nast Set/NeckofNast.cs
Normal file
57
Scripts/Scripts-master/Items/Armors/Nast Set/NeckofNast.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class NeckofNast : BaseArmor
|
||||
{
|
||||
public override int ArtifactRarity{ get{return 5000; } }
|
||||
public override int BasePhysicalResistance{ get{ return 70; } }
|
||||
public override int BaseFireResistance{ get{ return 70; } }
|
||||
public override int BaseColdResistance{ get{ return 70; } }
|
||||
public override int BasePoisonResistance{ get{ return 70; } }
|
||||
public override int BaseEnergyResistance{ get{ return 70; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 561; } }
|
||||
public override int InitMaxHits{ get{ return 561; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 100; } }
|
||||
public override int OldStrReq{ get{ return 40; } }
|
||||
|
||||
|
||||
public override int AosDexReq{ get{ return 100; } }
|
||||
public override int OldDexBonus{ get{ return -2; } }
|
||||
|
||||
public override int AosIntReq{ get{ return 100; } }
|
||||
|
||||
public override int ArmorBase{ get{ return 40; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; } }
|
||||
|
||||
[Constructable]
|
||||
public NeckofNast() : base( 0x1413 )
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
Name = "Neck of Nast";
|
||||
Hue = 1109;
|
||||
Weight = 2.0;
|
||||
}
|
||||
|
||||
public NeckofNast( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Guilds;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShieldofLordNast : BaseShield
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 5001; } }
|
||||
public override int BasePhysicalResistance{ get{ return 70; } }
|
||||
public override int BaseFireResistance{ get{ return 70; } }
|
||||
public override int BaseColdResistance{ get{ return 70; } }
|
||||
public override int BasePoisonResistance{ get{ return 70; } }
|
||||
public override int BaseEnergyResistance{ get{ return 70; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 561; } }
|
||||
public override int InitMaxHits{ get{ return 561; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 100; } }
|
||||
|
||||
public override int AosIntReq{ get{ return 100; } }
|
||||
|
||||
public override int AosDexReq{ get{ return 100; } }
|
||||
|
||||
public override int ArmorBase{ get{ return 30; } }
|
||||
|
||||
[Constructable]
|
||||
public ShieldofLordNast() : base( 0x1BC4 )
|
||||
{
|
||||
if ( !Core.AOS )
|
||||
|
||||
LootType = LootType.Blessed ;
|
||||
Attributes.SpellChanneling = 1 ;
|
||||
Name = "ShieldofLordNast" ;
|
||||
Hue = 1161 ;
|
||||
|
||||
Weight = 7.0;
|
||||
}
|
||||
|
||||
public ShieldofLordNast( Serial serial ) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( Weight == 6.0 )
|
||||
Weight = 7.0;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int)0 );//version
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
return Validate( from ) && base.OnEquip( from );
|
||||
}
|
||||
|
||||
public override void OnSingleClick( Mobile from )
|
||||
{
|
||||
if ( Validate( Parent as Mobile ) )
|
||||
base.OnSingleClick( from );
|
||||
}
|
||||
|
||||
public virtual bool Validate( Mobile m )
|
||||
{
|
||||
if ( Core.AOS || m == null || !m.Player || m.AccessLevel != AccessLevel.Player )
|
||||
return true;
|
||||
|
||||
Guild g = m.Guild as Guild;
|
||||
|
||||
if ( g == null || g.Type != GuildType.Order )
|
||||
{
|
||||
m.FixedEffect( 0x3728, 10, 13 );
|
||||
Delete();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user