#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
45
Scripts/Items/Weapons/Artifacts/BladeOfInsanity.cs
Normal file
45
Scripts/Items/Weapons/Artifacts/BladeOfInsanity.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BladeOfInsanity : Katana
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061088; } } // Blade of Insanity
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public BladeOfInsanity()
|
||||
{
|
||||
Hue = 0x76D;
|
||||
WeaponAttributes.HitLeechStam = 100;
|
||||
Attributes.RegenStam = 2;
|
||||
Attributes.WeaponSpeed = 30;
|
||||
Attributes.WeaponDamage = 50;
|
||||
}
|
||||
|
||||
public BladeOfInsanity( 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 ( Hue == 0x44F )
|
||||
Hue = 0x76D;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue