Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
48
Scripts/Services/Monster Stealing/Items/StoneSkinLotion.cs
Normal file
48
Scripts/Services/Monster Stealing/Items/StoneSkinLotion.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using Server.Mobiles;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[TypeAlias("drNO.ThieveItems.StoneSkinLotion")]
|
||||
public class StoneSkinLotion : BaseBalmOrLotion
|
||||
{
|
||||
protected override void ApplyEffect(PlayerMobile pm)
|
||||
{
|
||||
pm.AddResistanceMod(new ResistanceMod(ResistanceType.Cold, -5));
|
||||
pm.AddResistanceMod(new ResistanceMod(ResistanceType.Fire, -5));
|
||||
|
||||
pm.AddResistanceMod(new ResistanceMod(ResistanceType.Physical, 30));
|
||||
|
||||
base.ApplyEffect(pm);
|
||||
}
|
||||
|
||||
public override int LabelNumber { get { return 1094944; } } // Stone Skin Lotion
|
||||
|
||||
[Constructable]
|
||||
public StoneSkinLotion()
|
||||
: base(0xEFD)
|
||||
{
|
||||
m_EffectType = ThieveConsumableEffect.StoneSkinLotionEffect;
|
||||
}
|
||||
|
||||
public StoneSkinLotion(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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user