Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
ConWet.cs
Go to the documentation of this file.
1
public
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
}
21
if
((!
owner
.
Cell
.
IsTopWaterAndNoSnow
&& !
owner
.
Cell
.
HasLiquid
) ||
owner
.
IsLevitating
)
22
{
23
Mod
(-1);
24
}
25
}
26
}
BaseCondition.Mod
void Mod(int a, bool force=false)
Definition:
BaseCondition.cs:371
BaseCondition.owner
Chara owner
Definition:
BaseCondition.cs:15
Card.Cell
Cell Cell
Definition:
Card.cs:1931
Cell.IsTopWaterAndNoSnow
bool IsTopWaterAndNoSnow
Definition:
Cell.cs:712
Cell.HasLiquid
bool HasLiquid
Definition:
Cell.cs:673
Chara.IsLevitating
bool IsLevitating
Definition:
Chara.cs:582
ConWet
Definition:
ConWet.cs:2
ConWet.ShouldRefresh
override bool ShouldRefresh
Definition:
ConWet.cs:3
ConWet.OnRefresh
override void OnRefresh()
Definition:
ConWet.cs:10
ConWet.GetPhase
override int GetPhase()
Definition:
ConWet.cs:5
ConWet.Tick
override void Tick()
Definition:
ConWet.cs:15
Condition
Definition:
Condition.cs:4
Elin
ConWet.cs
Generated by
1.9.6