|
||
|
|
#2 (permalink) |
|
That Really sucks man, i jsut scripted the same thing, but i did everything you could imagine on teaks :P nice job though
Good minds think a like btw if you can figure out how to bless use them on clothes let me know cause basecloth class doesnt have a definition for attributes ![]() Mechlar |
|
|
|
|
|
|
#3 (permalink) | ||
|
Take a look at this. This has what you need to figure that out.
Code:
using System;
namespace Server.Items
{
[FlipableAttribute( 0x1515, 0x1530 )]
public class ValoriteCloak : BaseArmor
{
public override int BasePhysicalResistance{ get{ return 3; } }
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Cloth; } }
[Constructable]
public ValoriteCloak( ) : base( 0x1515 )
{
Name = "a valorite cloak";
Weight = 0.1;
Hue = 2219;
LootType = LootType.Blessed;
}
public ValoriteCloak( 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();
}
}
}
__________________
Quote:
Quote:
My Website |
|||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|