(client) feat:添加消息定义,添加故事定义及其运算,武器动画可用,装备UI可用以及切换武器 fix:修复快速攻击导致协程释放出错卡死,重构为计时器,修复类型转换错误导致报错
This commit is contained in:
@ -12,6 +12,7 @@ namespace Data
|
||||
public BulletDef bullet;
|
||||
public string[] attackAnimation;
|
||||
public float attackDetectionTime = 0;
|
||||
public bool useEntityAttackAnimation = true;
|
||||
public WeaponDef() // 构造函数,用于设置武器的默认属性
|
||||
{
|
||||
maxStack = 1; // 武器默认最大堆叠为1
|
||||
|
Reference in New Issue
Block a user