Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Multis;
|
||||
using Server.Mobiles;
|
||||
using Server.Network;
|
||||
using System.Collections.Generic;
|
||||
using Server.ContextMenus;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LockpickingChest : LockableContainer
|
||||
{
|
||||
private bool m_Locked;
|
||||
|
||||
[Constructable]
|
||||
public LockpickingChest(): base(0x9AA)
|
||||
{
|
||||
Name = "Lockpicking Chest";
|
||||
Locked = true;
|
||||
LockLevel = 1;
|
||||
MaxLockLevel = 95; // edit here to go as high as you want for your shard. 95 is osi style, 100 is max, higher with power scrolls or however you set it up in your shard.
|
||||
RequiredSkill = 1;
|
||||
Movable = false; // set to true if you make available to players
|
||||
Weight = 4.0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override void LockPick(Mobile from)
|
||||
{
|
||||
this.Locked = true;
|
||||
from.SendMessage("The container magically relocks it self.");
|
||||
}
|
||||
public LockpickingChest(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();
|
||||
}
|
||||
}
|
||||
}
|
||||
132
Scripts/Scripts-master/Items/Training items/TamersStone.cs
Normal file
132
Scripts/Scripts-master/Items/Training items/TamersStone.cs
Normal file
@@ -0,0 +1,132 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TamerStone : Item
|
||||
{
|
||||
private static Hashtable m_BeingTamed = new Hashtable();
|
||||
|
||||
[Constructable]
|
||||
public TamerStone() : base(0xED4)
|
||||
{
|
||||
Name = "A Tamers Stone";
|
||||
Hue = 0x48A;
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
object target = this;
|
||||
|
||||
if (from.Skills.AnimalTaming.Base != 120.0)
|
||||
{
|
||||
if (m_BeingTamed.Contains(this))
|
||||
{
|
||||
from.SendLocalizedMessage(502802); // Someone else is already taming this.
|
||||
}
|
||||
else
|
||||
{
|
||||
m_BeingTamed[this] = this;
|
||||
// Face the creature
|
||||
from.Direction = from.GetDirectionTo(this);
|
||||
from.NextSkillTime = Core.TickCount + 6000;
|
||||
from.LocalOverheadMessage(MessageType.Emote, 0x59, 1010597); // You start to tame the creature.
|
||||
from.NonlocalOverheadMessage(MessageType.Emote, 0x59, 1010598); // *begins taming a creature.*
|
||||
|
||||
new InternalTimer(from, this, Utility.Random(10, 10)).Start();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage("You are too good at Taming to try this.");
|
||||
}
|
||||
}
|
||||
|
||||
private class InternalTimer : Timer
|
||||
{
|
||||
//private BaseTamer m_Item;
|
||||
private Mobile m_Tamer;
|
||||
private TamerStone m_Stone;
|
||||
//private int m_MaxCount;
|
||||
//private int m_Count;
|
||||
|
||||
|
||||
|
||||
public InternalTimer(Mobile tamer, TamerStone stone, int count) : base(TimeSpan.FromSeconds(10.0), TimeSpan.FromSeconds(10.0), count)
|
||||
{
|
||||
|
||||
m_Tamer = tamer;
|
||||
m_Stone = stone;
|
||||
|
||||
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
{
|
||||
//m_Count++;
|
||||
|
||||
if (!m_Tamer.InRange(m_Stone, 6))
|
||||
{
|
||||
m_BeingTamed.Remove(m_Stone);
|
||||
m_Tamer.NextSkillTime = Core.TickCount;
|
||||
m_Tamer.SendLocalizedMessage(502795); // You are too far away to continue taming.
|
||||
Stop();
|
||||
}
|
||||
else if (!m_Tamer.CheckAlive())
|
||||
{
|
||||
m_BeingTamed.Remove(m_Stone);
|
||||
m_Tamer.NextSkillTime = Core.TickCount;
|
||||
m_Tamer.SendLocalizedMessage(502796); // You are dead, and cannot continue taming.
|
||||
Stop();
|
||||
}
|
||||
else if (!m_Tamer.CanSee(m_Stone))
|
||||
{
|
||||
m_BeingTamed.Remove(m_Stone);
|
||||
m_Tamer.NextSkillTime = Core.TickCount;
|
||||
m_Tamer.SendLocalizedMessage(502800); // You can't see that.
|
||||
Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Tamer.RevealingAction();
|
||||
m_Tamer.NextSkillTime = Core.TickCount;
|
||||
m_BeingTamed.Remove(m_Stone);
|
||||
|
||||
if (m_Tamer.Skills.AnimalTaming.Base >= 100.0)
|
||||
{
|
||||
m_Tamer.PrivateOverheadMessage(MessageType.Regular, 0x3B2, 502799, m_Tamer.NetState); // It seems to accept you as master.
|
||||
m_Tamer.Skills.AnimalTaming.Base += 0.1;
|
||||
Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Tamer.SendMessage("You can no longer tame this stone."); // You fail to tame the creature.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public TamerStone(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();
|
||||
}
|
||||
}
|
||||
}
|
||||
122
Scripts/Scripts-master/Items/Training items/TamingCow.cs
Normal file
122
Scripts/Scripts-master/Items/Training items/TamingCow.cs
Normal file
@@ -0,0 +1,122 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
using System.Collections;
|
||||
using Server.Targeting;
|
||||
using Server.Network;
|
||||
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("a cow corpse")]
|
||||
public class TamingCow : BaseCreature
|
||||
{
|
||||
public override bool CanBeDamaged()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public TamingCow() : base(AIType.AI_Use_Default, FightMode.None, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Name = "a Taming Cow";
|
||||
Body = 0xE7;
|
||||
Direction = Direction.South;
|
||||
LockDirection = true;
|
||||
SetStr(100);
|
||||
SetDex(100);
|
||||
SetInt(100);
|
||||
CantWalk = true;
|
||||
|
||||
//Blessed = true;
|
||||
|
||||
SetHits(10000);
|
||||
SetMana(0);
|
||||
|
||||
SetDamage(0);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 0);
|
||||
SetResistance(ResistanceType.Physical, 100);
|
||||
SetSkill(SkillName.MagicResist, 0);
|
||||
SetSkill(SkillName.Tactics, 0);
|
||||
SetSkill(SkillName.Wrestling, 0);
|
||||
Fame = 300;
|
||||
Karma = 0;
|
||||
VirtualArmor = 100;
|
||||
Tamable = true;
|
||||
}
|
||||
|
||||
public override void OnHitsChange(int oldValue)
|
||||
{
|
||||
if (Hits != 10000)
|
||||
{
|
||||
Hits = 10000;
|
||||
}
|
||||
base.OnHitsChange(oldValue);
|
||||
}
|
||||
public override void OnThink()
|
||||
{
|
||||
base.OnThink();
|
||||
this.Say("Just Thinking About Things....");
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
double min = (from.Skills.AnimalTaming.Base - 1.0);
|
||||
base.OnDoubleClick(from);
|
||||
//MinTameSkill = min;
|
||||
//from.SendM
|
||||
//from.SendMessage("You set the MinTameSkill to " + min);
|
||||
|
||||
if (from.Skills.AnimalTaming.Base < 64.1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
MinTameSkill = min;
|
||||
from.SendMessage("You set the MinTameSkill to " + min);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override void OnAfterTame(Mobile tamer)
|
||||
{
|
||||
base.OnAfterTame(tamer);
|
||||
this.Controlled = false;
|
||||
this.ControlMaster = null;
|
||||
this.ControlTarget = null;
|
||||
tamer.SendMessage("The Taming Cow releases itself.");
|
||||
|
||||
if (tamer.Skills.AnimalTaming.Base < 120.0)
|
||||
{
|
||||
tamer.Skills.AnimalTaming.Base += 0.1;
|
||||
}
|
||||
else
|
||||
{
|
||||
tamer.SendMessage("You have no need to Train Animal Taming anymore.");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public TamingCow(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 (version > 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TrainingBow : Bow
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061094; } } // Training Bow
|
||||
|
||||
public override int InitMinHits{ get{ return 2600; } }
|
||||
public override int InitMaxHits{ get{ return 2600; } }
|
||||
|
||||
public override int AosMinDamage{ get{ return 1; } }
|
||||
public override int AosMaxDamage{ get{ return 1; } }
|
||||
public override int AosSpeed{ get{ return 46; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 10; } }
|
||||
public override int OldMinDamage{ get{ return 1; } }
|
||||
public override int OldMaxDamage{ get{ return 1; } }
|
||||
public override int OldSpeed{ get{ return 58; } }
|
||||
|
||||
public override int DefMaxRange{ get{ return 15; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x234; } }
|
||||
public override int DefMissSound{ get{ return 0x238; } }
|
||||
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public TrainingBow()
|
||||
{
|
||||
|
||||
Hue = 220;
|
||||
Name = "A Training Bow";
|
||||
|
||||
Attributes.WeaponSpeed = 50;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public TrainingBow( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
/*********************************************************************
|
||||
*
|
||||
* The original weapon pack was posted to RunUO on 18AUG2005 by Triple.
|
||||
* http://www.runuo.com/community/threads/training-weapons.57430/
|
||||
*
|
||||
* It included: Training Katana, Training Kryss, Training Mace, and Training Bow.
|
||||
*
|
||||
* I added the Training Buckler, Training Gargish Boomerang, Training Gargish Kryss,
|
||||
* Training Gargish Mace, Training Gargish Shield, and Training Gargish Sword.
|
||||
*
|
||||
* I had to work on them some to get all the Special Abilities to work. Now you can use
|
||||
* your specials to get your mana down, so you can work your Meditation and Focus while
|
||||
* training fighting skills. When used in conjunction with Training Elementals you can
|
||||
* set up a nice training area. Hopefully you will find this script in a package with the set.
|
||||
*
|
||||
* Tukaram 21MAY2016
|
||||
*
|
||||
* ********************************************************************/
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TrainingBuckler: Buckler
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061097; } } // Training Buckler
|
||||
|
||||
public override int InitMinHits{ get{ return 2600; } }
|
||||
public override int InitMaxHits{ get{ return 2600; } }
|
||||
|
||||
public override int ArmorBase{get { return 10; } }
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public TrainingBuckler()
|
||||
|
||||
{
|
||||
Name = "A Training Buckler";
|
||||
Hue = 220;
|
||||
|
||||
}
|
||||
|
||||
public TrainingBuckler( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
/*********************************************************************
|
||||
*
|
||||
* The original weapon pack was posted to RunUO on 18AUG2005 by Triple.
|
||||
* http://www.runuo.com/community/threads/training-weapons.57430/
|
||||
*
|
||||
* It included: Training Katana, Training Kryss, Training Mace, and Training Bow.
|
||||
*
|
||||
* I added the Training Buckler, Training Gargish Boomerang, Training Gargish Kryss,
|
||||
* Training Gargish Mace, Training Gargish Shield, and Training Gargish Sword.
|
||||
*
|
||||
* I had to work on them some to get all the Special Abilities to work. Now you can use
|
||||
* your specials to get your mana down, so you can work your Meditation and Focus while
|
||||
* training fighting skills. When used in conjunction with Training Elementals you can
|
||||
* set up a nice training area. Hopefully you will find this script in a package with the set.
|
||||
*
|
||||
* Tukaram 21MAY2016
|
||||
*
|
||||
* ********************************************************************/
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TrainingBoomerang: Boomerang
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061097; } } // Training Boomerang
|
||||
|
||||
public override int InitMinHits{ get{ return 2600; } }
|
||||
public override int InitMaxHits{ get{ return 2600; } }
|
||||
|
||||
public override int AosMinDamage{ get{ return 1; } }
|
||||
public override int AosMaxDamage{ get{ return 1; } }
|
||||
public override int AosSpeed{ get{ return 46; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 10; } }
|
||||
public override int OldMinDamage{ get{ return 1; } }
|
||||
public override int OldMaxDamage{ get{ return 1; } }
|
||||
public override int OldSpeed{ get{ return 58; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23B; } }
|
||||
public override int DefMissSound{ get{ return 0x23A; } }
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
|
||||
|
||||
public TrainingBoomerang()
|
||||
|
||||
{
|
||||
Name = "A Training Boomerang";
|
||||
Hue = 220;
|
||||
|
||||
Attributes.WeaponSpeed = 50;
|
||||
}
|
||||
|
||||
public TrainingBoomerang( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
/*********************************************************************
|
||||
*
|
||||
* The original weapon pack was posted to RunUO on 18AUG2005 by Triple.
|
||||
* http://www.runuo.com/community/threads/training-weapons.57430/
|
||||
*
|
||||
* It included: Training Katana, Training Kryss, Training Mace, and Training Bow.
|
||||
*
|
||||
* I added the Training Buckler, Training Gargish Boomerang, Training Gargish Kryss,
|
||||
* Training Gargish Mace, Training Gargish Shield, and Training Gargish Sword.
|
||||
*
|
||||
* I had to work on them some to get all the Special Abilities to work. Now you can use
|
||||
* your specials to get your mana down, so you can work your Meditation and Focus while
|
||||
* training fighting skills. When used in conjunction with Training Elementals you can
|
||||
* set up a nice training area. Hopefully you will find this script in a package with the set.
|
||||
*
|
||||
* Tukaram 21MAY2016
|
||||
*
|
||||
* ********************************************************************/
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GargishTrainingKryss: Kryss
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061095; } } // GargishTraining Kryss
|
||||
|
||||
public override int InitMinHits{ get{ return 2600; } }
|
||||
public override int InitMaxHits{ get{ return 2600; } }
|
||||
|
||||
public override int AosMinDamage{ get{ return 1; } }
|
||||
public override int AosMaxDamage{ get{ return 1; } }
|
||||
public override int AosSpeed{ get{ return 56; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 10; } }
|
||||
public override int OldMinDamage{ get{ return 1; } }
|
||||
public override int OldMaxDamage{ get{ return 1; } }
|
||||
public override int OldSpeed{ get{ return 68; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23C; } }
|
||||
public override int DefMissSound{ get{ return 0x238; } }
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public GargishTrainingKryss()
|
||||
|
||||
{
|
||||
Name = "A Gargish Training Kryss";
|
||||
Hue = 220;
|
||||
|
||||
Attributes.WeaponSpeed = 50;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override WeaponAbility PrimaryAbility {get { return WeaponAbility.ArmorIgnore; } }
|
||||
public override WeaponAbility SecondaryAbility{get { return WeaponAbility.InfectiousStrike; } }
|
||||
|
||||
|
||||
public override Race RequiredRace { get { return Race.Gargoyle; } }
|
||||
public override bool CanBeWornByGargoyles { get { return true; } }
|
||||
|
||||
public GargishTrainingKryss( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
/*********************************************************************
|
||||
*
|
||||
* The original weapon pack was posted to RunUO on 18AUG2005 by Triple.
|
||||
* http://www.runuo.com/community/threads/training-weapons.57430/
|
||||
*
|
||||
* It included: Training Katana, Training Kryss, Training Mace, and Training Bow.
|
||||
*
|
||||
* I added the Training Buckler, Training Gargish Boomerang, Training Gargish Kryss,
|
||||
* Training Gargish Mace, Training Gargish Shield, and Training Gargish Sword.
|
||||
*
|
||||
* I had to work on them some to get all the Special Abilities to work. Now you can use
|
||||
* your specials to get your mana down, so you can work your Meditation and Focus while
|
||||
* training fighting skills. When used in conjunction with Training Elementals you can
|
||||
* set up a nice training area. Hopefully you will find this script in a package with the set.
|
||||
*
|
||||
* Tukaram 21MAY2016
|
||||
*
|
||||
* ********************************************************************/
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute(0x48C2, 0x48C3)]
|
||||
public class GargishTrainingMace: BaseBashing
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061096; } } // GargishTraining Mace
|
||||
|
||||
public override int InitMinHits { get { return 2600; } }
|
||||
public override int InitMaxHits { get { return 2600; } }
|
||||
|
||||
public override int AosMinDamage { get { return 1; } }
|
||||
public override int AosMaxDamage { get { return 1; } }
|
||||
public override int AosSpeed { get { return 32; } }
|
||||
public override float MlSpeed {get { return 3.50f;} }
|
||||
|
||||
public override int OldStrengthReq { get { return 10; } }
|
||||
public override int OldMinDamage { get { return 1; } }
|
||||
public override int OldMaxDamage { get { return 1; } }
|
||||
public override int OldSpeed { get { return 30; } }
|
||||
|
||||
public override int DefHitSound { get { return 0x233; } }
|
||||
public override int DefMissSound { get { return 0x239; } }
|
||||
|
||||
public override Race RequiredRace { get { return Race.Gargoyle; } }
|
||||
public override bool CanBeWornByGargoyles { get { return true; } }
|
||||
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public GargishTrainingMace()
|
||||
: base(0x48C2)
|
||||
{
|
||||
Name = "A GargishTraining Mace";
|
||||
Hue = 220;
|
||||
|
||||
Attributes.WeaponSpeed = 50;
|
||||
}
|
||||
|
||||
public override WeaponAbility PrimaryAbility { get { return WeaponAbility.DoubleStrike; } }
|
||||
public override WeaponAbility SecondaryAbility { get { return WeaponAbility.ConcussionBlow; } }
|
||||
|
||||
|
||||
|
||||
public GargishTrainingMace(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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
/*********************************************************************
|
||||
*
|
||||
* The original weapon pack was posted to RunUO on 18AUG2005 by Triple.
|
||||
* http://www.runuo.com/community/threads/training-weapons.57430/
|
||||
*
|
||||
* It included: Training Katana, Training Kryss, Training Mace, and Training Bow.
|
||||
*
|
||||
* I added the Training Buckler, Training Gargish Boomerang, Training Gargish Kryss,
|
||||
* Training Gargish Mace, Training Gargish Shield, and Training Gargish Sword.
|
||||
*
|
||||
* I had to work on them some to get all the Special Abilities to work. Now you can use
|
||||
* your specials to get your mana down, so you can work your Meditation and Focus while
|
||||
* training fighting skills. When used in conjunction with Training Elementals you can
|
||||
* set up a nice training area. Hopefully you will find this script in a package with the set.
|
||||
*
|
||||
* Tukaram 21MAY2016
|
||||
*
|
||||
* ********************************************************************/
|
||||
|
||||
using Server;
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TrainingGargishShield : MetalKiteShield
|
||||
{
|
||||
|
||||
|
||||
public override int InitMinHits{ get{ return 2600; } }
|
||||
public override int InitMaxHits{ get{ return 2600; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 0; } }
|
||||
public override int BaseFireResistance{ get{ return 0; } }
|
||||
public override int BaseColdResistance{ get{ return 0; } }
|
||||
public override int BasePoisonResistance{ get{ return 0; } }
|
||||
public override int BaseEnergyResistance{ get{ return 0; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 15; } }
|
||||
public override int OldStrReq{ get{ return 15; } }
|
||||
public override Race RequiredRace{ get { return Race.Gargoyle; } }
|
||||
public override bool CanBeWornByGargoyles{ get{ return true; } }
|
||||
|
||||
[Constructable]
|
||||
public TrainingGargishShield()
|
||||
{
|
||||
|
||||
Name = "Training Gargish Shield";
|
||||
Weight = 10;
|
||||
ItemID = 16938;
|
||||
Hue = 220;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public TrainingGargishShield( 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();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
/*********************************************************************
|
||||
*
|
||||
* The original weapon pack was posted to RunUO on 18AUG2005 by Triple.
|
||||
* http://www.runuo.com/community/threads/training-weapons.57430/
|
||||
*
|
||||
* It included: Training Katana, Training Kryss, Training Mace, and Training Bow.
|
||||
*
|
||||
* I added the Training Buckler, Training Gargish Boomerang, Training Gargish Kryss,
|
||||
* Training Gargish Mace, Training Gargish Shield, and Training Gargish Sword.
|
||||
*
|
||||
* I had to work on them some to get all the Special Abilities to work. Now you can use
|
||||
* your specials to get your mana down, so you can work your Meditation and Focus while
|
||||
* training fighting skills. When used in conjunction with Training Elementals you can
|
||||
* set up a nice training area. Hopefully you will find this script in a package with the set.
|
||||
*
|
||||
* Tukaram 21MAY2016
|
||||
*
|
||||
* ********************************************************************/
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GargishTrainingSword : Katana
|
||||
{
|
||||
|
||||
public override int LabelNumber{ get{ return 1061097; } } // GargishTraining Katana
|
||||
|
||||
|
||||
public override int InitMinHits { get { return 2600; } }
|
||||
public override int InitMaxHits { get { return 2600; } }
|
||||
|
||||
public override int AosMinDamage { get { return 1; } }
|
||||
public override int AosMaxDamage { get { return 1; } }
|
||||
public override int AosSpeed { get { return 56; } }
|
||||
|
||||
public override int OldStrengthReq { get { return 10; } }
|
||||
public override int OldMinDamage { get { return 1; } }
|
||||
public override int OldMaxDamage { get { return 1; } }
|
||||
public override int OldSpeed { get { return 68; } }
|
||||
|
||||
public override Race RequiredRace { get { return Race.Gargoyle; } }
|
||||
public override bool CanBeWornByGargoyles { get { return true; } }
|
||||
|
||||
[Constructable]
|
||||
public GargishTrainingSword()
|
||||
{
|
||||
|
||||
Name = "A Gargish Training Sword";
|
||||
ItemID = 2312;
|
||||
Hue = 220;
|
||||
//Layer = Layer.OneHanded;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
|
||||
}
|
||||
|
||||
public override WeaponAbility PrimaryAbility { get { return WeaponAbility.WhirlwindAttack; } }
|
||||
public override WeaponAbility SecondaryAbility { get { return WeaponAbility.Dismount; } }
|
||||
|
||||
public GargishTrainingSword( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TrainingKatana: Katana
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061097; } } // Training Katana
|
||||
|
||||
public override int InitMinHits{ get{ return 2600; } }
|
||||
public override int InitMaxHits{ get{ return 2600; } }
|
||||
|
||||
public override int AosMinDamage{ get{ return 1; } }
|
||||
public override int AosMaxDamage{ get{ return 1; } }
|
||||
public override int AosSpeed{ get{ return 46; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 10; } }
|
||||
public override int OldMinDamage{ get{ return 1; } }
|
||||
public override int OldMaxDamage{ get{ return 1; } }
|
||||
public override int OldSpeed{ get{ return 58; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23B; } }
|
||||
public override int DefMissSound{ get{ return 0x23A; } }
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public TrainingKatana()
|
||||
|
||||
{
|
||||
Name = "A Training Katana";
|
||||
Hue = 220;
|
||||
|
||||
Attributes.WeaponSpeed = 50;
|
||||
}
|
||||
|
||||
public TrainingKatana( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TrainingKryss: Kryss
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061095; } } // Training Kryss
|
||||
|
||||
public override int InitMinHits{ get{ return 2600; } }
|
||||
public override int InitMaxHits{ get{ return 2600; } }
|
||||
|
||||
public override int AosMinDamage{ get{ return 1; } }
|
||||
public override int AosMaxDamage{ get{ return 1; } }
|
||||
public override int AosSpeed{ get{ return 56; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 10; } }
|
||||
public override int OldMinDamage{ get{ return 1; } }
|
||||
public override int OldMaxDamage{ get{ return 1; } }
|
||||
public override int OldSpeed{ get{ return 68; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23C; } }
|
||||
public override int DefMissSound{ get{ return 0x238; } }
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public TrainingKryss()
|
||||
|
||||
{
|
||||
Name = "A Training Kryss";
|
||||
Hue = 220;
|
||||
|
||||
Attributes.WeaponSpeed = 50;
|
||||
}
|
||||
|
||||
public TrainingKryss( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TrainingMace: Mace
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061096; } } // Training Mace
|
||||
|
||||
public override int InitMinHits{ get{ return 2600; } }
|
||||
public override int InitMaxHits{ get{ return 2600; } }
|
||||
|
||||
public override int AosMinDamage{ get{ return 1; } }
|
||||
public override int AosMaxDamage{ get{ return 1; } }
|
||||
public override int AosSpeed{ get{ return 36; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 10; } }
|
||||
public override int OldMinDamage{ get{ return 1; } }
|
||||
public override int OldMaxDamage{ get{ return 1; } }
|
||||
public override int OldSpeed{ get{ return 48; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x233; } }
|
||||
public override int DefMissSound{ get{ return 0x239; } }
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public TrainingMace()
|
||||
|
||||
{
|
||||
Name = "A Training Mace";
|
||||
Hue = 220;
|
||||
|
||||
Attributes.WeaponSpeed = 50;
|
||||
}
|
||||
|
||||
public TrainingMace( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
77
Scripts/Scripts-master/Items/Training items/TrainingBull2.cs
Normal file
77
Scripts/Scripts-master/Items/Training items/TrainingBull2.cs
Normal file
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a training bull corpse" )]
|
||||
public class TrainingBull : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public TrainingBull()
|
||||
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Name = "a training bull";
|
||||
Body = 0xE9;
|
||||
//BaseSoundID = 0x64;
|
||||
Hue = 312;
|
||||
CantWalk = true;
|
||||
|
||||
SetStr( 77, 111 );
|
||||
SetDex( 56, 75 );
|
||||
SetInt( 47, 75 );
|
||||
|
||||
Blessed = false;
|
||||
HitsMaxSeed = 7500;
|
||||
Hits = 7500;
|
||||
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 2, 2 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 50, 60 );
|
||||
SetResistance( ResistanceType.Cold, 50, 60 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 10, 25 );
|
||||
SetSkill( SkillName.Tactics, 10, 25 );
|
||||
SetSkill( SkillName.Wrestling, 10, 25 );
|
||||
|
||||
Fame = 600;
|
||||
Karma = 0;
|
||||
|
||||
VirtualArmor = 100;
|
||||
|
||||
Tamable = false;
|
||||
|
||||
|
||||
}
|
||||
public override void OnHitsChange(int oldValue)
|
||||
{
|
||||
if (Hits != 7500)
|
||||
{
|
||||
Hits = 7500;
|
||||
}
|
||||
base.OnHitsChange(oldValue);
|
||||
}
|
||||
|
||||
|
||||
public TrainingBull(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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user