Commit 92d0ae55 authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:Fluorohydride/ygopro-scripts

parents 1b13ee68 3ed7ed14
...@@ -53,7 +53,6 @@ function s.srmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +53,6 @@ function s.srmop(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_DIRECT_ATTACK) e1:SetCode(EFFECT_CANNOT_DIRECT_ATTACK)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetTargetRange(LOCATION_MZONE,0) e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
......
...@@ -20,7 +20,7 @@ function c85119159.initial_effect(c) ...@@ -20,7 +20,7 @@ function c85119159.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c85119159.filter(c) function c85119159.filter(c)
return c:IsAbleToHand() and (c:IsSetCard(0x13a) or c:IsCode(8512558)) and not c:IsCode(85119159) return c:IsAbleToHand() and c:IsSetCard(0x13a) and not c:IsCode(85119159)
end end
function c85119159.activate(e,tp,eg,ep,ev,re,r,rp) function c85119159.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c85119159.filter,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(c85119159.filter,tp,LOCATION_DECK,0,nil)
......
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