Commit 85f61e97 authored by jwyxym's avatar jwyxym Committed by GitHub

Add files via upload

parent 9bac15cd
......@@ -888,6 +888,7 @@ AttackAtRearFlag =VgID+6 --后列攻击
AFFECT_CODE_MIX =VgID --魔合成
AFFECT_CODE_MIX_DIFFERENT_NAME =VgID+1 --魔合成(卡名不同)
AFFECT_CODE_SENDTOG =VgID+2 --需要两张卡才能防御
AFFECT_CODE_SENDTOG_MZONE =VgID+3 --不能截击
--自定时点
EVENT_TRIGGER =VgID --判定时点
EVENT_CRITICAL_STRIKE =VgID+1 --暴击值结算时点
......
......@@ -298,8 +298,9 @@ function VgF.StarUp(c,g,val,reset)
tc:RegisterEffect(e2)
end
function VgF.IsAbleToGZone(c)
local tp=c:GetControler()
if c:IsLocation(LOCATION_MZONE) then
return c:IsAttribute(SKILL_BLOCK) and VgF.IsSequence(c,0,4)
return c:IsAttribute(SKILL_BLOCK) and VgF.IsSequence(c,0,4) and not Duel.IsPlayerAffectedByEffect(tp,AFFECT_CODE_SENDTOG_MZONE)
end
return c:IsLocation(LOCATION_HAND)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment