修改skillcaste
parent
8476f67c95
commit
d7c12e434a
|
@ -78,7 +78,7 @@ function SkillCaster:OnSkillCast(skill)
|
|||
-- elseif self.owner.SkillAttackDisplaceoffset then
|
||||
-- displaceoffset=self.owner.SkillAttackDisplaceoffset
|
||||
-- end
|
||||
if skill.AttackDisplaceOffset then
|
||||
if skill.AttackDisplaceOffset and type(skill.AttackDisplaceOffset[1])~="userdata" then
|
||||
displaceoffset=skill.AttackDisplaceOffset
|
||||
end
|
||||
self.owner.GameObject:SetActive(false)
|
||||
|
@ -364,7 +364,8 @@ local MoveMentPosition = {
|
|||
Enemy_COL_2 = Vector3.New(2.7,-1.5, 0),--第二行
|
||||
Enemy_COL_3 = Vector3.New(2.7,-1.8, 0),--第三行
|
||||
}
|
||||
function SkillCaster:GetEffectSPostion(skill)
|
||||
|
||||
function SkillCaster:GetEffectPostion(skill)
|
||||
local chooseId = skill:GetDirectChooseId()
|
||||
local chooseLimit = math.floor(chooseId / 10000) % 10
|
||||
|
||||
|
|
Loading…
Reference in New Issue