Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
ConHallucination.cs
Go to the documentation of this file.
1
public
class
ConHallucination
:
BadCondition
2
{
3
public
override
void
SetOwner
(
Chara
_owner,
bool
onDeserialize =
false
)
4
{
5
base.SetOwner(_owner);
6
if
(
owner
.
_IsPC
)
7
{
8
Player.seedHallucination =
EClass
.
rnd
(10000) + 1;
9
}
10
}
11
12
public
override
void
OnRemoved
()
13
{
14
if
(
owner
.
_IsPC
)
15
{
16
Player.seedHallucination = 0;
17
}
18
}
19
}
BadCondition
Definition:
BadCondition.cs:2
BaseCondition.owner
Chara owner
Definition:
BaseCondition.cs:15
Card._IsPC
bool _IsPC
Definition:
Card.cs:2021
Chara
Definition:
Chara.cs:10
ConHallucination
Definition:
ConHallucination.cs:2
ConHallucination.OnRemoved
override void OnRemoved()
Definition:
ConHallucination.cs:12
ConHallucination.SetOwner
override void SetOwner(Chara _owner, bool onDeserialize=false)
Definition:
ConHallucination.cs:3
EClass
Definition:
EClass.cs:5
EClass.rnd
static int rnd(int a)
Definition:
EClass.cs:50
Elin
ConHallucination.cs
Generated by
1.9.6