Commit e26fe7f8 authored by Tachibana's avatar Tachibana

eme

parent ec0fba57
...@@ -61,7 +61,7 @@ function c47551107.tfilter2(c,e,tp) ...@@ -61,7 +61,7 @@ function c47551107.tfilter2(c,e,tp)
end end
function c47551107.sptg2(e,tp,eg,ep,ev,re,r,rp,chk) function c47551107.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(c47551107.tfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) or Duel.IsExistingMatchingCard(c47551107.tfilter2,tp,LOCATION_EXTRA,0,1,nil,e,tp) or Duel.IsPlayerCanDraw(tp,2) end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
end end
function c47551107.spop(e,tp,eg,ep,ev,re,r,rp) function c47551107.spop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -18,7 +18,7 @@ function cm.initial_effect(c) ...@@ -18,7 +18,7 @@ function cm.initial_effect(c)
end end
cm.toss_dice=true cm.toss_dice=true
function cm.eftg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.eftg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp) and Duel.IsPlayerCanDraw(1-tp) end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
end end
function cm.efop(e,tp,eg,ep,ev,re,r,rp) function cm.efop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -18,7 +18,7 @@ function cm.initial_effect(c) ...@@ -18,7 +18,7 @@ function cm.initial_effect(c)
end end
cm.toss_dice=true cm.toss_dice=true
function cm.eftg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.eftg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD,LOCATION_ONFIELD)>0 end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
end end
function cm.efop(e,tp,eg,ep,ev,re,r,rp) function cm.efop(e,tp,eg,ep,ev,re,r,rp)
......
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