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

zhangqiang 2020-12-05 15:16:54 +08:00
parent 8388b950ff
commit 4dc5059bed
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
-- 添加一个被动技能