Commit cb2ca6c8 authored by Tachibana's avatar Tachibana

得得得得得

parent bf027833
...@@ -79,7 +79,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -79,7 +79,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if tc then if tc then
if tc:IsType(TYPE_MONSTER) then if tc:IsType(TYPE_MONSTER) then
if Duel.GetLocationCount(tp,LOCATION_SZONE)>0 if Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and (not tc:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN_DEFENSE) or Duel.SelectOption(tp,1153,aux.Stringid(m,0))==1) then and (not (tc:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN_DEFENSE) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0) or Duel.SelectOption(tp,1153,aux.Stringid(m,0))==1) then
if Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEDOWN,true)~=0 then if Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEDOWN,true)~=0 then
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -117,7 +117,7 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -117,7 +117,7 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
if tc then if tc then
if tc:IsType(TYPE_MONSTER) then if tc:IsType(TYPE_MONSTER) then
if Duel.GetLocationCount(tp,LOCATION_SZONE)>0 if Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and (not tc:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN_DEFENSE) or Duel.SelectOption(tp,1153,aux.Stringid(m,0))==1) then and (not (tc:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN_DEFENSE) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0) or Duel.SelectOption(tp,1153,aux.Stringid(m,0))==1) then
if Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEDOWN,true)~=0 then if Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and Duel.MoveToField(tc,tp,tp,LOCATION_SZONE,POS_FACEDOWN,true)~=0 then
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
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