Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitLoytelMart.cs
Go to the documentation of this file.
2{
4
5 public override int ShopLv => LV * 10 + ((LV <= 0) ? 1 : 10);
6
7 public override bool IsHomeItem => true;
8
9 public override string IDInvStyle => "default";
10
11 public override bool CanBeOnlyBuiltInHome => true;
12
13 public override ShopType ShopType => ShopType.LoytelMart;
14
15 public override int CostRerollShop
16 {
17 get
18 {
19 if (!EClass.debug.enable)
20 {
21 return 0;
22 }
23 return 1;
24 }
25 }
26
27 public override bool CanUse(Chara c)
28 {
30 {
32 }
33 return false;
34 }
35
36 public override void SetName(ref string s)
37 {
38 if (LV > 0)
39 {
40 s = s + Lang.space + "+" + LV;
41 }
42 }
43}
ShopType
Definition: ShopType.cs:2
bool IsInstalled
Definition: Card.cs:2241
Definition: Chara.cs:10
bool enable
Definition: CoreDebug.cs:285
Definition: EClass.cs:5
static Zone _zone
Definition: EClass.cs:20
static Player player
Definition: EClass.cs:12
static CoreDebug debug
Definition: EClass.cs:48
int loytelMartLv
Definition: Player.cs:522
Flags flags
Definition: Player.cs:895
override int CostRerollShop
override string IDInvStyle
override bool IsHomeItem
override int ShopLv
override bool CanBeOnlyBuiltInHome
override bool CanUse(Chara c)
override void SetName(ref string s)
Card owner
Definition: Trait.cs:26
bool IsPCFaction
Definition: Zone.cs:464