go_dreamfactory/modules/battle/fight/component/fightroledata.go
2022-09-08 10:39:55 +08:00

106 lines
2.0 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>
/// 角色名
/// </summary>
Name string
/// <summary>
/// 阵营 1=我 2=敌
/// </summary>
Side byte
/// <summary>
/// 种族 1灼热, 2涌动, 3呼啸, 4闪耀
/// </summary>
Race byte
/// <summary>
/// 站位 1~5
/// </summary>
Pos byte
/// <summary>
/// 唯一标记同时也是List FightBase.Roles的索引
/// </summary>
Rid byte
/// <summary>
/// 是否活着
/// </summary>
ALive bool
/// <summary>
/// 是否队长
/// </summary>
Captain bool
/// <summary>
/// 队长技 id
/// </summary>
CaptainSkillId int
/// <summary>
/// 英雄ID
/// </summary>
HeroID string
//战斗属性---------------------------------------------------------------------------------------------------------------------------
/// <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
}