Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ConHallucination.cs
Go to the documentation of this file.
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}
bool _IsPC
Definition: Card.cs:2021
Definition: Chara.cs:10
override void OnRemoved()
override void SetOwner(Chara _owner, bool onDeserialize=false)
Definition: EClass.cs:5
static int rnd(int a)
Definition: EClass.cs:50