Commit b6fbb22a authored by mercury233's avatar mercury233

fix 儀式魔人

parent 9ec37e73
......@@ -16,7 +16,7 @@ function c30492798.initial_effect(c)
c:RegisterEffect(e2)
end
function c30492798.condition(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_RITUAL
return r==REASON_RITUAL and not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY)
end
function c30492798.operation(e,tp,eg,ep,ev,re,r,rp)
local rc=eg:GetFirst()
......
......@@ -23,6 +23,7 @@ function c32013448.initial_effect(c)
end
function c32013448.mtcon(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_RITUAL and eg:IsExists(Card.IsSetCard,1,nil,0x10cf)
and not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY)
end
function c32013448.mtop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -16,7 +16,7 @@ function c33145233.initial_effect(c)
c:RegisterEffect(e2)
end
function c33145233.condition(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_RITUAL
return r==REASON_RITUAL and not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY)
end
function c33145233.operation(e,tp,eg,ep,ev,re,r,rp)
local rc=eg:GetFirst()
......
......@@ -16,7 +16,7 @@ function c34358408.initial_effect(c)
c:RegisterEffect(e2)
end
function c34358408.condition(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_RITUAL
return r==REASON_RITUAL and not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY)
end
function c34358408.operation(e,tp,eg,ep,ev,re,r,rp)
local rc=eg:GetFirst()
......
......@@ -16,7 +16,7 @@ function c4141820.initial_effect(c)
c:RegisterEffect(e2)
end
function c4141820.condition(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_RITUAL
return r==REASON_RITUAL and not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY)
end
function c4141820.operation(e,tp,eg,ep,ev,re,r,rp)
local rc=eg:GetFirst()
......
......@@ -23,6 +23,7 @@ function c6628343.initial_effect(c)
end
function c6628343.mtcon(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_RITUAL and eg:IsExists(Card.IsSetCard,1,nil,0x10cf)
and not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY)
end
function c6628343.mtop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -16,7 +16,7 @@ function c77153811.initial_effect(c)
c:RegisterEffect(e2)
end
function c77153811.condition(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_RITUAL
return r==REASON_RITUAL and not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY)
end
function c77153811.operation(e,tp,eg,ep,ev,re,r,rp)
local rc=eg:GetFirst()
......
......@@ -16,7 +16,7 @@ function c8903700.initial_effect(c)
c:RegisterEffect(e2)
end
function c8903700.condition(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_RITUAL
return r==REASON_RITUAL and not e:GetHandler():IsPreviousLocation(LOCATION_OVERLAY)
end
function c8903700.operation(e,tp,eg,ep,ev,re,r,rp)
local rc=eg:GetFirst()
......
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