1using System.Collections.Generic;
53 return base.Perform();
56 public override IEnumerable<Status>
Run()
59 bool negate = chara !=
null && chara.
HasElement(426);
113 onProgressBegin = delegate
123 if (chara !=
null &&
owner.
Dist(chara) > 1)
131 if (chara !=
null &&
owner.
Dist(chara) > 1)
149 int num2 = c.PER * 250 / 100;
182 onProgressComplete = delegate
197 target.isNPCProperty =
false;
200 target.isStolen =
true;
209 }.SetDuration(20, 4);
210 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
bool HasElement(int ele, int req=1)
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, float 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)