Elin Decompiled Documentation EA 23.356.1 Nightly
Loading...
Searching...
No Matches
TraitBlackNote.cs
Go to the documentation of this file.
2{
3 public override Type BookType => Type.BlackNote;
4
5 public override bool CanStack => true;
6
7 public override bool HasCharges => false;
8
9 public override int eleParent => 74;
10
11 public override int Difficulty => 10000;
12
13 public override int GetActDuration(Chara c)
14 {
15 if (!EClass.debug.enable)
16 {
17 return 100;
18 }
19 return 1;
20 }
21
22 public override bool CanStackTo(Thing to)
23 {
24 if (to.isOn != owner.isOn)
25 {
26 return false;
27 }
29 {
30 return false;
31 }
32 return base.CanStackTo(to);
33 }
34}
bool isOn
Definition: Card.cs:545
string c_idRefName
Definition: Card.cs:1681
Definition: Chara.cs:10
bool enable
Definition: CoreDebug.cs:302
Definition: EClass.cs:6
static CoreDebug debug
Definition: EClass.cs:49
Definition: Thing.cs:8
override bool CanStackTo(Thing to)
override bool CanStack
override Type BookType
override int GetActDuration(Chara c)
override int eleParent
override int Difficulty
override bool HasCharges
Card owner
Definition: Trait.cs:28