FireballSkills

class FireballSkills(val code: String, val name: String, val description: String, val skillsType: SkillsType, val target: TargetType, val cooldown: Int, calculate: (atk: Long) -> Int = { atk -> (atk * 1.5f).roundToInt() }) : Skills

Constructors

Link copied to clipboard
constructor(code: String, name: String, description: String, skillsType: SkillsType, target: TargetType, cooldown: Int, calculate: (atk: Long) -> Int = { atk -> (atk * 1.5f).roundToInt() })

Properties

Link copied to clipboard

技能code

Link copied to clipboard
val cooldown: Int = 0

冷却回合

Link copied to clipboard

技能描述

Link copied to clipboard

技能名称

Link copied to clipboard

技能类型

Link copied to clipboard
open override val smallComposition: String

小作文描述

Link copied to clipboard

目标类型

Functions

Link copied to clipboard
open override fun getEffectCodes(): List<String>

效果codes

Link copied to clipboard
open override fun getImpactConfigs(): List<ImpactConfig>

自定义伤害配置

Link copied to clipboard
fun use(self: GameEntity, target: List<GameEntity>, process: Process)

使用技能 暂时忽略,还没想好设计