Commit ab51f879 authored by tsubaki's avatar tsubaki

fix2

parent 4c1514a7
Pipeline #40230 passed with stage
in 13 seconds
...@@ -64,8 +64,7 @@ function c24068.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -64,8 +64,7 @@ function c24068.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
end end
function c24068.spop(e,tp,eg,ep,ev,re,r,rp) function c24068.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)>1 and e:GetHandler():IsRelateToEffect(e) if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,24063,0,0x208,200,0,1,RACE_INSECT,ATTRIBUTE_DARK) then
and Duel.IsPlayerCanSpecialSummonMonster(tp,24063,0,0x208,200,0,1,RACE_INSECT,ATTRIBUTE_DARK) then
Duel.ConfirmCards(1-tp,eg) Duel.ConfirmCards(1-tp,eg)
local token=Duel.CreateToken(tp,24063) local token=Duel.CreateToken(tp,24063)
Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP)
......
...@@ -79,9 +79,8 @@ function c34053.actg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -79,9 +79,8 @@ function c34053.actg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end end
function c34053.acop(e,tp,eg,ep,ev,re,r,rp) function c34053.acop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local te=e:GetLabelObject() local te=e:GetLabelObject()
if c:IsRelateToEffect(e) and te then if te then
e:SetLabelObject(te:GetLabelObject()) e:SetLabelObject(te:GetLabelObject())
local op=te:GetOperation() local op=te:GetOperation()
if op then op(e,tp,eg,ep,ev,re,r,rp) end if op then op(e,tp,eg,ep,ev,re,r,rp) 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