public Untarget ( bool isScriptChange ) : void | ||
isScriptChange | bool | |
return | void |
public void Untarget(bool isScriptChange)
{
if (TargetedBy == null && !TargetsOtherCards) return;
Program.Client.Rpc.UntargetReq(this, isScriptChange);
new Target(Player.LocalPlayer, this, null, false, isScriptChange).Do();
}
public void CardTarget(int id, bool active) { Card c = Card.Find(id); QueueAction(() => { //Program.GameEngine.EventProxy.MuteEvents = true; if (active) { c.Target(true); } else { c.Untarget(true); } //Program.GameEngine.EventProxy.MuteEvents = false; }); }