Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
96
Scripts/Mobiles/Normal/ScaledSwampDragon.cs
Normal file
96
Scripts/Mobiles/Normal/ScaledSwampDragon.cs
Normal file
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("a swamp dragon corpse")]
|
||||
public class ScaledSwampDragon : BaseMount
|
||||
{
|
||||
[Constructable]
|
||||
public ScaledSwampDragon()
|
||||
: this("a swamp dragon")
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public ScaledSwampDragon(string name)
|
||||
: base(name, 0x31F, 0x3EBE, AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
SetStr(201, 300);
|
||||
SetDex(66, 85);
|
||||
SetInt(61, 100);
|
||||
|
||||
SetHits(121, 180);
|
||||
|
||||
SetDamage(3, 4);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 75);
|
||||
SetDamageType(ResistanceType.Poison, 25);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 35, 40);
|
||||
SetResistance(ResistanceType.Fire, 20, 30);
|
||||
SetResistance(ResistanceType.Cold, 20, 40);
|
||||
SetResistance(ResistanceType.Poison, 20, 30);
|
||||
SetResistance(ResistanceType.Energy, 30, 40);
|
||||
|
||||
SetSkill(SkillName.Anatomy, 45.1, 55.0);
|
||||
SetSkill(SkillName.MagicResist, 45.1, 55.0);
|
||||
SetSkill(SkillName.Tactics, 45.1, 55.0);
|
||||
SetSkill(SkillName.Wrestling, 45.1, 55.0);
|
||||
|
||||
Fame = 2000;
|
||||
Karma = -2000;
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 1;
|
||||
MinTameSkill = 93.9;
|
||||
}
|
||||
|
||||
public ScaledSwampDragon(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool AutoDispel
|
||||
{
|
||||
get
|
||||
{
|
||||
return !Controlled;
|
||||
}
|
||||
}
|
||||
public override FoodType FavoriteFood
|
||||
{
|
||||
get
|
||||
{
|
||||
return FoodType.Meat;
|
||||
}
|
||||
}
|
||||
public override double GetControlChance(Mobile m, bool useBaseSkill)
|
||||
{
|
||||
if (PetTrainingHelper.Enabled)
|
||||
{
|
||||
var profile = PetTrainingHelper.GetAbilityProfile(this);
|
||||
|
||||
if (profile != null && profile.HasCustomized())
|
||||
{
|
||||
return base.GetControlChance(m, useBaseSkill);
|
||||
}
|
||||
}
|
||||
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
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