Elin Decompiled Documentation EA 23.187 Stable
Loading...
Searching...
No Matches
Zone_QuestDungeon.cs
Go to the documentation of this file.
1using UnityEngine;
2
4{
6
7 public override ZoneScaleType ScaleType => ZoneScaleType.Quest;
8
9 public override int DangerLvBoost
10 {
11 get
12 {
13 if (!ShouldScale)
14 {
15 return 0;
16 }
17 return Mathf.Max(0, EClass.pc.FameLv * 2 / 3 - DangerLv);
18 }
19 }
20
21 public override bool ShouldScaleImportedChara(Chara c)
22 {
23 if (ShouldScale && c.rarity >= Rarity.Legendary)
24 {
25 return c.IsHostile();
26 }
27 return false;
28 }
29}
Rarity
Definition: Rarity.cs:2
ZoneScaleType
Definition: ZoneScaleType.cs:2
int FameLv
Definition: Card.cs:2260
Rarity rarity
Definition: Card.cs:300
Definition: Chara.cs:10
bool IsHostile()
Definition: Chara.cs:6227
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
static Chara pc
Definition: EClass.cs:14
GamePrincipal principal
Definition: Game.cs:221
override int DangerLvBoost
override bool ShouldScaleImportedChara(Chara c)
override ZoneScaleType ScaleType
override int DangerLv
Definition: Zone.cs:107