static void _GhostDead(object sender, CritterDeadEventArgs e) { var ghost = sender as Critter; // ghost killed not through quest dialog if (GhostState != State.Dead) { // ressurect ghost Global.CreateTimeEvent(Time.After(60), e_RessurectGhost, ghost.Id, false); } }
static void _GhostDead(object sender, CritterDeadEventArgs e) { var ghost = sender as Critter; // ghost killed not through quest dialog if(GhostState != State.Dead) { // ressurect ghost Global.CreateTimeEvent(Time.After(60), e_RessurectGhost, ghost.Id, false); } }