Commit a6afbd1b authored by TanakaKotoha's avatar TanakaKotoha

cnmlgb

parent c6a2eeca
No preview for this file type
......@@ -6,7 +6,7 @@ function cm.initial_effect(c)
local e2=rsef.FTO(c,EVENT_SUMMON_SUCCESS,{m,0},{1,m},"sp,atk,def","de",LOCATION_HAND,cm.spcon,nil,rsop.target2(cm.fun,rscf.spfilter2(),"sp"),cm.spop)
local e5=rsef.RegisterClone(c,e2,"code",EVENT_SPSUMMON_SUCCESS)
local e3=rsef.SV_INDESTRUCTABLE(c,"battle")
local e4=rsef.QO_NEGATE(c,"neg",nil,"des",LOCATION_MZONE,rscon.negcon(cm.filter))
local e4=rsef.QO_NEGATE(c,"neg",{1,m+100},"des",LOCATION_MZONE,rscon.negcon(cm.filter))
end
function cm.spcon(e,tp,eg)
local tc=eg:GetFirst()
......@@ -48,5 +48,5 @@ function cm.spop(e,tp,eg)
end
end
function cm.filter(e,tp,re,rp)
return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttack(e:GetHandler():GetAttack())
return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsAttack(e:GetHandler():GetAttack()) and not re:GetHandler():GetOriginalCode()==m
end
\ No newline at end of file
......@@ -28,8 +28,9 @@ end
function c9910217.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(9910217)
end
function c9910217.matval(e,c,mg)
return c:IsSetCard(0x955) and mg:IsExists(c9910217.mfilter,1,nil) and not mg:IsExists(c9910217.exmfilter,1,nil)
function c9910217.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x955) then return false,nil end
return true,not mg or mg:IsExists(c9910217.mfilter,1,nil) and not mg:IsExists(c9910217.exmfilter,1,nil)
end
function c9910217.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
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