#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
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue