Exemplo n.º 1
0
        public void LetEveryoneKnowCountered(string theSavior)
        {
            var evnt = LetEveryoneKnowAboutCounter.Create(Bolt.GlobalTargets.Everyone);

            evnt.Savior = theSavior;
            evnt.Send();
        }
Exemplo n.º 2
0
 // Let's players know who countered the crisis
 public override void OnEvent(LetEveryoneKnowAboutCounter evnt)
 {
     if (playerSpellcaster.classType == evnt.Savior)
     {
         BoltConsole.Write("You saved the world with your spell!");
         BoltConsole.Write("You saved the world with your spell!");
         PanelHolder.instance.displayNotify("Congratulations", "You saved the world with your spell!", "OK");
     }
     else
     {
         BoltConsole.Write(evnt.Savior + " saved the world!");
         BoltConsole.Write(evnt.Savior + " saved the world!");
         PanelHolder.instance.displayNotify("Congratulations", evnt.Savior + " saved the world!", "OK");
     }
 }