#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
38
Scripts/Items/Clothing/Artifacts/CrimsonCincture.cs
Normal file
38
Scripts/Items/Clothing/Artifacts/CrimsonCincture.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CrimsonCincture : HalfApron, ITokunoDyable
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1075043; } } // Crimson Cincture
|
||||
|
||||
[Constructable]
|
||||
public CrimsonCincture() : base()
|
||||
{
|
||||
Hue = 0x485;
|
||||
|
||||
Attributes.BonusDex = 5;
|
||||
Attributes.BonusHits = 10;
|
||||
Attributes.RegenHits = 2;
|
||||
}
|
||||
|
||||
public CrimsonCincture( 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/Items/Clothing/Artifacts/DivineCountenance.cs
Normal file
61
Scripts/Items/Clothing/Artifacts/DivineCountenance.cs
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DivineCountenance : HornedTribalMask
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061289; } } // Divine Countenance
|
||||
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 8; } }
|
||||
public override int BaseFireResistance{ get{ return 6; } }
|
||||
public override int BaseColdResistance{ get{ return 9; } }
|
||||
public override int BaseEnergyResistance{ get{ return 25; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public DivineCountenance()
|
||||
{
|
||||
Hue = 0x482;
|
||||
|
||||
Attributes.BonusInt = 8;
|
||||
Attributes.RegenMana = 2;
|
||||
Attributes.ReflectPhysical = 15;
|
||||
Attributes.LowerManaCost = 8;
|
||||
}
|
||||
|
||||
public DivineCountenance( 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();
|
||||
|
||||
switch ( version )
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
Resistances.Physical = 0;
|
||||
Resistances.Fire = 0;
|
||||
Resistances.Cold = 0;
|
||||
Resistances.Energy = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
Scripts/Items/Clothing/Artifacts/HatOfTheMagi.cs
Normal file
56
Scripts/Items/Clothing/Artifacts/HatOfTheMagi.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HatOfTheMagi : WizardsHat
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061597; } } // Hat of the Magi
|
||||
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePoisonResistance{ get{ return 20; } }
|
||||
public override int BaseEnergyResistance{ get{ return 20; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public HatOfTheMagi()
|
||||
{
|
||||
Hue = 0x481;
|
||||
|
||||
Attributes.BonusInt = 8;
|
||||
Attributes.RegenMana = 4;
|
||||
Attributes.SpellDamage = 10;
|
||||
}
|
||||
|
||||
public HatOfTheMagi( 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();
|
||||
|
||||
switch ( version )
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
Resistances.Poison = 0;
|
||||
Resistances.Energy = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
Scripts/Items/Clothing/Artifacts/HuntersHeaddress.cs
Normal file
56
Scripts/Items/Clothing/Artifacts/HuntersHeaddress.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HuntersHeaddress : DeerMask
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061595; } } // Hunter's Headdress
|
||||
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BaseColdResistance{ get{ return 23; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public HuntersHeaddress()
|
||||
{
|
||||
Hue = 0x594;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Archery, 20 );
|
||||
|
||||
Attributes.BonusDex = 8;
|
||||
Attributes.NightSight = 1;
|
||||
Attributes.AttackChance = 15;
|
||||
|
||||
}
|
||||
|
||||
public HuntersHeaddress( 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();
|
||||
switch ( version )
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
Resistances.Cold = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
54
Scripts/Items/Clothing/Artifacts/SpiritOfTheTotem.cs
Normal file
54
Scripts/Items/Clothing/Artifacts/SpiritOfTheTotem.cs
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SpiritOfTheTotem : BearMask
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061599; } } // Spirit of the Totem
|
||||
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 20; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public SpiritOfTheTotem()
|
||||
{
|
||||
Hue = 0x455;
|
||||
|
||||
Attributes.BonusStr = 20;
|
||||
Attributes.ReflectPhysical = 15;
|
||||
Attributes.AttackChance = 15;
|
||||
}
|
||||
|
||||
public SpiritOfTheTotem( 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();
|
||||
|
||||
switch ( version )
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
Resistances.Physical = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue