avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-game-battle-engine
/
io.github.lishangbu.avalon.game.battle.engine.core.dsl.action
/
DamageActionNode
Damage
Action
Node
data
class
DamageActionNode
(
val
target
:
TargetSelectorId
,
val
mode
:
String
?
=
null
,
val
value
:
Double
)
:
ActionNode
伤害动作。
Members
Constructors
Damage
Action
Node
Link copied to clipboard
constructor
(
target
:
TargetSelectorId
,
mode
:
String
?
=
null
,
value
:
Double
)
Properties
mode
Link copied to clipboard
val
mode
:
String
?
伤害模式,例如固定值或按最大生命比例。
target
Link copied to clipboard
val
target
:
TargetSelectorId
伤害目标选择器。
type
Link copied to clipboard
open
override
val
type
:
ActionTypeId
动作节点类型标识。
value
Link copied to clipboard
val
value
:
Double
伤害值。