#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
37
Scripts/Engines/Ethics/Evil/Ethic.cs
Normal file
37
Scripts/Engines/Ethics/Evil/Ethic.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Server.Factions;
|
||||
|
||||
namespace Server.Ethics.Evil
|
||||
{
|
||||
public sealed class EvilEthic : Ethic
|
||||
{
|
||||
public EvilEthic()
|
||||
{
|
||||
m_Definition = new EthicDefinition(
|
||||
0x455,
|
||||
"Evil", "(Evil)",
|
||||
"I am evil incarnate",
|
||||
new Power[]
|
||||
{
|
||||
new UnholySense(),
|
||||
new UnholyItem(),
|
||||
new SummonFamiliar(),
|
||||
new VileBlade(),
|
||||
new Blight(),
|
||||
new UnholyShield(),
|
||||
new UnholySteed(),
|
||||
new UnholyWord()
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public override bool IsEligible( Mobile mob )
|
||||
{
|
||||
Faction fac = Faction.Find( mob );
|
||||
|
||||
return ( fac is Minax || fac is Shadowlords );
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue