Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ConWet.cs
Go to the documentation of this file.
1public class ConWet : Condition
2{
3 public override bool ShouldRefresh => true;
4
5 public override int GetPhase()
6 {
7 return 0;
8 }
9
10 public override void OnRefresh()
11 {
12 owner.isWet = true;
13 }
14
15 public override void Tick()
16 {
17 if (base.value > 100)
18 {
19 base.value = 100;
20 }
22 {
23 Mod(-1);
24 }
25 }
26}
void Mod(int a, bool force=false)
Cell Cell
Definition: Card.cs:1931
bool IsTopWaterAndNoSnow
Definition: Cell.cs:712
bool HasLiquid
Definition: Cell.cs:673
bool IsLevitating
Definition: Chara.cs:582
Definition: ConWet.cs:2
override bool ShouldRefresh
Definition: ConWet.cs:3
override void OnRefresh()
Definition: ConWet.cs:10
override int GetPhase()
Definition: ConWet.cs:5
override void Tick()
Definition: ConWet.cs:15