10 public override bool PushChara
20 public override bool IsAutoTurn
39 public override IEnumerable<
AIAct.Status> Run()
41 this.target.Say(
"massage_start", this.target, this.owner,
null,
null);
42 this.isFail = (() => !this.target.IsAliveInCurrentZone || this.owner.Dist(this.target) > 3);
44 for (
int i = 0; i < 30; i = num + 1)
46 this.target.AddCondition<
ConWait>(30,
true);
47 yield
return base.DoGoto(this.target.pos, 1,
false,
null);
48 this.owner.LookAt(this.target);
49 this.target.LookAt(this.owner);
52 this.target.renderer.PlayAnime(AnimeID.Attack,
this.owner);
53 this.owner.renderer.PlayAnime(AnimeID.Shiver,
default(Vector3),
false);
56 this.target.Talk(
"goodBoy",
null,
null,
false);
61 this.target.Say(
"massage_end", this.target,
null,
null);
62 this.Finish(this.target, this.owner, 20);
67 public void Finish(
Chara cc,
Chara tc,
int stamina)
69 cc.Talk(
"ticket_finish",
null,
null,
false);
70 cc.ShowEmo(Emo.love, 0f,
false);
71 tc.ShowEmo(Emo.love, 0f,
false);
72 tc.PlaySound(
"heal", 1f,
true);
73 tc.PlayEffect(
"heal_stamina",
true, 0f,
default(Vector3));
74 tc.stamina.Mod(tc.stamina.max * stamina / 100);
75 tc.Say(
"feelgood", tc,
null,
null);
79 public override AIAct.Status Cancel()
81 Debug.Log(
"Canceled massage");