Commit 15845ba4 authored by TanakaKotoha's avatar TanakaKotoha

dededededededededededede

parent effd118e
...@@ -109,7 +109,7 @@ function cm.igop(e,tp,eg,ep,ev,re,r,rp) ...@@ -109,7 +109,7 @@ function cm.igop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmDecktop(tp,1) Duel.ConfirmDecktop(tp,1)
local g=Duel.GetDecktopGroup(tp,1) local g=Duel.GetDecktopGroup(tp,1)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc:IsType(TYPE_MONSTER) and c:Israce(RACE_FIEND) and tc:IsCanBeSpecialSummoned(e,0,tp,true,false) then if tc:IsType(TYPE_MONSTER) and tc:Israce(RACE_FIEND) and tc:IsCanBeSpecialSummoned(e,0,tp,true,false) then
Duel.SpecialSummon(tc,0,tp,tp,true,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,true,false,POS_FACEUP)
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_EFFECT) Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_EFFECT)
else else
......
...@@ -66,7 +66,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and c:IsPreviousPosition(POS_DEFENSE) return rp==1-tp and e:GetHandler():IsPreviousPosition(POS_DEFENSE)
end end
function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return Duel.IsPlayerCanDraw(tp,1) 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