Commit 76682cfa authored by nanahira's avatar nanahira

use quick effect instead

parent d9abeb06
......@@ -29,10 +29,15 @@ end
local function fieldEffect(r)
local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE,EFFECT_FLAG2_CONTINUOUS_OPPOTURN)
e1:SetRange(r)
e1:SetTarget(function(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCurrentChain()==0 end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
Duel.SetChainLimit(aux.FALSE)
end)
return e1
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