Commit 8e87457c authored by Steeldarkeagel's avatar Steeldarkeagel

Update c712559.lua

Fix: Removed Filter as was not used. Added fix so that it will not activate if a Amazoness Monster in the Spell/Trap zone is destroyed it does not cause it to activate.
parent 2fe7f909
......@@ -28,14 +28,11 @@ function c712559.initial_effect(c)
e3:SetOperation(c712559.operation)
c:RegisterEffect(e3)
end
function c712559.cfilter(c)
return c:IsReason(REASON_DESTROY) and c:IsLevelAbove(1) and c:IsSetCard(0x4)
end
function c712559.condition(e,tp,eg,ep,ev,re,r,rp)
local lv=0
local tc=eg:GetFirst()
while tc do
if tc:IsReason(REASON_DESTROY) and tc:IsSetCard(0x4) then
if tc:IsReason(REASON_DESTROY) and tc:IsSetCard(0x4) and not tc:IsPreviousLocation(LOCATION_SZONE) then
local tlv=tc:GetLevel()
if tlv>lv then lv=tlv 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