public static void SendIncurable(long targetID)
    {
        BattleAction_Incurable battleAction_Incurable = new BattleAction_Incurable();

        battleAction_Incurable.soldierId = targetID;
        EventDispatcher.Broadcast <BattleAction_Incurable, bool>(BattleActionEvent.Incurable, battleAction_Incurable, false);
    }
Exemplo n.º 2
0
 public void Incurable(BattleAction_Incurable data, bool isServerData)
 {
     if (data.soldierId != this.owner.ID)
     {
         return;
     }
     this.owner.IsIncurable = true;
 }