Commit 6452794a authored by 聖園ミカ's avatar 聖園ミカ 🐟

man!

parent 6ce5453e
No preview for this file type
......@@ -39,7 +39,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst()
if Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=Duel.SelectMatchingCard(tp,Card.IsAbleToRemove,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,nil)
local sg=Duel.SelectMatchingCard(tp,Card.IsAbleToRemove,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,1,e:GetHandler())
if #sg>0 then
Duel.BreakEffect()
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
......
......@@ -50,6 +50,8 @@ function c82000455.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c82000455.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP)
Duel.SpecialSummonComplete()
end
......
......@@ -213,10 +213,14 @@ function c82000670.thop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e1:SetTargetRange(0,1)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetValue(aux.tgoval)
e1:SetTarget(c82000670.etlimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
end
end
function c82000670.etlimit(e,c)
return e:GetHandler():IsType(TYPE_MONSTER)
end
\ No newline at end of file
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