Commit fb7ddb3d authored by mercury233's avatar mercury233 Committed by GitHub

fix 先手必掌

parent 96ef6e6d
......@@ -32,14 +32,13 @@ end
function s.effop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if not tc:IsRelateToChain() then return end
local d=0
if e:GetLabel()==1 then
if not tc:IsRelateToChain() then return end
d=Duel.SelectOption(tp,aux.Stringid(id,1),aux.Stringid(id,2),aux.Stringid(id,3))+1
else
d=Duel.TossDice(tp,1)
end
if not tc:IsRelateToChain() then return end
if d==1 or d==4 then
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,4))
......
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