#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
47
Scripts/Items/Champion Artifacts/Unique/AcidProofRobe.cs
Normal file
47
Scripts/Items/Champion Artifacts/Unique/AcidProofRobe.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AcidProofRobe : Robe
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1095236; } } // Acid-Proof Robe [Replica]
|
||||
|
||||
public override int BaseFireResistance{ get{ return 4; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public AcidProofRobe()
|
||||
{
|
||||
Hue = 0x455;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public AcidProofRobe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (version < 1 && Hue == 1)
|
||||
{
|
||||
Hue = 0x455;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/Items/Champion Artifacts/Unique/Calm.cs
Normal file
46
Scripts/Items/Champion Artifacts/Unique/Calm.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Calm : Halberd
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094915; } } // Calm [Replica]
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public Calm()
|
||||
{
|
||||
Hue = 0x2cb;
|
||||
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 50;
|
||||
|
||||
WeaponAttributes.HitLeechMana = 100;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
}
|
||||
|
||||
public Calm( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
49
Scripts/Items/Champion Artifacts/Unique/CrownOfTalKeesh.cs
Normal file
49
Scripts/Items/Champion Artifacts/Unique/CrownOfTalKeesh.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CrownOfTalKeesh : Bandana
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094903; } } // Crown of Tal'Keesh [Replica]
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 0; } }
|
||||
public override int BaseFireResistance{ get{ return 5; } }
|
||||
public override int BaseColdResistance{ get{ return 9; } }
|
||||
public override int BasePoisonResistance{ get{ return 20; } }
|
||||
public override int BaseEnergyResistance{ get{ return 20; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public CrownOfTalKeesh()
|
||||
{
|
||||
Hue = 0x4F2;
|
||||
|
||||
Attributes.BonusInt = 8;
|
||||
Attributes.RegenMana = 4;
|
||||
Attributes.SpellDamage = 10;
|
||||
}
|
||||
|
||||
public CrownOfTalKeesh( 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/Champion Artifacts/Unique/FangOfRactus.cs
Normal file
47
Scripts/Items/Champion Artifacts/Unique/FangOfRactus.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class FangOfRactus : Kryss
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094892; } } // Fang of Ractus [Replica]
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public FangOfRactus()
|
||||
{
|
||||
Hue = 0x117;
|
||||
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.AttackChance = 5;
|
||||
Attributes.DefendChance = 5;
|
||||
Attributes.WeaponDamage = 35;
|
||||
|
||||
WeaponAttributes.HitPoisonArea = 20;
|
||||
WeaponAttributes.ResistPoisonBonus = 15;
|
||||
}
|
||||
|
||||
public FangOfRactus( 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/Champion Artifacts/Unique/GladiatorsCollar.cs
Normal file
50
Scripts/Items/Champion Artifacts/Unique/GladiatorsCollar.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GladiatorsCollar : PlateGorget
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094917; } } // Gladiator's Collar [Replica]
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 18; } }
|
||||
public override int BaseFireResistance{ get{ return 18; } }
|
||||
public override int BaseColdResistance{ get{ return 17; } }
|
||||
public override int BasePoisonResistance{ get{ return 18; } }
|
||||
public override int BaseEnergyResistance{ get{ return 16; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public GladiatorsCollar()
|
||||
{
|
||||
Hue = 0x26d;
|
||||
|
||||
Attributes.BonusHits = 10;
|
||||
Attributes.AttackChance = 10;
|
||||
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
}
|
||||
|
||||
public GladiatorsCollar( 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/Champion Artifacts/Unique/OrcChieftainHelm.cs
Normal file
58
Scripts/Items/Champion Artifacts/Unique/OrcChieftainHelm.cs
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class OrcChieftainHelm : OrcHelm
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094924; } } // Orc Chieftain Helm [Replica]
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 23; } }
|
||||
public override int BaseFireResistance{ get{ return 1; } }
|
||||
public override int BaseColdResistance{ get{ return 23; } }
|
||||
public override int BasePoisonResistance{ get{ return 3; } }
|
||||
public override int BaseEnergyResistance{ get{ return 5; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public OrcChieftainHelm()
|
||||
{
|
||||
Hue = 0x2a3;
|
||||
|
||||
Attributes.Luck = 100;
|
||||
Attributes.RegenHits = 3;
|
||||
|
||||
if( Utility.RandomBool() )
|
||||
Attributes.BonusHits = 30;
|
||||
else
|
||||
Attributes.AttackChance = 30;
|
||||
}
|
||||
|
||||
public OrcChieftainHelm( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (version < 1 && Hue == 0x3f) /* Pigmented? */
|
||||
{
|
||||
Hue = 0x2a3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
47
Scripts/Items/Champion Artifacts/Unique/Pacify.cs
Normal file
47
Scripts/Items/Champion Artifacts/Unique/Pacify.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Pacify : Pike
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094929; } } // Pacify [Replica]
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public Pacify()
|
||||
{
|
||||
Hue = 0x835;
|
||||
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 50;
|
||||
|
||||
WeaponAttributes.HitLeechMana = 100;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
}
|
||||
|
||||
public Pacify( 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/Champion Artifacts/Unique/Quell.cs
Normal file
47
Scripts/Items/Champion Artifacts/Unique/Quell.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Quell : Bardiche
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094928; } } // Quell [Replica]
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public Quell()
|
||||
{
|
||||
Hue = 0x225;
|
||||
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 50;
|
||||
Attributes.AttackChance = 10;
|
||||
|
||||
WeaponAttributes.HitLeechMana = 100;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
}
|
||||
|
||||
public Quell( 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/Champion Artifacts/Unique/ShroudOfDeceit.cs
Normal file
52
Scripts/Items/Champion Artifacts/Unique/ShroudOfDeceit.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShroudOfDeciet : BoneChest
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094914; } } // Shroud of Deceit [Replica]
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 11; } }
|
||||
public override int BaseFireResistance{ get{ return 6; } }
|
||||
public override int BaseColdResistance{ get{ return 18; } }
|
||||
public override int BasePoisonResistance{ get{ return 15; } }
|
||||
public override int BaseEnergyResistance{ get{ return 13; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public ShroudOfDeciet()
|
||||
{
|
||||
Hue = 0x38F;
|
||||
|
||||
Attributes.RegenHits = 3;
|
||||
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
|
||||
SkillBonuses.Skill_1_Name = SkillName.MagicResist;
|
||||
SkillBonuses.Skill_1_Value = 10;
|
||||
}
|
||||
|
||||
public ShroudOfDeciet( 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/Champion Artifacts/Unique/Subdue.cs
Normal file
47
Scripts/Items/Champion Artifacts/Unique/Subdue.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Subdue : Scythe
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1094930; } } // Subdue [Replica]
|
||||
|
||||
public override int InitMinHits{ get{ return 150; } }
|
||||
public override int InitMaxHits{ get{ return 150; } }
|
||||
|
||||
public override bool CanFortify{ get{ return false; } }
|
||||
|
||||
[Constructable]
|
||||
public Subdue()
|
||||
{
|
||||
Hue = 0x2cb;
|
||||
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 50;
|
||||
Attributes.AttackChance = 10;
|
||||
|
||||
WeaponAttributes.HitLeechMana = 100;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
}
|
||||
|
||||
public Subdue( 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