Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitAncientbook.cs
Go to the documentation of this file.
2{
3 public override int Difficulty => 10 + owner.refVal * 15;
4
5 public override Type BookType => Type.Ancient;
6
7 public override bool CanStack => owner.isOn;
8
9 public override bool HasCharges => !owner.isOn;
10
11 public override int eleParent => 74;
12
13 public override bool CanStackTo(Thing to)
14 {
15 if (owner.isOn)
16 {
17 return to.isOn;
18 }
19 return false;
20 }
21}
bool isOn
Definition: Card.cs:514
Definition: Thing.cs:8
override bool CanStack
override bool HasCharges
override int eleParent
override int Difficulty
override bool CanStackTo(Thing to)
override Type BookType
Card owner
Definition: Trait.cs:26