This reverts commit 179cb50557.
This commit is contained in:
parent
179cb50557
commit
c2ecc76457
588 changed files with 16260 additions and 10926 deletions
|
|
@ -87,7 +87,9 @@ namespace Server.Spells.Necromancy
|
|||
{
|
||||
ChampionSpawnRegion r = Caster.Region.GetRegion<ChampionSpawnRegion>();
|
||||
if (r == null || !Caster.InRange(r.ChampionSpawn, Range))
|
||||
{
|
||||
Caster.SendLocalizedMessage(1072111); // You are not in a valid exorcism region.
|
||||
}
|
||||
else if (CheckSequence())
|
||||
{
|
||||
Map map = Caster.Map;
|
||||
|
|
@ -96,7 +98,6 @@ namespace Server.Spells.Necromancy
|
|||
{
|
||||
IEnumerable<Mobile> targets = r.ChampionSpawn.GetMobilesInRange(Range).Where(IsValidTarget);
|
||||
|
||||
//Surprisingly, no sparkle type effects
|
||||
foreach (Mobile m in targets)
|
||||
//Surprisingly, no sparkle type effects
|
||||
m.Location = GetNearestShrine(m);
|
||||
|
|
@ -133,7 +134,7 @@ namespace Server.Spells.Necromancy
|
|||
Guild mGuild = m.Guild as Guild;
|
||||
Guild cGuild = Caster.Guild as Guild;
|
||||
|
||||
if (mGuild?.IsAlly(cGuild) == true)
|
||||
if (mGuild.IsAlly(cGuild))
|
||||
return false;
|
||||
|
||||
if (mGuild == cGuild)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue