#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.

This commit is contained in:
WarrentyExpired 2026-08-06 11:06:05 -04:00
parent b51c58f514
commit 3045c83799
3512 changed files with 627673 additions and 0 deletions

View file

@ -0,0 +1,52 @@
using System;
using Server;
namespace Server.Items
{
public class CaptainJohnsHat : TricorneHat
{
public override int LabelNumber{ get{ return 1094911; } } // Captain John's Hat [Replica]
public override int BasePhysicalResistance{ get{ return 2; } }
public override int BaseFireResistance{ get{ return 6; } }
public override int BaseColdResistance{ get{ return 9; } }
public override int BasePoisonResistance{ get{ return 7; } }
public override int BaseEnergyResistance{ get{ return 23; } }
public override int InitMinHits{ get{ return 150; } }
public override int InitMaxHits{ get{ return 150; } }
public override bool CanFortify{ get{ return false; } }
[Constructable]
public CaptainJohnsHat()
{
Hue = 0x455;
Attributes.BonusDex = 8;
Attributes.NightSight = 1;
Attributes.AttackChance = 15;
SkillBonuses.Skill_1_Name = SkillName.Swords;
SkillBonuses.Skill_1_Value = 20;
}
public CaptainJohnsHat( 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();
}
}
}