Пример #1
0
        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);
            }
        }
Пример #2
0
 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);
     }
 }