コード例 #1
0
 public void OnSummoned()
 {
     foreach (var fighter in Fighter.OposedTeam().GetFighters())
     {
         fighter.AfterDeadEvt += Fighter_AfterDeadEvt;
         Fighter.AddLife(HP_PER_PLAYER, false);
     }
     foreach (var ally in Fighter.Team.GetFighters())
     {
         if (ally != this.Fighter) // Stack Overflow
         {
             ally.OnAttemptToInflictEvt += OnAllyInflicted;
         }
     }
     Fighter.BeforeTakeDamagesEvt += Fighter_BeforeTakeDamagesEvt;
     Fighter.ShowFighter();
 }