Elin Decompiled Documentation EA 23.199 Nightly
Loading...
Searching...
No Matches
Zone_UnderseaTemple.cs
Go to the documentation of this file.
2{
3 public const int LvBoss = -5;
4
5 public bool IsBossLv => base.lv == -5;
6
7 public override bool IsUnderwater => true;
8
9 public override bool LockExit => base.lv <= -4;
10
11 public override bool CanUnlockExit => EClass.game.quests.GetPhase<QuestNegotiationDarkness>() >= 2;
12
13 public override float RespawnRate => base.RespawnRate * 3f;
14
15 public override string idExport
16 {
17 get
18 {
19 if (base.lv != -5)
20 {
21 return base.idExport;
22 }
23 return "lurie_boss";
24 }
25 }
26
27 public override string GetDungenID()
28 {
29 if (EClass.rnd(2) == 0)
30 {
31 return "RoundRooms";
32 }
33 if (EClass.rnd(3) == 0)
34 {
35 return "CavernBig";
36 }
37 return "Cavern";
38 }
39
40 public override void OnGenerateMap()
41 {
42 if (!IsBossLv)
43 {
44 base.OnGenerateMap();
45 }
46 }
47}
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
static int rnd(long a)
Definition: EClass.cs:58
QuestManager quests
Definition: Game.cs:179
override bool IsUnderwater
override string idExport
override bool CanUnlockExit
override float RespawnRate
override void OnGenerateMap()
override string GetDungenID()