public static void SendTaunt(long targetID)
    {
        BattleAction_Taunt battleAction_Taunt = new BattleAction_Taunt();

        battleAction_Taunt.soldierId = targetID;
        EventDispatcher.BroadcastAsync <BattleAction_Taunt, bool>(BattleActionEvent.Taunt, battleAction_Taunt, false);
    }
예제 #2
0
 public void Taunt(BattleAction_Taunt data, bool isServerData)
 {
     if (data.soldierId != this.owner.ID)
     {
         return;
     }
     this.owner.IsTaunt = true;
 }