18 public override int MaxRadius
28 public override int PerformDistance
38 public override bool IsHostileAct
47 public override bool CanPerform()
49 Act.TC =
Act.TP.FirstChara;
50 return Act.TC !=
null && !Act.TC.isRestrained && Act.TC.IsAliveInCurrentZone && !Act.TC.IsMultisize && Act.TC.Chara.host ==
null && Act.TC.IsPCFaction &&
EClass._zone.IsPCFaction;
54 public override bool Perform()
56 Act.TC =
Act.TP.FirstChara;
57 if (
Act.TC.Chara.IsHostile() ||
Act.TC.IsMultisize ||
Act.TC.Chara.host !=
null)
59 Msg.Say(
"resist",
Act.TC,
null,
null,
null);
63 this.shackle.Restrain(
Act.TC,
true);
64 EClass._zone.AddCard(this.shackle.owner,
Act.TP);
65 this.shackle.owner.SetPlaceState(PlaceState.installed,
false);
66 if (!
Act.TC.IsPCFaction)
68 EClass.player.ModKarma(-1);
70 if (
Act.TC.IsPCFaction &&
EClass._zone.IsPCFaction)
74 shackle = this.shackle