go_dreamfactory/modules/battle/fight/component/fightroledata.go
2022-09-13 17:59:40 +08:00

80 lines
1.4 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package component
import "go_dreamfactory/modules/battle/fight/attribute"
type FightRoleData struct {
/// <summary>
/// 阵营 1=我 2=敌
/// </summary>
Side byte
/// <summary>
/// 唯一标记同时也是List FightBase.Roles的索引
/// </summary>
Rid byte
//region 战斗属性
/// <summary>
/// 行动值
/// </summary>
Operate *attribute.AttributeNumeric
/// <summary>
/// 最大生命
/// </summary>
MaxHp *attribute.AttributeNumeric
/// <summary>
/// 当前生命
/// </summary>
Hp *attribute.AttributeNumeric
/// <summary>
/// 攻击
/// </summary>
Atk *attribute.AttributeNumeric
/// <summary>
/// 防御
/// </summary>
Def *attribute.AttributeNumeric
/// <summary>
/// 速度
/// </summary>
Speed *attribute.AttributeNumeric
/// <summary>
/// 暴击率
/// </summary>
Critical *attribute.AttributeNumeric
/// <summary>
/// 暴击伤害
/// </summary>
CriticalPower *attribute.AttributeNumeric
/// <summary>
/// 效果命中
/// </summary>
EffectHit *attribute.AttributeNumeric
/// <summary>
/// 效果抵抗
/// </summary>
EfectResist *attribute.AttributeNumeric
/// <summary>
/// 失手率
/// </summary>
LostHold *attribute.AttributeNumeric
/// <summary>
/// 会心率
/// </summary>
UnderStand *attribute.AttributeNumeric
/// <summary>
/// 最后一次skillAtk技能选择的目标
/// </summary>
LastChooseTarget []byte
}