Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ConEntangle.cs
Go to the documentation of this file.
2{
3 public override int GetPhase()
4 {
5 return 0;
6 }
7
8 public override bool TryMove(Point p)
9 {
10 return false;
11 }
12
13 public override void Tick()
14 {
15 if (EClass.rnd(10) == 0 && owner.IsHumanSpeak)
16 {
17 owner.Talk((EClass.rnd(3) == 0) ? "scold" : ((EClass.rnd(3) == 0) ? "pervert" : ((EClass.rnd(3) == 0) ? "labor" : "restrained")));
18 }
19 base.Tick();
20 }
21}
void Talk(string idTopic, string ref1=null, string ref2=null, bool forceSync=false)
Definition: Card.cs:5949
bool IsHumanSpeak
Definition: Chara.cs:838
override bool TryMove(Point p)
Definition: ConEntangle.cs:8
override int GetPhase()
Definition: ConEntangle.cs:3
override void Tick()
Definition: ConEntangle.cs:13
Definition: EClass.cs:5
static int rnd(int a)
Definition: EClass.cs:50
Definition: Point.cs:9