修改代码

onepiece_demo_arena
xiejun 2023-08-30 21:33:02 +08:00
parent f42141a40e
commit e50aa15b47
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ function SkillCaster:OnSkillCast(skill)
if skill.isAdd then
self.owner.Floater:ImageBuffFloating("z_zhandou_zhuiji_zh")
end
if self.owner.RoleLiveGO==nil then
LogError("当前角色没有spine动画")
return
end
local startPos=self.owner.RoleLiveGO.transform.position
-- 高亮
BattleManager.PauseBattle()