StartingZone

class StartingZone(val code: String, val name: String, val bossName: String, val bossDescription: String, val bossProperty: Map<Int, BaseProperty>, val skills: Map<Int, List<String>>, val dropLoot: Map<Int, List<LootHeap>>, val certainlyLoot: Map<Int, List<Loot>>) : Dungeon

起始区域类,表示游戏副本中的起始区域

Parameters

code

区域编码

name

区域名称

bossName

Boss名称

bossDescription

Boss描述信息

bossProperty

Boss属性映射,键为难度等级,值为基础属性

skills

技能映射,键为难度等级,值为技能列表

dropLoot

掉落战利品映射,键为难度等级,值为战利品堆列表

certainlyLoot

必然掉落战利品映射,键为难度等级,值为战利品列表

Constructors

Link copied to clipboard
constructor(code: String, name: String, bossName: String, bossDescription: String, bossProperty: Map<Int, BaseProperty>, skills: Map<Int, List<String>>, dropLoot: Map<Int, List<LootHeap>>, certainlyLoot: Map<Int, List<Loot>>)

Properties

Link copied to clipboard

boss描述

Link copied to clipboard

boss名称

Link copied to clipboard
open override val bossProperty: Map<Int, BaseProperty>
Link copied to clipboard
open override val certainlyLoot: Map<Int, List<Loot>>
Link copied to clipboard

副本code

Link copied to clipboard
open override val dropLoot: Map<Int, List<LootHeap>>
Link copied to clipboard

副本名称

Link copied to clipboard
open override val skills: Map<Int, List<String>>

Functions

Link copied to clipboard
fun Dungeon.toBoss(difficulty: Int): Boss

将地下城转换为对应难度的Boss对象