Skip to content

被减速后虽然能打到但还是依然会变身 #22

@evan-xie

Description

@evan-xie
function wc.needUnroot()
	--打得着并且不是瓦斯琪纠缠
	if IsSpellInRange('爪击', 'target') == 1 and not wc.getDebuff(38316) then
		return false
	--定身或者减速了
	elseif wc.rooted then return true
	elseif select(2, GetUnitSpeed('player')) < 7 and not IsStealthed() then return true
	else return false end
end

--修改后
function wc.needUnroot()
	--打得着并且不是瓦斯琪纠缠
	local SpellName = GetSpellInfo(27000)
	if IsSpellInRange(SpellName, 'target') == 1 and not wc.getDebuff(38316) then
		return false
	--定身或者减速了
	elseif wc.rooted then return true
	elseif select(2, GetUnitSpeed('player')) < 7 and not IsStealthed() then return true
	else return false end
end

--m我手动设置的蓝量
#showtooltip [stealth]突襲;割碎(獵豹形態)
/script dps(40,m)
/use 能量轉換器
/use [nostealth]13
/use [nostealth]14
/cast [stealth]突襲;[form:3]割碎(獵豹形態);!獵豹形態(變身)
/script wcEnd()
/startattack [nostealth]

大佬发现个小的问题,最近在奎岛和竞技场玩的时候,发现打有冰甲的目标或者站在猎人的冰霜陷阱上时,还是会不停的变身。
能打到还是会依然变身,然后翻了下发现技能名称是简中的^_^,但是因为我在台服,所以判定失败了,修改改成技能id就好了,望更新。
PS:但因为ID是满级6级的爪击不晓得低级使用会不会有异常,没有进行测试。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions