Issue information

Issue ID
#1464
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
May 4, 2008 22:16
Last Post
Hercules Elf Bot
May 4, 2008 22:16
Confirmation
N/A

Hercules Elf Bot - May 4, 2008 22:16

Originally posted by [b]Saithis[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1464

If WoE ends an an Castle is without owner, the Emperium doesn't disappear...
CODE
OnAgitEnd:
    GvgOff "schg_cas03";
    if (GetCastleData("schg_cas03",1)) {
        KillMonster "schg_cas03","Steward#sch03::OnStartArena";
        donpcevent "Manager#sch03_02::Onreset";
    }
    end;

I think this is the wrong code, with schg_cas03 as example (but the bug is in all castles)