Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -10,15 +10,16 @@ namespace Server.Mobiles
|
|||
/// You can set its value in game
|
||||
/// It die after 5 minutes, so your test server stay clean
|
||||
/// Create a macro to help your creation "[add Dummy 1 15 7 -1 0.5 2"
|
||||
///
|
||||
///
|
||||
/// A iTeam of negative will set a faction at random
|
||||
///
|
||||
///
|
||||
/// Say Kill if you want them to die
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
|
||||
public class DummyMace : Dummy
|
||||
{
|
||||
public override string DefaultName => "Macer";
|
||||
|
||||
[Constructible]
|
||||
public DummyMace() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
|
|
@ -34,10 +35,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Healing].Base = 120;
|
||||
this.Skills[SkillName.Tactics].Base = 120;
|
||||
|
||||
|
||||
// Name
|
||||
this.Name = "Macer";
|
||||
|
||||
// Equip
|
||||
WarHammer war = new WarHammer();
|
||||
war.Movable = true;
|
||||
|
|
@ -95,6 +92,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class DummyFence : Dummy
|
||||
{
|
||||
public override string DefaultName => "Fencer";
|
||||
|
||||
[Constructible]
|
||||
public DummyFence() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
|
|
@ -110,9 +108,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Healing].Base = 120;
|
||||
this.Skills[SkillName.Tactics].Base = 120;
|
||||
|
||||
// Name
|
||||
this.Name = "Fencer";
|
||||
|
||||
// Equip
|
||||
Spear ssp = new Spear();
|
||||
ssp.Movable = true;
|
||||
|
|
@ -171,7 +166,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class DummySword : Dummy
|
||||
{
|
||||
|
||||
public override string DefaultName => "Swordsman";
|
||||
[Constructible]
|
||||
public DummySword() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
{
|
||||
|
|
@ -187,10 +182,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Tactics].Base = 120;
|
||||
this.Skills[SkillName.Parry].Base = 120;
|
||||
|
||||
|
||||
// Name
|
||||
this.Name = "Swordsman";
|
||||
|
||||
// Equip
|
||||
Katana kat = new Katana();
|
||||
kat.Crafter = this;
|
||||
|
|
@ -248,7 +239,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class DummyNox : Dummy
|
||||
{
|
||||
|
||||
public override string DefaultName => "Nox Mage";
|
||||
[Constructible]
|
||||
public DummyNox() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
{
|
||||
|
|
@ -266,10 +257,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Meditation].Base = 120;
|
||||
this.Skills[SkillName.Poisoning].Base = 100;
|
||||
|
||||
|
||||
// Name
|
||||
this.Name = "Nox Mage";
|
||||
|
||||
// Equip
|
||||
Spellbook book = new Spellbook();
|
||||
book.Movable = false;
|
||||
|
|
@ -319,6 +306,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class DummyStun : Dummy
|
||||
{
|
||||
public override string DefaultName => "Stun Mage";
|
||||
|
||||
[Constructible]
|
||||
public DummyStun() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
|
|
@ -337,10 +325,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Meditation].Base = 100;
|
||||
this.Skills[SkillName.Poisoning].Base = 100;
|
||||
|
||||
|
||||
// Name
|
||||
this.Name = "Stun Mage";
|
||||
|
||||
// Equip
|
||||
Spellbook book = new Spellbook();
|
||||
book.Movable = false;
|
||||
|
|
@ -413,6 +397,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class DummySuper : Dummy
|
||||
{
|
||||
public override string DefaultName => "Super Mage";
|
||||
|
||||
[Constructible]
|
||||
public DummySuper() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
|
|
@ -431,9 +416,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Poisoning].Base = 100;
|
||||
this.Skills[SkillName.Inscribe].Base = 100;
|
||||
|
||||
// Name
|
||||
this.Name = "Super Mage";
|
||||
|
||||
// Equip
|
||||
Spellbook book = new Spellbook();
|
||||
book.Movable = false;
|
||||
|
|
@ -511,7 +493,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class DummyHealer : Dummy
|
||||
{
|
||||
|
||||
public override string DefaultName => "Healer";
|
||||
[Constructible]
|
||||
public DummyHealer() : base(AIType.AI_Healer, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
{
|
||||
|
|
@ -528,9 +510,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Meditation].Base = 120;
|
||||
this.Skills[SkillName.Healing].Base = 100;
|
||||
|
||||
// Name
|
||||
this.Name = "Healer";
|
||||
|
||||
// Equip
|
||||
Spellbook book = new Spellbook();
|
||||
book.Movable = false;
|
||||
|
|
@ -602,6 +581,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class DummyAssassin : Dummy
|
||||
{
|
||||
public override string DefaultName => "Hybrid Assassin";
|
||||
|
||||
[Constructible]
|
||||
public DummyAssassin() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
|
|
@ -619,9 +599,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Meditation].Base = 120;
|
||||
this.Skills[SkillName.Poisoning].Base = 100;
|
||||
|
||||
// Name
|
||||
this.Name = "Hybrid Assassin";
|
||||
|
||||
// Equip
|
||||
Spellbook book = new Spellbook();
|
||||
book.Movable = false;
|
||||
|
|
@ -722,6 +699,7 @@ namespace Server.Mobiles
|
|||
[TypeAlias( "Server.Mobiles.DummyTheif" )]
|
||||
public class DummyThief : Dummy
|
||||
{
|
||||
public override string DefaultName => "Hybrid Thief";
|
||||
[Constructible]
|
||||
public DummyThief() : base(AIType.AI_Thief, FightMode.Closest, 15, 1, 0.2, 0.6)
|
||||
{
|
||||
|
|
@ -738,9 +716,6 @@ namespace Server.Mobiles
|
|||
this.Skills[SkillName.Meditation].Base = 120;
|
||||
this.Skills[SkillName.Wrestling].Base = 120;
|
||||
|
||||
// Name
|
||||
this.Name = "Hybrid Thief";
|
||||
|
||||
// Equip
|
||||
Spellbook book = new Spellbook();
|
||||
book.Movable = false;
|
||||
|
|
@ -811,4 +786,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue