Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
Zone_CursedManor.cs
Go to the documentation of this file.
2{
3 public override bool LockExit => !EClass.game.quests.IsStarted<QuestCursedManor>();
4
5 public override FlockController.SpawnType FlockType => FlockController.SpawnType.Bat;
6
8
9 public override string GetNewZoneID(int level)
10 {
11 if (level <= -2)
12 {
13 return "cursed_manor_dungeon";
14 }
15 return base.GetNewZoneID(level);
16 }
17
18 public override void OnGenerateMap()
19 {
20 base.OnGenerateMap();
21 foreach (Chara chara in EClass._map.charas)
22 {
23 if (!chara.IsPCParty && chara.IsMinion && chara.id == "sister_undead")
24 {
25 chara.AddCondition<ConSuspend>(100, force: true);
26 }
27 }
28 }
29}
string id
Definition: Card.cs:31
Definition: Chara.cs:10
Condition AddCondition(string id, int p=100, bool force=false)
Definition: Chara.cs:8415
override bool IsPCParty
Definition: Chara.cs:600
override bool IsMinion
Definition: Chara.cs:612
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
static Map _map
Definition: EClass.cs:18
QuestManager quests
Definition: Game.cs:179
List< Chara > charas
Definition: Map.cs:81
override void OnGenerateMap()
override string GetNewZoneID(int level)
override FlockController.SpawnType FlockType
override bool LockExit
override ZoneTransition.EnterState RegionEnterState