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

@ -314,14 +314,14 @@ namespace Server.Items
{
}
public override void Serialize( GenericWriter writer )
public override void Serialize(IGenericWriter writer)
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
public override void Deserialize(IGenericReader reader)
{
base.Deserialize( reader );

View file

@ -121,7 +121,7 @@ namespace Server.Items
if (Region.Find(bc.Home, map) is ChampionSpawnRegion region)
{
var spawn = region.ChampionSpawn;
var spawn = region.Spawn;
if (spawn?.IsChampionSpawn(bc) == true)
{