Game_ActionResult
Game_ActionResult
Kind: global class
- Game_ActionResult
- new Game_ActionResult()
- .initialize()
- .clear()
- .addedStateObjects() ⇒
Array
- .removedStateObjects() ⇒
Array
- .isStatusAffected() ⇒
Boolean
- .isHit() ⇒
Boolean
- .isStateAdded(stateId) ⇒
Boolean
- .pushAddedState(stateId)
- .isStateRemoved(stateId) ⇒
Boolean
- .pushRemovedState(stateId)
- .isBuffAdded(paramId) ⇒
Boolean
- .pushAddedBuff(paramId)
- .isDebuffAdded(paramId) ⇒
Boolean
- .pushAddedDebuff(paramId)
- .isBuffRemoved(paramId) ⇒
Boolean
- .pushRemovedBuff(paramId)
new Game_ActionResult()
行动结果类
Game action result class
Game_ActionResult.initialize()
初始化行动结果
Initialize action result
Kind: static method of Game_ActionResult
Game_ActionResult.clear()
清除结果数据
Clear result data
Kind: static method of Game_ActionResult
Game_ActionResult.addedStateObjects() ⇒ Array
获取附加状态对象列表
Get added state objects
Kind: static method of Game_ActionResult
Returns: Array
- 附加状态对象数组 - Added state objects array
Game_ActionResult.removedStateObjects() ⇒ Array
获取移除状态对象列表
Get removed state objects
Kind: static method of Game_ActionResult
Returns: Array
- 移除状态对象数组 - Removed state objects array
Game_ActionResult.isStatusAffected() ⇒ Boolean
是否有受影响的状态
Check if status is affected
Kind: static method of Game_ActionResult
Returns: Boolean
- 是否有状态影响 - Whether status is affected
Game_ActionResult.isHit() ⇒ Boolean
是否命中
Check if hit
Kind: static method of Game_ActionResult
Returns: Boolean
- 是否命中 - Whether hit
Game_ActionResult.isStateAdded(stateId) ⇒ Boolean
检查状态是否被附加
Check if state is added
Kind: static method of Game_ActionResult
Returns: Boolean
- 是否附加该状态 - Whether the state is added
Param | Type | Description |
---|---|---|
stateId | Number | 状态 ID - State ID |
Game_ActionResult.pushAddedState(stateId)
添加附加状态
Push added state
Kind: static method of Game_ActionResult
Param | Type | Description |
---|---|---|
stateId | Number | 状态 ID - State ID |
Game_ActionResult.isStateRemoved(stateId) ⇒ Boolean
检查状态是否被解除
Check if state is removed
Kind: static method of Game_ActionResult
Returns: Boolean
- 是否解除该状态 - Whether the state is removed
Param | Type | Description |
---|---|---|
stateId | Number | 状态 ID - State ID |
Game_ActionResult.pushRemovedState(stateId)
添加解除状态
Push removed state
Kind: static method of Game_ActionResult
Param | Type | Description |
---|---|---|
stateId | Number | 状态 ID - State ID |
Game_ActionResult.isBuffAdded(paramId) ⇒ Boolean
检查强化是否被附加
Check if buff is added
Kind: static method of Game_ActionResult
Returns: Boolean
- 是否附加该强化 - Whether the buff is added
Param | Type | Description |
---|---|---|
paramId | Number | 参数 ID - Parameter ID |
Game_ActionResult.pushAddedBuff(paramId)
添加附加强化
Push added buff
Kind: static method of Game_ActionResult
Param | Type | Description |
---|---|---|
paramId | Number | 参数 ID - Parameter ID |
Game_ActionResult.isDebuffAdded(paramId) ⇒ Boolean
检查弱化是否被附加
Check if debuff is added
Kind: static method of Game_ActionResult
Returns: Boolean
- 是否附加该弱化 - Whether the debuff is added
Param | Type | Description |
---|---|---|
paramId | Number | 参数 ID - Parameter ID |
Game_ActionResult.pushAddedDebuff(paramId)
添加附加弱化
Push added debuff
Kind: static method of Game_ActionResult
Param | Type | Description |
---|---|---|
paramId | Number | 参数 ID - Parameter ID |
Game_ActionResult.isBuffRemoved(paramId) ⇒ Boolean
检查强化是否被解除
Check if buff is removed
Kind: static method of Game_ActionResult
Returns: Boolean
- 是否解除该强化 - Whether the buff is removed
Param | Type | Description |
---|---|---|
paramId | Number | 参数 ID - Parameter ID |
Game_ActionResult.pushRemovedBuff(paramId)
添加解除强化
Push removed buff
Kind: static method of Game_ActionResult
Param | Type | Description |
---|---|---|
paramId | Number | 参数 ID - Parameter ID |