(http://www.uodemise.com/discussion/showthread.php?t=116685) - Dog Form HPR rate is tweaked as per OSI (http://www.uodemise.com/discussion/showthread.php?t=124422) - Hairstylist gump now works for elves (http://www.uodemise.com/discussion/showthread.php?t=120199) - Bless buff icon now will report correct values (http://www.uodemise.com/discussion/showthread.php?t=123760) - When stealthing, the step just before a stealth check won't let you lose the stealth status (you can use shadowjump) (http://www.uodemise.com/discussion/showthread.php?t=121250) - You can open the blacksmith gump even if far from anvil and forge, but you still need to be near them to craft (http://www.uodemise.com/discussion/showthread.php?t=122750)
52 lines
No EOL
1.3 KiB
C#
52 lines
No EOL
1.3 KiB
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class TheDragonSlayer : Lance
|
|
{
|
|
public override int LabelNumber{ get{ return 1061248; } } // The Dragon Slayer
|
|
public override int ArtifactRarity{ get{ return 11; } }
|
|
|
|
public override int InitMinHits{ get{ return 255; } }
|
|
public override int InitMaxHits{ get{ return 255; } }
|
|
|
|
[Constructable]
|
|
public TheDragonSlayer()
|
|
{
|
|
Hue = 0x530;
|
|
Slayer = SlayerName.DragonSlaying;
|
|
Attributes.Luck = 110;
|
|
Attributes.WeaponDamage = 50;
|
|
WeaponAttributes.ResistFireBonus = 20;
|
|
WeaponAttributes.UseBestSkill = 1;
|
|
}
|
|
|
|
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
|
{
|
|
phys = fire = cold = pois = chaos = direct = 0;
|
|
nrgy = 100;
|
|
}
|
|
|
|
public TheDragonSlayer( 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 ( Slayer == SlayerName.None )
|
|
Slayer = SlayerName.DragonSlaying;
|
|
}
|
|
}
|
|
} |