Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
Zone_CursedManorDungeon.cs
Go to the documentation of this file.
2{
3 public const int LvBoss = -6;
4
5 public bool IsBossLv => base.lv == -6;
6
7 public override bool LockExit => base.lv < -6;
8
9 public override string idExport
10 {
11 get
12 {
13 if (base.lv != -6)
14 {
15 return base.idExport;
16 }
17 return "cursed_manor_boss";
18 }
19 }
20
21 public override void OnGenerateMap()
22 {
23 if (IsBossLv)
24 {
25 foreach (Thing thing in EClass._map.things)
26 {
27 if (thing.id == "money2")
28 {
29 thing.SetNum(20);
30 }
31 if (thing.id == "rod_wish")
32 {
33 thing.SetCharge(1);
34 }
35 }
36 }
37 base.OnGenerateMap();
38 }
39
40 public override string GetDungenID()
41 {
42 return "Dungeon";
43 }
44}
string id
Definition: Card.cs:31
void SetCharge(int a)
Definition: Card.cs:3621
Thing SetNum(int a)
Definition: Card.cs:3242
Definition: EClass.cs:5
static Map _map
Definition: EClass.cs:18
List< Thing > things
Definition: Map.cs:49
Definition: Thing.cs:8