Commit 6c37c690 authored by Mr.Tan's avatar Mr.Tan Committed by wind2009

Fix 紋章獣スタット・ホエール

parent b400f2c9
...@@ -81,9 +81,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,9 +81,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_BE_XYZ_MATERIAL) e2:SetCode(EFFECT_CANNOT_BE_XYZ_MATERIAL)
e2:SetProperty(EFFECT_FLAG_IGNORE_RANGE+EFFECT_FLAG_IGNORE_IMMUNE) e2:SetProperty(EFFECT_FLAG_IGNORE_RANGE+EFFECT_FLAG_IGNORE_IMMUNE)
e2:SetTargetRange(0xff,0) e2:SetTargetRange(0x7f,0x7f)
e2:SetTarget(s.tlmtg) e2:SetTarget(s.tlmtg)
e2:SetValue(1) e2:SetValue(s.tlmval)
e2:SetReset(RESET_PHASE+PHASE_END) e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
--must material --must material
...@@ -111,3 +111,7 @@ end ...@@ -111,3 +111,7 @@ end
function s.tlmtg(e,c) function s.tlmtg(e,c)
return not c:IsOriginalSetCard(0x76,0x48) return not c:IsOriginalSetCard(0x76,0x48)
end end
function s.tlmval(e,c)
if not c then return false end
return c:GetControler()==e:GetOwnerPlayer()
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