Commit e1ed5e5c authored by 聖園ミカ's avatar 聖園ミカ 🐟

str

parent 28e2e36f
...@@ -37,8 +37,6 @@ function cm.initial_effect(c) ...@@ -37,8 +37,6 @@ function cm.initial_effect(c)
e3:SetCode(EFFECT_IMMUNE_EFFECT) e3:SetCode(EFFECT_IMMUNE_EFFECT)
e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,0)
e3:SetLabel(c:GetBaseAttack())
e3:SetValue(cm.efilter) e3:SetValue(cm.efilter)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
...@@ -101,7 +99,7 @@ function cm.ctop(e,tp,eg,ep,ev,re,r,rp) ...@@ -101,7 +99,7 @@ function cm.ctop(e,tp,eg,ep,ev,re,r,rp)
c:ReplaceEffect(tcode,0,0) c:ReplaceEffect(tcode,0,0)
Duel.Hint(HINT_CARD,0,m-1) Duel.Hint(HINT_CARD,0,m-1)
end end
function cm.efilter(e,te)
local ec=te:GetOwner() function cm.efilter1(e,te)
return ec:GetBaseAttack()<e:GetLabel() return te:GetOwnerPlayer()~=e:GetHandlerPlayer() and te:IsActiveType(TYPE_MONSTER) and te:GetHandler():GetAttack()<=e:GetHandler():GetAttack()
end end
\ No newline at end of file
...@@ -51,7 +51,7 @@ function c65052219.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function c65052219.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c65052219.setfilter(c,tp) function c65052219.setfilter(c,tp)
return c:IsFaceup() and aux.IsCodeListed(c,65052208) and c:IsSummonType(SUMMON_TYPE_ADVANCE) return c:IsFaceup() and aux.IsCodeListed(c,65052208) and c:IsSummonType(SUMMON_TYPE_ADVANCE) and c:IsLevelAbove(7)
end end
function c65052219.setcon(e,tp,eg,ep,ev,re,r,rp) function c65052219.setcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65052219.setfilter,1,nil,tp) return eg:IsExists(c65052219.setfilter,1,nil,tp)
......
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