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); }
public void Taunt(BattleAction_Taunt data, bool isServerData) { if (data.soldierId != this.owner.ID) { return; } this.owner.IsTaunt = true; }