feat(champs): Ports Casiopia champions (#584)

This commit is contained in:
Kamron Batman 2021-05-09 00:20:43 -07:00 • committed by GitHub
parent 6e9477ea13
commit 7819830628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1402 additions and 690 deletions

View file

@ -84,7 +84,7 @@ namespace Server.Spells.Necromancy
public override void OnCast()
{
var r = Caster.Region.GetRegion<ChampionSpawnRegion>();
if (r == null || !Caster.InRange(r.ChampionSpawn, Range))
if (r == null || !Caster.InRange(r.Spawn, Range))
{
Caster.SendLocalizedMessage(1072111); // You are not in a valid exorcism region.
}
@ -95,7 +95,7 @@ namespace Server.Spells.Necromancy
if (map != null)
{
// Surprisingly, no sparkle type effects
foreach (var m in r.ChampionSpawn.GetMobilesInRange(Range))
foreach (var m in r.Spawn.GetMobilesInRange(Range))
{
if (IsValidTarget(m))
{