Commit 4a7d50d3 authored by Tachibana's avatar Tachibana

ndyd

parent 16020ef4
...@@ -21,15 +21,15 @@ end ...@@ -21,15 +21,15 @@ end
function c19500020.amop(e,tp,eg,ep,ev,re,r,rp) function c19500020.amop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_BE_BATTLE_TARGET) e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetTargetRange(LOCATION_ONFIELD,0) e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetTarget(c19500020.amlimit) e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetValue(aux.tgoval) e1:SetValue(c19500020.atlimit)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c19500020.amlimit(e,c) function c19500020.atlimit(e,c)
return c:IsFaceup() and c:IsSetCard(0x3990,0x3991) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsSetCard(0x3990,0x3991)
end end
function c19500020.repfilter(c,tp) function c19500020.repfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x3990,0x3991) and c:IsLocation(LOCATION_ONFIELD) return c:IsFaceup() and c:IsSetCard(0x3990,0x3991) and c:IsLocation(LOCATION_ONFIELD)
......
...@@ -25,13 +25,13 @@ function cm.disop(e,tp) ...@@ -25,13 +25,13 @@ function cm.disop(e,tp)
local tc=Duel.SelectMatchingCard(tp,aux.disfilter1,tp,0,LOCATION_ONFIELD,1,1,nil):GetFirst() local tc=Duel.SelectMatchingCard(tp,aux.disfilter1,tp,0,LOCATION_ONFIELD,1,1,nil):GetFirst()
if not tc then return end if not tc then return end
Duel.HintSelection(rsgf.Mix2(tc)) Duel.HintSelection(rsgf.Mix2(tc))
local e1,e2=rsef.SV_LIMIT({c,tc},"dis,dise",nil,nil,rsreset.est) local e1,e2=rsef.SV_LIMIT({c,tc},"dis,dise",nil,nil,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
Duel.AdjustInstantly(c) Duel.AdjustInstantly(c)
if tc:IsDisabled() and tc:IsType(TYPE_MONSTER) then if tc:IsDisabled() and tc:IsType(TYPE_MONSTER) then
local e3=rsef.SV_INDESTRUCTABLE({c,tc},"battle",nil,nil,rsreset.est) local e3=rsef.SV_INDESTRUCTABLE({c,tc},"battle",nil,nil,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetReset(rsreset.est) e4:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e4:SetCode(EFFECT_MUST_ATTACK) e4:SetCode(EFFECT_MUST_ATTACK)
tc:RegisterEffect(e4) tc:RegisterEffect(e4)
end 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