Commit df3a4aca authored by fallenstardust's avatar fallenstardust

fix 24PR-JP002 script

parent 1c40b055
--A★臆测者 --A★スペキュレーション
--Lua by Gim J.Blocks --Lua by Gim J.Blocks
function c100213002.initial_effect(c) function c100213002.initial_effect(c)
c:SetSPSummonOnce(100213002) c:SetSPSummonOnce(100213002)
...@@ -22,7 +22,7 @@ function c100213002.initial_effect(c) ...@@ -22,7 +22,7 @@ function c100213002.initial_effect(c)
e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e2:SetCondition(c100213002.indcon) e2:SetCondition(c100213002.indcon)
e2:SetValue(1) e2:SetValue(1)
c:RegisterEffect(e1) c:RegisterEffect(e2)
local e3=e2:Clone() local e3=e2:Clone()
e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
c:RegisterEffect(e3) c:RegisterEffect(e3)
...@@ -46,7 +46,7 @@ function c100213002.atkcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c100213002.atkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsAttackPos() return e:GetHandler():IsAttackPos()
end end
function c100213002.val(e,c) function c100213002.val(e,c)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,e:GetOwnerPlayer(),0,LOCATION_MZONE,nil)
if g:GetCount()==0 then if g:GetCount()==0 then
return 0 return 0
else else
......
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