1using System.Collections.Generic;
43 return Act.TC !=
null;
49 return base.Perform();
52 public override IEnumerable<Status>
Run()
99 onProgressBegin = delegate
109 if (chara !=
null &&
owner.
Dist(chara) > 1)
117 if (chara !=
null &&
owner.
Dist(chara) > 1)
135 int num2 = c.PER * 250 / 100;
164 onProgressComplete = delegate
179 target.isNPCProperty =
false;
182 target.isStolen =
true;
191 }.SetDuration(20, 4);
192 yield
return Do(seq);
Status Do(AIAct _seq, Func< Status > _onChildFail=null)
override bool CanPerform()
override IEnumerable< Status > Run()
override bool IsValidTC(Card c)
override bool IsHostileAct
int GetInt(int id, int? defaultInt=null)
void SetInt(int id, int value=0)
void PlayAnime(AnimeID id, bool force)
void SetPlaceState(PlaceState newState, bool byPlayer=false)
ElementContainerCard elements
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
Thing AddThing(string id, int lv=-1)
int ChildrenAndSelfWeight
SourceCategory.Row category
void Say(string lang, string ref1=null, string ref2=null)
Hostility OriginalHostility
override bool IsPCFaction
MoveResult TryMoveTowards(Point p)
override void LookAt(Card c)
Thing Pick(Thing t, bool msg=true, bool tryStack=true)
int GetRaw(int offsetHours=0)
void ModExp(int ele, int a, bool chain=false)
List< Chara > ListWitnesses(Chara criminal, int radius=4, WitnessType type=WitnessType.crime, Chara target=null)
bool TryWitnessCrime(Chara criminal, Chara target=null, int radius=4, Func< Chara, bool > funcWitness=null)
static TargetTypeSelfAndNeighbor SelfAndNeighbor
static Thing CreateFromFilter(string id, int lv=-1)
static Thing Create(string id, int idMat=-1, int lv=-1)