Commit 4ca38617 authored by VanillaSalt's avatar VanillaSalt

fix

parent f6637d20
......@@ -166,7 +166,7 @@ function c29432356.penop1(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end
local tg=nil
if og then
tg=og:Filter(tp,c29432356.penfilter,nil,e,tp,lscale,rscale)
tg=og:Filter(c29432356.penfilter,nil,e,tp,lscale,rscale)
else
tg=Duel.GetMatchingGroup(c29432356.penfilter,tp,LOCATION_HAND+LOCATION_EXTRA,0,nil,e,tp,lscale,rscale)
end
......@@ -224,7 +224,7 @@ function c29432356.penop2(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end
local tg=nil
if og then
tg=og:Filter(tp,c29432356.penfilter,nil,e,tp,lscale,rscale)
tg=og:Filter(c29432356.penfilter,nil,e,tp,lscale,rscale)
else
tg=Duel.GetMatchingGroup(c29432356.penfilter,tp,LOCATION_EXTRA,0,nil,e,tp,lscale,rscale)
end
......
......@@ -20,7 +20,7 @@ function c62645025.initial_effect(c)
e2:SetCost(c62645025.drcost)
e2:SetTarget(c62645025.drtg)
e2:SetOperation(c62645025.drop)
c:RegisterEffect(e1)
c:RegisterEffect(e2)
end
function c62645025.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttacker():IsControler(1-tp)
......
......@@ -9,7 +9,7 @@ function c69452756.initial_effect(c)
c:RegisterEffect(e1)
--destroy
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(36970611,0))
e2:SetDescription(aux.Stringid(69452756,0))
e2:SetCategory(CATEGORY_DESTROY)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetType(EFFECT_TYPE_QUICK_O)
......
......@@ -24,7 +24,7 @@ end
function c7161742.filter(c,e,tp)
return c:IsLevelBelow(4) and c:IsSetCard(0x10f3) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c7161742.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
function c7161742.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c7161742.filter(chkc,e,tp) end
if chk==0 then return not Duel.IsPlayerAffectedByEffect(tp,59822133)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>1
......
......@@ -106,7 +106,7 @@ function c76647978.spop(e,tp,eg,ep,ev,re,r,rp)
if not tc:IsRelateToEffect(e) then return end
local mg=tc:GetMaterial()
if mg:GetCount()>0 and mg:GetCount()<=Duel.GetLocationCount(tp,LOCATION_MZONE)
and mg:IsExists(c76647978.mgfilter,1,nil,e,tp,tc) and not Duel.IsPlayerAffectedByEffect(tp,59822133) then
and mg:IsExists(c76647978.mgfilter,1,nil,e,tp,tc,mg) and not Duel.IsPlayerAffectedByEffect(tp,59822133) then
local sc=mg:GetFirst()
while sc do
if Duel.SpecialSummonStep(sc,0,tp,tp,false,false,POS_FACEUP) then
......
......@@ -2,7 +2,7 @@
function c94982447.initial_effect(c)
--summon with 1 tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22499034,0))
e1:SetDescription(aux.Stringid(94982447,0))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SUMMON_PROC)
......
......@@ -67,7 +67,7 @@ function c97795930.cfilter(c)
return c:IsFaceup() and c:IsCode(22702055)
end
function c97795930.handcon(e)
return Duel.IsExistingMatchingCard(c97795930.filter,e:GetHandlerPlayer(),LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil)
return Duel.IsExistingMatchingCard(c97795930.cfilter,e:GetHandlerPlayer(),LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil)
or Duel.IsEnvironment(22702055)
end
function c97795930.repfilter(c,tp)
......
......@@ -1587,7 +1587,7 @@ function Auxiliary.PendOperation()
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end
local tg=nil
if og then
tg=og:Filter(tp,Auxiliary.PConditionFilter,nil,e,tp,lscale,rscale)
tg=og:Filter(Auxiliary.PConditionFilter,nil,e,tp,lscale,rscale)
else
tg=Duel.GetMatchingGroup(Auxiliary.PConditionFilter,tp,LOCATION_HAND+LOCATION_EXTRA,0,nil,e,tp,lscale,rscale)
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