Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -24,10 +24,7 @@ namespace Server.Ethics
|
|||
|
||||
protected PlayerCollection m_Players;
|
||||
|
||||
public Ethic()
|
||||
{
|
||||
m_Players = new PlayerCollection();
|
||||
}
|
||||
public Ethic() => m_Players = new PlayerCollection();
|
||||
|
||||
public EthicDefinition Definition => m_Definition;
|
||||
|
||||
|
|
@ -84,10 +81,7 @@ namespace Server.Ethics
|
|||
return false;
|
||||
}
|
||||
|
||||
public static bool IsImbued(Item item)
|
||||
{
|
||||
return IsImbued(item, false);
|
||||
}
|
||||
public static bool IsImbued(Item item) => IsImbued(item, false);
|
||||
|
||||
public static bool IsImbued(Item item, bool recurse)
|
||||
{
|
||||
|
|
@ -166,15 +160,9 @@ namespace Server.Ethics
|
|||
}
|
||||
}
|
||||
|
||||
public static Ethic Find(Mobile mob)
|
||||
{
|
||||
return Find(mob, false, false);
|
||||
}
|
||||
public static Ethic Find(Mobile mob) => Find(mob, false, false);
|
||||
|
||||
public static Ethic Find(Mobile mob, bool inherit)
|
||||
{
|
||||
return Find(mob, inherit, false);
|
||||
}
|
||||
public static Ethic Find(Mobile mob, bool inherit) => Find(mob, inherit, false);
|
||||
|
||||
public static Ethic Find(Mobile mob, bool inherit, bool allegiance)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,10 +15,8 @@ namespace Server.Ethics
|
|||
}
|
||||
|
||||
public EthicsPersistance(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
: base(serial) =>
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
public static EthicsPersistance Instance{ get; private set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -79,10 +79,7 @@ namespace Server.Ethics
|
|||
}
|
||||
}
|
||||
|
||||
public static Player Find(Mobile mob)
|
||||
{
|
||||
return Find(mob, false);
|
||||
}
|
||||
public static Player Find(Mobile mob) => Find(mob, false);
|
||||
|
||||
public static Player Find(Mobile mob, bool inherit)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Ethics.Evil
|
|||
{
|
||||
public sealed class Blight : Power
|
||||
{
|
||||
public Blight()
|
||||
{
|
||||
public Blight() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
15,
|
||||
"Blight",
|
||||
"Velgo Ontawl",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Ethics.Evil
|
|||
{
|
||||
public sealed class SummonFamiliar : Power
|
||||
{
|
||||
public SummonFamiliar()
|
||||
{
|
||||
public SummonFamiliar() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
5,
|
||||
"Summon Familiar",
|
||||
"Trubechs Vingir",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Ethics.Evil
|
|||
{
|
||||
public sealed class UnholyItem : Power
|
||||
{
|
||||
public UnholyItem()
|
||||
{
|
||||
public UnholyItem() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
5,
|
||||
"Unholy Item",
|
||||
"Vidda K'balc",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Ethics.Evil
|
|||
{
|
||||
public sealed class UnholySense : Power
|
||||
{
|
||||
public UnholySense()
|
||||
{
|
||||
public UnholySense() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
0,
|
||||
"Unholy Sense",
|
||||
"Drewrok Velgo",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,15 +4,13 @@ namespace Server.Ethics.Evil
|
|||
{
|
||||
public sealed class UnholyShield : Power
|
||||
{
|
||||
public UnholyShield()
|
||||
{
|
||||
public UnholyShield() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
20,
|
||||
"Unholy Shield",
|
||||
"Velgo K'blac",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Ethics.Evil
|
|||
{
|
||||
public sealed class UnholySteed : Power
|
||||
{
|
||||
public UnholySteed()
|
||||
{
|
||||
public UnholySteed() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
30,
|
||||
"Unholy Steed",
|
||||
"Trubechs Yeliab",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,15 +2,13 @@ namespace Server.Ethics.Evil
|
|||
{
|
||||
public sealed class UnholyWord : Power
|
||||
{
|
||||
public UnholyWord()
|
||||
{
|
||||
public UnholyWord() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
100,
|
||||
"Unholy Word",
|
||||
"Velgo Oostrac",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,15 +2,13 @@ namespace Server.Ethics.Evil
|
|||
{
|
||||
public sealed class VileBlade : Power
|
||||
{
|
||||
public VileBlade()
|
||||
{
|
||||
public VileBlade() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
10,
|
||||
"Vile Blade",
|
||||
"Velgo Reyam",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Ethics.Hero
|
|||
{
|
||||
public sealed class Bless : Power
|
||||
{
|
||||
public Bless()
|
||||
{
|
||||
public Bless() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
15,
|
||||
"Bless",
|
||||
"Erstok Ontawl",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,15 +2,13 @@ namespace Server.Ethics.Hero
|
|||
{
|
||||
public sealed class HolyBlade : Power
|
||||
{
|
||||
public HolyBlade()
|
||||
{
|
||||
public HolyBlade() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
10,
|
||||
"Holy Blade",
|
||||
"Erstok Reyam",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Ethics.Hero
|
|||
{
|
||||
public sealed class HolyItem : Power
|
||||
{
|
||||
public HolyItem()
|
||||
{
|
||||
public HolyItem() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
5,
|
||||
"Holy Item",
|
||||
"Vidda K'balc",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Ethics.Hero
|
|||
{
|
||||
public sealed class HolySense : Power
|
||||
{
|
||||
public HolySense()
|
||||
{
|
||||
public HolySense() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
0,
|
||||
"Holy Sense",
|
||||
"Drewrok Erstok",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,15 +4,13 @@ namespace Server.Ethics.Hero
|
|||
{
|
||||
public sealed class HolyShield : Power
|
||||
{
|
||||
public HolyShield()
|
||||
{
|
||||
public HolyShield() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
20,
|
||||
"Holy Shield",
|
||||
"Erstok K'blac",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Ethics.Hero
|
|||
{
|
||||
public sealed class HolySteed : Power
|
||||
{
|
||||
public HolySteed()
|
||||
{
|
||||
public HolySteed() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
30,
|
||||
"Holy Steed",
|
||||
"Trubechs Yeliab",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,15 +2,13 @@ namespace Server.Ethics.Hero
|
|||
{
|
||||
public sealed class HolyWord : Power
|
||||
{
|
||||
public HolyWord()
|
||||
{
|
||||
public HolyWord() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
100,
|
||||
"Holy Word",
|
||||
"Erstok Oostrac",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Ethics.Hero
|
|||
{
|
||||
public sealed class SummonFamiliar : Power
|
||||
{
|
||||
public SummonFamiliar()
|
||||
{
|
||||
public SummonFamiliar() =>
|
||||
m_Definition = new PowerDefinition(
|
||||
5,
|
||||
"Summon Familiar",
|
||||
"Trubechs Vingir",
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
public override void BeginInvoke(Player from)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue