RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Kill Deed Restore [RunUO 2.1]

Eleazar-uo

Traveler
Duplex With this script so promising and both use

Code:
using System;
using Server.Items;
 
namespace Server.Items
{
public class Killdeed : Item
{
[Constructable]
public Killdeed() : base( 0x14F0 )
{
Weight = 1.0;
Name = "a kill deed";
LootType = LootType.Blessed;
}
 
public override void OnDoubleClick( Mobile from )
{
if ( from.Kills == 0 )
{
from.SendMessage( "Thou hast no need for this yet." );
}
else
{
from.Kills = 0;
 
this.Delete();
}
}
 
public Killdeed( 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();
}
}
}
 

Hammerhand

Knight
And this is for what? Having a description of what it's for & does is helpful. And a lot of people arent going to want to copy & paste a script into a blank .cs just so they can try it out.
 
Top