Exemplo n.º 1
0
 void player_AfterKillingLiving(Game.Logic.AbstractGame game, int type, int id, bool isLiving, int demage)
 {
     if ((type == 2 && id == m_info.Para1) && (Value > 0) && (!isLiving))
     {
         Value--;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="game"></param>
 /// <param name="isWin"></param>
 /// <param name="gainXp"></param>
 void player_GameOver(Game.Logic.AbstractGame game, bool isWin, int gainXp)
 {
     if (Value < m_info.Para1)
     {
         Value++;
     }
 }
Exemplo n.º 3
0
 void player_RequestItem(Game.Logic.AbstractGame game, List <MapGoodsInfo> questItems)
 {
 }