Commit 6e12e5b2 authored by mallu11's avatar mallu11 Committed by GitHub

fix メタルシルバー・アーマー (#1532)

parent 2d43ed92
...@@ -13,8 +13,8 @@ function c33114323.initial_effect(c) ...@@ -13,8 +13,8 @@ function c33114323.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e2:SetProperty(EFFECT_FLAG_IGNORE_RANGE)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(0x34,0x34)
e2:SetTarget(c33114323.efftg) e2:SetTarget(c33114323.efftg)
e2:SetValue(aux.tgoval) e2:SetValue(aux.tgoval)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -40,5 +40,5 @@ function c33114323.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,5 +40,5 @@ function c33114323.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c33114323.efftg(e,c) function c33114323.efftg(e,c)
return c~=e:GetHandler():GetEquipTarget() and c:IsType(TYPE_MONSTER) return c~=e:GetHandler():GetEquipTarget() and c:IsType(TYPE_MONSTER) and (c:IsFaceup() or not c:IsLocation(LOCATION_REMOVED))
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