Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
AI_ArmPillow.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2
3public class AI_ArmPillow : AI_Massage
4{
5 public override IEnumerable<Status> Run()
6 {
7 target.Say("armpillow_start", target, owner);
9 int i = 0;
11 {
12 yield return DoGoto(target.pos, 1);
14 if (i % 30 == 20)
15 {
16 owner.Talk("goodBoy");
17 }
18 i++;
19 }
20 target.Say("armpillow_end", target, owner);
21 Finish(owner, target, 50);
22 }
23}
new Chara owner
Definition: AIAct.cs:14
Func< bool > isFail
Definition: AIAct.cs:28
Status DoGoto(Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=null)
Definition: AIAct.cs:432
override IEnumerable< Status > Run()
Definition: AI_ArmPillow.cs:5
Chara target
Definition: AI_Massage.cs:6
void Talk(string idTopic, string ref1=null, string ref2=null, bool forceSync=false)
Definition: Card.cs:5949
Point pos
Definition: Card.cs:55
int Dist(Card c)
Definition: Card.cs:6777
void Say(string lang, string ref1=null, string ref2=null)
Definition: Card.cs:6046
override bool IsAliveInCurrentZone
Definition: Chara.cs:546
bool HasCondition(string alias)
Definition: Chara.cs:8568
override void LookAt(Card c)
Definition: Chara.cs:3219