#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
34
Scripts/Items/Minor Artifacts/AdmiralsHeartyRum.cs
Normal file
34
Scripts/Items/Minor Artifacts/AdmiralsHeartyRum.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AdmiralsHeartyRum : BeverageBottle
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063477; } }
|
||||
|
||||
[Constructable]
|
||||
public AdmiralsHeartyRum() : base( BeverageType.Ale )
|
||||
{
|
||||
Hue = 0x66C;
|
||||
}
|
||||
|
||||
public AdmiralsHeartyRum( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
38
Scripts/Items/Minor Artifacts/AlchemistsBauble.cs
Normal file
38
Scripts/Items/Minor Artifacts/AlchemistsBauble.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AlchemistsBauble : GoldBracelet
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070638; } }
|
||||
|
||||
[Constructable]
|
||||
public AlchemistsBauble()
|
||||
{
|
||||
Hue = 0x290;
|
||||
SkillBonuses.SetValues( 0, SkillName.Magery, 10.0 );
|
||||
Attributes.EnhancePotions = 30;
|
||||
Attributes.LowerRegCost = 20;
|
||||
Resistances.Poison = 10;
|
||||
}
|
||||
|
||||
public AlchemistsBauble( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/Items/Minor Artifacts/ArcticDeathDealer.cs
Normal file
50
Scripts/Items/Minor Artifacts/ArcticDeathDealer.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ArcticDeathDealer : WarMace
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063481; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ArcticDeathDealer()
|
||||
{
|
||||
Hue = 0x480;
|
||||
WeaponAttributes.HitHarm = 33;
|
||||
WeaponAttributes.HitLowerAttack = 40;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 40;
|
||||
WeaponAttributes.ResistColdBonus = 10;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
cold = 50;
|
||||
phys = 50;
|
||||
|
||||
pois = fire = nrgy = chaos = direct = 0;
|
||||
}
|
||||
|
||||
public ArcticDeathDealer( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
51
Scripts/Items/Minor Artifacts/BlazeOfDeath.cs
Normal file
51
Scripts/Items/Minor Artifacts/BlazeOfDeath.cs
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BlazeOfDeath : Halberd
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063486; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public BlazeOfDeath()
|
||||
{
|
||||
Hue = 0x501;
|
||||
WeaponAttributes.HitFireArea = 50;
|
||||
WeaponAttributes.HitFireball = 50;
|
||||
Attributes.WeaponSpeed = 25;
|
||||
Attributes.WeaponDamage = 35;
|
||||
WeaponAttributes.ResistFireBonus = 10;
|
||||
WeaponAttributes.LowerStatReq = 100;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
fire = 50;
|
||||
phys = 50;
|
||||
|
||||
cold = pois = nrgy = chaos = direct = 0;
|
||||
}
|
||||
|
||||
public BlazeOfDeath( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
41
Scripts/Items/Minor Artifacts/BowOfTheJukaKing.cs
Normal file
41
Scripts/Items/Minor Artifacts/BowOfTheJukaKing.cs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BowOfTheJukaKing : Bow
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070636; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public BowOfTheJukaKing()
|
||||
{
|
||||
Hue = 0x460;
|
||||
WeaponAttributes.HitMagicArrow = 25;
|
||||
Slayer = SlayerName.ReptilianDeath;
|
||||
Attributes.AttackChance = 15;
|
||||
Attributes.WeaponDamage = 40;
|
||||
}
|
||||
|
||||
public BowOfTheJukaKing( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
58
Scripts/Items/Minor Artifacts/BurglarsBandana.cs
Normal file
58
Scripts/Items/Minor Artifacts/BurglarsBandana.cs
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BurglarsBandana : Bandana
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063473; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 10; } }
|
||||
public override int BaseFireResistance{ get{ return 5; } }
|
||||
public override int BaseColdResistance{ get{ return 7; } }
|
||||
public override int BasePoisonResistance{ get{ return 10; } }
|
||||
public override int BaseEnergyResistance{ get{ return 10; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public BurglarsBandana()
|
||||
{
|
||||
Hue = Utility.RandomBool() ? 0x58C : 0x10;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Stealing, 10.0 );
|
||||
SkillBonuses.SetValues( 1, SkillName.Stealth, 10.0 );
|
||||
SkillBonuses.SetValues( 2, SkillName.Snooping, 10.0 );
|
||||
|
||||
Attributes.BonusDex = 5;
|
||||
}
|
||||
|
||||
public BurglarsBandana( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 2 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 2 )
|
||||
{
|
||||
Resistances.Physical = 0;
|
||||
Resistances.Fire = 0;
|
||||
Resistances.Cold = 0;
|
||||
Resistances.Poison = 0;
|
||||
Resistances.Energy = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
Scripts/Items/Minor Artifacts/CandelabraOfSouls.cs
Normal file
33
Scripts/Items/Minor Artifacts/CandelabraOfSouls.cs
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CandelabraOfSouls : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063478; } }
|
||||
|
||||
[Constructable]
|
||||
public CandelabraOfSouls() : base( 0xB26 )
|
||||
{
|
||||
}
|
||||
|
||||
public CandelabraOfSouls( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Scripts/Items/Minor Artifacts/CaptainQuacklebushsCutlass.cs
Normal file
45
Scripts/Items/Minor Artifacts/CaptainQuacklebushsCutlass.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CaptainQuacklebushsCutlass : Cutlass
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063474; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public CaptainQuacklebushsCutlass()
|
||||
{
|
||||
Hue = 0x66C;
|
||||
Attributes.BonusDex = 5;
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 50;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
}
|
||||
|
||||
public CaptainQuacklebushsCutlass( 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( Attributes.AttackChance == 50 )
|
||||
Attributes.AttackChance = 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
44
Scripts/Items/Minor Artifacts/CavortingClub.cs
Normal file
44
Scripts/Items/Minor Artifacts/CavortingClub.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CavortingClub : Club
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063472; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public CavortingClub()
|
||||
{
|
||||
Hue = 0x593;
|
||||
WeaponAttributes.SelfRepair = 3;
|
||||
Attributes.WeaponSpeed = 25;
|
||||
Attributes.WeaponDamage = 35;
|
||||
WeaponAttributes.ResistFireBonus = 8;
|
||||
WeaponAttributes.ResistColdBonus = 8;
|
||||
WeaponAttributes.ResistPoisonBonus = 8;
|
||||
WeaponAttributes.ResistEnergyBonus = 8;
|
||||
}
|
||||
|
||||
public CavortingClub( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/Items/Minor Artifacts/ColdBlood.cs
Normal file
50
Scripts/Items/Minor Artifacts/ColdBlood.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ColdBlood : Cleaver
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070818; } } // Cold Blood
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ColdBlood()
|
||||
{
|
||||
Hue = 0x4F2;
|
||||
|
||||
Attributes.WeaponSpeed = 40;
|
||||
|
||||
Attributes.BonusHits = 6;
|
||||
Attributes.BonusStam = 6;
|
||||
Attributes.BonusMana = 6;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
cold = 100;
|
||||
|
||||
fire = phys = pois = nrgy = chaos = direct = 0;
|
||||
}
|
||||
|
||||
public ColdBlood( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
61
Scripts/Items/Minor Artifacts/DreadPirateHat.cs
Normal file
61
Scripts/Items/Minor Artifacts/DreadPirateHat.cs
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DreadPirateHat : TricorneHat
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063467; } }
|
||||
|
||||
public override int BaseColdResistance{ get{ return 14; } }
|
||||
public override int BasePoisonResistance{ get{ return 10; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public DreadPirateHat()
|
||||
{
|
||||
Hue = 0x497;
|
||||
|
||||
SkillBonuses.SetValues( 0, Utility.RandomCombatSkill(), 10.0 );
|
||||
|
||||
Attributes.BonusDex = 8;
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.NightSight = 1;
|
||||
}
|
||||
|
||||
public DreadPirateHat( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 3 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 3 )
|
||||
{
|
||||
Resistances.Cold = 0;
|
||||
Resistances.Poison = 0;
|
||||
}
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
Attributes.Luck = 0;
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.NightSight = 1;
|
||||
SkillBonuses.SetValues( 0, Utility.RandomCombatSkill(), 10.0 );
|
||||
SkillBonuses.SetBonus( 1, 0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
42
Scripts/Items/Minor Artifacts/EnchantedTitanLegBone.cs
Normal file
42
Scripts/Items/Minor Artifacts/EnchantedTitanLegBone.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class EnchantedTitanLegBone : ShortSpear
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063482; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public EnchantedTitanLegBone()
|
||||
{
|
||||
Hue = 0x8A5;
|
||||
WeaponAttributes.HitLowerDefend = 40;
|
||||
WeaponAttributes.HitLightning = 40;
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.WeaponDamage = 20;
|
||||
WeaponAttributes.ResistPhysicalBonus = 10;
|
||||
}
|
||||
|
||||
public EnchantedTitanLegBone( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
37
Scripts/Items/Minor Artifacts/GhostShipAnchor.cs
Normal file
37
Scripts/Items/Minor Artifacts/GhostShipAnchor.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GhostShipAnchor : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070816; } } // Ghost Ship Anchor
|
||||
|
||||
[Constructable]
|
||||
public GhostShipAnchor() : base( 0x14F7 )
|
||||
{
|
||||
Hue = 0x47E;
|
||||
}
|
||||
|
||||
public GhostShipAnchor( 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( ItemID == 0x1F47 )
|
||||
ItemID = 0x14F7;
|
||||
}
|
||||
}
|
||||
}
|
||||
42
Scripts/Items/Minor Artifacts/GlovesOfThePugilist.cs
Normal file
42
Scripts/Items/Minor Artifacts/GlovesOfThePugilist.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GlovesOfThePugilist : LeatherGloves
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070690; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 18; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public GlovesOfThePugilist()
|
||||
{
|
||||
Hue = 0x6D1;
|
||||
SkillBonuses.SetValues( 0, SkillName.Wrestling, 10.0 );
|
||||
Attributes.BonusDex = 8;
|
||||
Attributes.WeaponDamage = 15;
|
||||
}
|
||||
|
||||
public GlovesOfThePugilist( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
33
Scripts/Items/Minor Artifacts/GoldBricks.cs
Normal file
33
Scripts/Items/Minor Artifacts/GoldBricks.cs
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GoldBricks : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063489; } }
|
||||
|
||||
[Constructable]
|
||||
public GoldBricks() : base( 0x1BEB )
|
||||
{
|
||||
}
|
||||
|
||||
public GoldBricks( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
39
Scripts/Items/Minor Artifacts/GwennosHarp.cs
Normal file
39
Scripts/Items/Minor Artifacts/GwennosHarp.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GwennosHarp : LapHarp
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063480; } }
|
||||
|
||||
public override int InitMinUses{ get{ return 1600; } }
|
||||
public override int InitMaxUses{ get{ return 1600; } }
|
||||
|
||||
[Constructable]
|
||||
public GwennosHarp()
|
||||
{
|
||||
Hue = 0x47E;
|
||||
Slayer = SlayerName.Repond;
|
||||
Slayer2 = SlayerName.ReptilianDeath;
|
||||
}
|
||||
|
||||
public GwennosHarp( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
47
Scripts/Items/Minor Artifacts/HeartOfTheLion.cs
Normal file
47
Scripts/Items/Minor Artifacts/HeartOfTheLion.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HeartOfTheLion : PlateChest
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070817; } } // Heart of the Lion
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 15; } }
|
||||
public override int BaseFireResistance{ get{ return 10; } }
|
||||
public override int BaseColdResistance{ get{ return 10; } }
|
||||
public override int BasePoisonResistance{ get{ return 10; } }
|
||||
public override int BaseEnergyResistance{ get{ return 10; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public HeartOfTheLion()
|
||||
{
|
||||
Hue = 0x501;
|
||||
Attributes.Luck = 95;
|
||||
Attributes.DefendChance = 15;
|
||||
ArmorAttributes.LowerStatReq = 100;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
}
|
||||
|
||||
public HeartOfTheLion( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
40
Scripts/Items/Minor Artifacts/IolosLute.cs
Normal file
40
Scripts/Items/Minor Artifacts/IolosLute.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class IolosLute : Lute
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063479; } }
|
||||
|
||||
public override int InitMinUses{ get{ return 1600; } }
|
||||
public override int InitMaxUses{ get{ return 1600; } }
|
||||
|
||||
[Constructable]
|
||||
public IolosLute()
|
||||
{
|
||||
Hue = 0x47E;
|
||||
Slayer = SlayerName.Silver;
|
||||
//Slayer2 = SlayerName.DaemonDismissal;
|
||||
Slayer2 = SlayerName.Exorcism;
|
||||
}
|
||||
|
||||
public IolosLute( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
42
Scripts/Items/Minor Artifacts/LunaLance.cs
Normal file
42
Scripts/Items/Minor Artifacts/LunaLance.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LunaLance : Lance
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063469; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public LunaLance()
|
||||
{
|
||||
Hue = 0x47E;
|
||||
SkillBonuses.SetValues( 0, SkillName.Chivalry, 10.0 );
|
||||
Attributes.BonusStr = 5;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 35;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
}
|
||||
|
||||
public LunaLance( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
59
Scripts/Items/Minor Artifacts/ML/AegisOfGrace.cs
Normal file
59
Scripts/Items/Minor Artifacts/ML/AegisOfGrace.cs
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AegisOfGrace : DragonHelm
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075047; } } // Aegis of Grace
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 10; } }
|
||||
public override int BaseFireResistance{ get{ return 9; } }
|
||||
public override int BaseColdResistance{ get{ return 7; } }
|
||||
public override int BasePoisonResistance{ get{ return 7; } }
|
||||
public override int BaseEnergyResistance{ get{ return 15; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Dragon; } }
|
||||
public override CraftResource DefaultResource{ get{ return CraftResource.Iron; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public AegisOfGrace()
|
||||
{
|
||||
SkillBonuses.SetValues( 0, SkillName.MagicResist, 10.0 );
|
||||
|
||||
Attributes.DefendChance = 20;
|
||||
|
||||
ArmorAttributes.SelfRepair = 2;
|
||||
}
|
||||
|
||||
public override Race RequiredRace
|
||||
{
|
||||
get
|
||||
{
|
||||
return Race.Elf;
|
||||
}
|
||||
}
|
||||
|
||||
public AegisOfGrace( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
44
Scripts/Items/Minor Artifacts/ML/BladeDance.cs
Normal file
44
Scripts/Items/Minor Artifacts/ML/BladeDance.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BladeDance : RuneBlade
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075033; } } // Blade Dance
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public BladeDance()
|
||||
{
|
||||
Hue = 0x66C;
|
||||
|
||||
Attributes.BonusMana = 8;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponDamage = 30;
|
||||
WeaponAttributes.HitLeechMana = 20;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
}
|
||||
|
||||
public BladeDance( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/Items/Minor Artifacts/ML/BloodwoodSpirit.cs
Normal file
46
Scripts/Items/Minor Artifacts/ML/BloodwoodSpirit.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BloodwoodSpirit : BaseTalisman
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075034; } } // Bloodwood Spirit
|
||||
public override bool ForceShowName{ get{ return true; } }
|
||||
|
||||
[Constructable]
|
||||
public BloodwoodSpirit() : base( 0x2F5A )
|
||||
{
|
||||
Hue = 0x27;
|
||||
MaxChargeTime = 1200;
|
||||
|
||||
Removal = TalismanRemoval.Damage;
|
||||
Blessed = GetRandomBlessed();
|
||||
Protection = GetRandomProtection( false );
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.SpiritSpeak, 10.0 );
|
||||
SkillBonuses.SetValues( 1, SkillName.Necromancy, 5.0 );
|
||||
}
|
||||
|
||||
public BloodwoodSpirit( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version == 0 && ( Protection == null || Protection.IsEmpty ) )
|
||||
Protection = GetRandomProtection( false );
|
||||
}
|
||||
}
|
||||
}
|
||||
44
Scripts/Items/Minor Artifacts/ML/Bonesmasher.cs
Normal file
44
Scripts/Items/Minor Artifacts/ML/Bonesmasher.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Bonesmasher : DiamondMace
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075030; } } // Bonesmasher
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public Bonesmasher()
|
||||
{
|
||||
ItemID = 0x2D30;
|
||||
Hue = 0x482;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Macing, 10.0 );
|
||||
|
||||
WeaponAttributes.HitLeechMana = 40;
|
||||
WeaponAttributes.SelfRepair = 2;
|
||||
}
|
||||
|
||||
public Bonesmasher( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
49
Scripts/Items/Minor Artifacts/ML/Boomstick.cs
Normal file
49
Scripts/Items/Minor Artifacts/ML/Boomstick.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Boomstick : WildStaff
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075032; } } // Boomstick
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public Boomstick() : base()
|
||||
{
|
||||
Hue = 0x25;
|
||||
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.RegenMana = 3;
|
||||
Attributes.CastSpeed = 1;
|
||||
Attributes.LowerRegCost = 20;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
phys = fire = cold = pois = nrgy = direct = 0;
|
||||
chaos = 100;
|
||||
}
|
||||
|
||||
public Boomstick( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
54
Scripts/Items/Minor Artifacts/ML/BrightsightLenses.cs
Normal file
54
Scripts/Items/Minor Artifacts/ML/BrightsightLenses.cs
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BrightsightLenses : ElvenGlasses
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075039; } } // Brightsight Lenses
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 9; } }
|
||||
public override int BaseFireResistance{ get{ return 29; } }
|
||||
public override int BaseColdResistance{ get{ return 7; } }
|
||||
public override int BasePoisonResistance{ get{ return 8; } }
|
||||
public override int BaseEnergyResistance{ get{ return 7; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public BrightsightLenses() : base()
|
||||
{
|
||||
Hue = 0x501;
|
||||
|
||||
Attributes.NightSight = 1;
|
||||
Attributes.RegenMana = 3;
|
||||
|
||||
ArmorAttributes.SelfRepair = 3;
|
||||
}
|
||||
|
||||
public BrightsightLenses( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
WeaponAttributes.SelfRepair = 0;
|
||||
ArmorAttributes.SelfRepair = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/Items/Minor Artifacts/ML/FeyLeggings.cs
Normal file
50
Scripts/Items/Minor Artifacts/ML/FeyLeggings.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class FeyLeggings : ChainLegs
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075041; } } // Fey Leggings
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 12; } }
|
||||
public override int BaseFireResistance{ get{ return 8; } }
|
||||
public override int BaseColdResistance{ get{ return 7; } }
|
||||
public override int BasePoisonResistance{ get{ return 4; } }
|
||||
public override int BaseEnergyResistance{ get{ return 19; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get { return 255; } }
|
||||
|
||||
|
||||
[Constructable]
|
||||
public FeyLeggings()
|
||||
{
|
||||
Attributes.BonusHits = 6;
|
||||
Attributes.DefendChance = 20;
|
||||
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
}
|
||||
|
||||
public override Race RequiredRace { get { return Race.Elf; } }
|
||||
|
||||
public FeyLeggings( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
47
Scripts/Items/Minor Artifacts/ML/FleshRipper.cs
Normal file
47
Scripts/Items/Minor Artifacts/ML/FleshRipper.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class FleshRipper : AssassinSpike
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075045; } } // Flesh Ripper
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public FleshRipper()
|
||||
{
|
||||
Hue = 0x341;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Anatomy, 10.0 );
|
||||
|
||||
Attributes.BonusStr = 5;
|
||||
Attributes.AttackChance = 15;
|
||||
Attributes.WeaponSpeed = 40;
|
||||
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
// TODO: Mage Slayer
|
||||
}
|
||||
|
||||
public FleshRipper( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/Items/Minor Artifacts/ML/HelmOfSwiftness.cs
Normal file
48
Scripts/Items/Minor Artifacts/ML/HelmOfSwiftness.cs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HelmOfSwiftness : WingedHelm
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075037; } } // Helm of Swiftness
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 6; } }
|
||||
public override int BaseFireResistance{ get{ return 5; } }
|
||||
public override int BaseColdResistance{ get{ return 6; } }
|
||||
public override int BasePoisonResistance{ get{ return 6; } }
|
||||
public override int BaseEnergyResistance{ get{ return 8; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public HelmOfSwiftness() : base()
|
||||
{
|
||||
Hue = 0x592;
|
||||
|
||||
Attributes.BonusInt = 5;
|
||||
Attributes.CastSpeed = 1;
|
||||
Attributes.CastRecovery = 2;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
}
|
||||
|
||||
public HelmOfSwiftness( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class MelisandesCorrodedHatchet : Hatchet
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1072115; } } // Melisande's Corroded Hatchet
|
||||
|
||||
[Constructable]
|
||||
public MelisandesCorrodedHatchet()
|
||||
{
|
||||
Hue = 0x494;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Lumberjacking, 5.0 );
|
||||
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 15;
|
||||
Attributes.WeaponDamage = -50;
|
||||
|
||||
WeaponAttributes.SelfRepair = 4;
|
||||
}
|
||||
|
||||
public MelisandesCorrodedHatchet( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
33
Scripts/Items/Minor Artifacts/ML/PadsOfTheCuSidhe.cs
Normal file
33
Scripts/Items/Minor Artifacts/ML/PadsOfTheCuSidhe.cs
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class PadsOfTheCuSidhe : FurBoots
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075048; } } // Pads of the Cu Sidhe
|
||||
|
||||
[Constructable]
|
||||
public PadsOfTheCuSidhe() : base( 0x47E )
|
||||
{
|
||||
}
|
||||
|
||||
public PadsOfTheCuSidhe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
41
Scripts/Items/Minor Artifacts/ML/QuiverOfElements.cs
Normal file
41
Scripts/Items/Minor Artifacts/ML/QuiverOfElements.cs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class QuiverOfElements : BaseQuiver
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075040; } } // Quiver of the Elements
|
||||
|
||||
[Constructable]
|
||||
public QuiverOfElements() : base()
|
||||
{
|
||||
Hue = 0xEB;
|
||||
WeightReduction = 50;
|
||||
}
|
||||
|
||||
public QuiverOfElements( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void AlterBowDamage( ref int phys, ref int fire, ref int cold, ref int pois, ref int nrgy, ref int chaos, ref int direct )
|
||||
{
|
||||
phys = fire = cold = pois = nrgy = direct = 0;
|
||||
chaos = 100;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
43
Scripts/Items/Minor Artifacts/ML/QuiverOfRage.cs
Normal file
43
Scripts/Items/Minor Artifacts/ML/QuiverOfRage.cs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class QuiverOfRage : BaseQuiver
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075038; } } // Quiver of Rage
|
||||
|
||||
[Constructable]
|
||||
public QuiverOfRage() : base()
|
||||
{
|
||||
Hue = 0x24C;
|
||||
|
||||
WeightReduction = 25;
|
||||
DamageIncrease = 10;
|
||||
}
|
||||
|
||||
public QuiverOfRage( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void AlterBowDamage( ref int phys, ref int fire, ref int cold, ref int pois, ref int nrgy, ref int chaos, ref int direct )
|
||||
{
|
||||
chaos = direct = 0;
|
||||
phys = fire = cold = pois = nrgy = 20;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Scripts/Items/Minor Artifacts/ML/RaedsGlory.cs
Normal file
45
Scripts/Items/Minor Artifacts/ML/RaedsGlory.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RaedsGlory : WarCleaver
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075036; } } // Raed's Glory
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public RaedsGlory()
|
||||
{
|
||||
ItemID = 0x2D23;
|
||||
Hue = 0x1E6;
|
||||
|
||||
Attributes.BonusMana = 8;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
|
||||
WeaponAttributes.HitLeechHits = 40;
|
||||
}
|
||||
|
||||
public RaedsGlory( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
43
Scripts/Items/Minor Artifacts/ML/RighteousAnger.cs
Normal file
43
Scripts/Items/Minor Artifacts/ML/RighteousAnger.cs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RighteousAnger : ElvenMachete
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075049; } } // Righteous Anger
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public RighteousAnger()
|
||||
{
|
||||
Hue = 0x284;
|
||||
|
||||
Attributes.AttackChance = 15;
|
||||
Attributes.DefendChance = 5;
|
||||
Attributes.WeaponSpeed = 35;
|
||||
Attributes.WeaponDamage = 40;
|
||||
}
|
||||
|
||||
public RighteousAnger( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
39
Scripts/Items/Minor Artifacts/ML/RobeOfTheEclipse.cs
Normal file
39
Scripts/Items/Minor Artifacts/ML/RobeOfTheEclipse.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Flipable( 0x1F03, 0x1F04 )]
|
||||
public class RobeOfTheEclipse : BaseOuterTorso
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075082; } } // Robe of the Eclipse
|
||||
|
||||
[Constructable]
|
||||
public RobeOfTheEclipse() : base( 0x1F03, 0x486 )
|
||||
{
|
||||
Weight = 3.0;
|
||||
|
||||
Attributes.Luck = 95;
|
||||
|
||||
// TODO: Supports arcane?
|
||||
}
|
||||
|
||||
public RobeOfTheEclipse( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
40
Scripts/Items/Minor Artifacts/ML/RobeOfTheEquinox.cs
Normal file
40
Scripts/Items/Minor Artifacts/ML/RobeOfTheEquinox.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Flipable( 0x1F03, 0x1F04 )]
|
||||
public class RobeOfTheEquinox : BaseOuterTorso
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075042; } } // Robe of the Equinox
|
||||
|
||||
[Constructable]
|
||||
public RobeOfTheEquinox() : base( 0x1F04, 0xD6 )
|
||||
{
|
||||
Weight = 3.0;
|
||||
|
||||
Attributes.Luck = 95;
|
||||
|
||||
// TODO: Supports arcane?
|
||||
// TODO: Elves Only
|
||||
}
|
||||
|
||||
public RobeOfTheEquinox( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
51
Scripts/Items/Minor Artifacts/ML/SoulSeeker.cs
Normal file
51
Scripts/Items/Minor Artifacts/ML/SoulSeeker.cs
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SoulSeeker : RadiantScimitar
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075046; } } // Soul Seeker
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public SoulSeeker()
|
||||
{
|
||||
Hue = 0x38C;
|
||||
|
||||
WeaponAttributes.HitLeechStam = 40;
|
||||
WeaponAttributes.HitLeechMana = 40;
|
||||
WeaponAttributes.HitLeechHits = 40;
|
||||
Attributes.WeaponSpeed = 60;
|
||||
Slayer = SlayerName.Repond;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
cold = 100;
|
||||
|
||||
pois = fire = phys = nrgy = chaos = direct = 0;
|
||||
}
|
||||
|
||||
public SoulSeeker( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/Items/Minor Artifacts/ML/TalonBite.cs
Normal file
48
Scripts/Items/Minor Artifacts/ML/TalonBite.cs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TalonBite : OrnateAxe
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075029; } } // Talon Bite
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public TalonBite()
|
||||
{
|
||||
ItemID = 0x2D34;
|
||||
Hue = 0x47E;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Tactics, 10.0 );
|
||||
|
||||
Attributes.BonusDex = 8;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 35;
|
||||
|
||||
WeaponAttributes.HitHarm = 33;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
}
|
||||
|
||||
public TalonBite( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
51
Scripts/Items/Minor Artifacts/ML/TotemOfVoid.cs
Normal file
51
Scripts/Items/Minor Artifacts/ML/TotemOfVoid.cs
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TotemOfVoid : BaseTalisman
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075035; } } // Totem of the Void
|
||||
public override bool ForceShowName{ get{ return true; } }
|
||||
|
||||
[Constructable]
|
||||
public TotemOfVoid() : base( 0x2F5B )
|
||||
{
|
||||
Hue = 0x2D0;
|
||||
MaxChargeTime = 1800;
|
||||
|
||||
Blessed = GetRandomBlessed();
|
||||
Protection = GetRandomProtection( false );
|
||||
|
||||
Attributes.RegenHits = 2;
|
||||
Attributes.LowerManaCost = 10;
|
||||
}
|
||||
|
||||
public TotemOfVoid( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override Type GetSummoner()
|
||||
{
|
||||
return Utility.RandomBool() ? typeof( SummonedSkeletalKnight ) : typeof( SummonedSheep );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version == 0 && ( Protection == null || Protection.IsEmpty ) )
|
||||
Protection = GetRandomProtection( false );
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/Items/Minor Artifacts/ML/WildfireBow.cs
Normal file
48
Scripts/Items/Minor Artifacts/ML/WildfireBow.cs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class WildfireBow : ElvenCompositeLongbow
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075044; } } // Wildfire Bow
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public WildfireBow() : base()
|
||||
{
|
||||
Hue = 0x489;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Archery, 10 );
|
||||
WeaponAttributes.ResistFireBonus = 25;
|
||||
|
||||
Velocity = 15;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
phys = cold = pois = nrgy = chaos = direct = 0;
|
||||
fire = 100;
|
||||
}
|
||||
|
||||
public WildfireBow( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
42
Scripts/Items/Minor Artifacts/ML/Windsong.cs
Normal file
42
Scripts/Items/Minor Artifacts/ML/Windsong.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Windsong : MagicalShortbow
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075031; } } // Windsong
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public Windsong() : base()
|
||||
{
|
||||
Hue = 0xF7;
|
||||
|
||||
Attributes.WeaponDamage = 35;
|
||||
WeaponAttributes.SelfRepair = 3;
|
||||
|
||||
Velocity = 25;
|
||||
}
|
||||
|
||||
public Windsong( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
42
Scripts/Items/Minor Artifacts/NightsKiss.cs
Normal file
42
Scripts/Items/Minor Artifacts/NightsKiss.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class NightsKiss : Dagger
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063475; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public NightsKiss()
|
||||
{
|
||||
ItemID = 0xF51;
|
||||
Hue = 0x455;
|
||||
WeaponAttributes.HitLeechHits = 40;
|
||||
Slayer = SlayerName.Repond;
|
||||
Attributes.WeaponSpeed = 30;
|
||||
Attributes.WeaponDamage = 35;
|
||||
}
|
||||
|
||||
public NightsKiss( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/Items/Minor Artifacts/NoxRangersHeavyCrossbow.cs
Normal file
50
Scripts/Items/Minor Artifacts/NoxRangersHeavyCrossbow.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class NoxRangersHeavyCrossbow : HeavyCrossbow
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063485; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public NoxRangersHeavyCrossbow()
|
||||
{
|
||||
Hue = 0x58C;
|
||||
WeaponAttributes.HitLeechStam = 40;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 30;
|
||||
Attributes.WeaponDamage = 20;
|
||||
WeaponAttributes.ResistPoisonBonus = 10;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
pois = 50;
|
||||
phys = 50;
|
||||
|
||||
fire = cold = nrgy = chaos = direct = 0;
|
||||
}
|
||||
|
||||
public NoxRangersHeavyCrossbow( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/Items/Minor Artifacts/OrcishVisage.cs
Normal file
46
Scripts/Items/Minor Artifacts/OrcishVisage.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class OrcishVisage : OrcHelm
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070691; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 8; } }
|
||||
public override int BaseFireResistance{ get{ return 5; } }
|
||||
public override int BaseColdResistance{ get{ return 3; } }
|
||||
public override int BasePoisonResistance{ get{ return 3; } }
|
||||
public override int BaseEnergyResistance{ get{ return 5; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public OrcishVisage()
|
||||
{
|
||||
Hue = 0x592;
|
||||
ArmorAttributes.SelfRepair = 3;
|
||||
Attributes.BonusStr = 10;
|
||||
Attributes.BonusStam = 5;
|
||||
}
|
||||
|
||||
public OrcishVisage( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
34
Scripts/Items/Minor Artifacts/PhillipsWoodenSteed.cs
Normal file
34
Scripts/Items/Minor Artifacts/PhillipsWoodenSteed.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class PhillipsWoodenSteed : MonsterStatuette
|
||||
{
|
||||
[Constructable]
|
||||
public PhillipsWoodenSteed() : base( MonsterStatuetteType.PhillipsWoodenSteed )
|
||||
{
|
||||
LootType = LootType.Regular;
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties{ get{ return ObjectPropertyList.Enabled; } }
|
||||
|
||||
public PhillipsWoodenSteed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/Items/Minor Artifacts/PixieSwatter.cs
Normal file
52
Scripts/Items/Minor Artifacts/PixieSwatter.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class PixieSwatter : Scepter
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070854; } } // Pixie Swatter
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public PixieSwatter()
|
||||
{
|
||||
Hue = 0x8A;
|
||||
WeaponAttributes.HitPoisonArea = 75;
|
||||
Attributes.WeaponSpeed = 30;
|
||||
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
WeaponAttributes.ResistFireBonus = 12;
|
||||
WeaponAttributes.ResistEnergyBonus = 12;
|
||||
|
||||
Slayer = SlayerName.Fey;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
fire = 100;
|
||||
|
||||
cold = pois = phys = nrgy = chaos = direct = 0;
|
||||
}
|
||||
|
||||
public PixieSwatter( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
54
Scripts/Items/Minor Artifacts/PolarBearMask.cs
Normal file
54
Scripts/Items/Minor Artifacts/PolarBearMask.cs
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class PolarBearMask : BearMask
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070637; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 15; } }
|
||||
public override int BaseColdResistance{ get{ return 21; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public PolarBearMask()
|
||||
{
|
||||
Hue = 0x481;
|
||||
|
||||
ClothingAttributes.SelfRepair = 3;
|
||||
|
||||
Attributes.RegenHits = 2;
|
||||
Attributes.NightSight = 1;
|
||||
}
|
||||
|
||||
public PolarBearMask( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 2 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 2 )
|
||||
{
|
||||
Resistances.Physical = 0;
|
||||
Resistances.Cold = 0;
|
||||
}
|
||||
|
||||
if ( Attributes.NightSight == 0 )
|
||||
Attributes.NightSight = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
34
Scripts/Items/Minor Artifacts/SeahorseStatuette.cs
Normal file
34
Scripts/Items/Minor Artifacts/SeahorseStatuette.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SeahorseStatuette : MonsterStatuette
|
||||
{
|
||||
[Constructable]
|
||||
public SeahorseStatuette() : base( MonsterStatuetteType.Seahorse )
|
||||
{
|
||||
LootType = LootType.Regular;
|
||||
|
||||
Hue = Utility.RandomList( 0, 0x482, 0x489, 0x495, 0x4F2 );
|
||||
}
|
||||
|
||||
public SeahorseStatuette( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
53
Scripts/Items/Minor Artifacts/ShieldOfInvulnerability.cs
Normal file
53
Scripts/Items/Minor Artifacts/ShieldOfInvulnerability.cs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShieldOfInvulnerability : OrderShield
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070693; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 8; } }
|
||||
public override int BaseFireResistance{ get{ return 0; } }
|
||||
public override int BaseColdResistance{ get{ return 0; } }
|
||||
public override int BasePoisonResistance{ get{ return 0; } }
|
||||
public override int BaseEnergyResistance{ get{ return 0; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ShieldOfInvulnerability()
|
||||
{
|
||||
Hue = 0x4F2;
|
||||
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.ReflectPhysical = 10;
|
||||
Attributes.DefendChance = 15;
|
||||
ArmorAttributes.LowerStatReq = 100;
|
||||
}
|
||||
|
||||
public override bool Validate( Mobile m )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public ShieldOfInvulnerability( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
34
Scripts/Items/Minor Artifacts/ShipModelOfTheHMSCape.cs
Normal file
34
Scripts/Items/Minor Artifacts/ShipModelOfTheHMSCape.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShipModelOfTheHMSCape : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063476; } }
|
||||
|
||||
[Constructable]
|
||||
public ShipModelOfTheHMSCape() : base( 0x14F3 )
|
||||
{
|
||||
Hue = 0x37B;
|
||||
}
|
||||
|
||||
public ShipModelOfTheHMSCape( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
42
Scripts/Items/Minor Artifacts/StaffOfPower.cs
Normal file
42
Scripts/Items/Minor Artifacts/StaffOfPower.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class StaffOfPower : BlackStaff
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070692; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public StaffOfPower()
|
||||
{
|
||||
Hue = 0x4F2;
|
||||
WeaponAttributes.MageWeapon = 15;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.SpellDamage = 5;
|
||||
Attributes.CastRecovery = 2;
|
||||
Attributes.LowerManaCost = 5;
|
||||
}
|
||||
|
||||
public StaffOfPower( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
47
Scripts/Items/Minor Artifacts/VioletCourage.cs
Normal file
47
Scripts/Items/Minor Artifacts/VioletCourage.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class VioletCourage : FemalePlateChest
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1063471; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 14; } }
|
||||
public override int BaseFireResistance{ get{ return 12; } }
|
||||
public override int BaseColdResistance{ get{ return 12; } }
|
||||
public override int BasePoisonResistance{ get{ return 8; } }
|
||||
public override int BaseEnergyResistance{ get{ return 9; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public VioletCourage()
|
||||
{
|
||||
Hue = 0x486;
|
||||
Attributes.Luck = 95;
|
||||
Attributes.DefendChance = 15;
|
||||
ArmorAttributes.LowerStatReq = 100;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
}
|
||||
|
||||
public VioletCourage( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/Items/Minor Artifacts/WrathOfTheDryad.cs
Normal file
48
Scripts/Items/Minor Artifacts/WrathOfTheDryad.cs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class WrathOfTheDryad : GnarledStaff
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1070853; } } // Wrath of the Dryad
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public WrathOfTheDryad()
|
||||
{
|
||||
Hue = 0x29C;
|
||||
WeaponAttributes.HitLeechMana = 50;
|
||||
WeaponAttributes.HitLightning = 33;
|
||||
Attributes.AttackChance = 15;
|
||||
Attributes.WeaponDamage = 40;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
pois = 100;
|
||||
|
||||
cold = fire = phys = nrgy = chaos = direct = 0;
|
||||
}
|
||||
|
||||
public WrathOfTheDryad( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue