Commit 4485b797 authored by VanillaSalt's avatar VanillaSalt

fix

parent d1d02e71
......@@ -19,7 +19,7 @@ end
function c16909657.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local tc=e:GetHandler():GetBattleTarget()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and tc:IsCanBeSpecialSummoned(e,0,tp,false,false) end
and tc:IsLocation(LOCATION_GRAVE) and tc:IsCanBeSpecialSummoned(e,0,tp,false,false) end
tc:CreateEffectRelation(e)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,tc,1,0,LOCATION_GRAVE)
end
......
......@@ -37,10 +37,10 @@ function c48179391.initial_effect(c)
c:RegisterEffect(e4)
--atk limit
local e5=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetRange(LOCATION_FZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e5:SetType(EFFECT_TYPE_FIELD)
e5:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e5:SetRange(LOCATION_FZONE)
e5:SetTargetRange(0,LOCATION_MZONE)
e5:SetCondition(c48179391.atkcon)
e5:SetValue(c48179391.atlimit)
c:RegisterEffect(e5)
......
......@@ -33,10 +33,10 @@ function c63730624.initial_effect(c)
c:RegisterEffect(e4)
--atk
local e5=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetRange(LOCATION_SZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e5:SetType(EFFECT_TYPE_FIELD)
e5:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e5:SetRange(LOCATION_SZONE)
e5:SetTargetRange(0,LOCATION_MZONE)
e5:SetCondition(c63730624.ocon1)
e5:SetValue(c63730624.atlimit)
c:RegisterEffect(e5)
......
......@@ -70,7 +70,7 @@ end
function c81471108.eqlimit(e,c)
return c==e:GetLabelObject()
end
function c81471108.tgcon(e,tp,eg,ep,ev,re,r,rp)
function c81471108.tgcon(e)
return e:GetHandler():GetEquipTarget()~=nil
end
function c81471108.tglimit(e,re,c)
......
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