【战斗 】 给英雄附加战斗单位类型

dev_chengFeng
zhangqiang 2020-12-05 15:16:54 +08:00 committed by wangzhenxing
parent 7da566dc76
commit 62fcc1fa19
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,6 @@ end
function RoleLogic:Init(uid, data, position)
data.star = data.star or 1
self.type = BattleUnitType.Role
self.uid = uid
self.position = position
self.roleData = data
@ -101,6 +100,8 @@ function RoleLogic:Init(uid, data, position)
self.reliveHPF = 1
self.IsCanAddSkill = true -- 是否可以追加技能
self.type = BattleUnitType.Role
end
-- 添加一个被动技能