Commit 171103de authored by mercury233's avatar mercury233

fix

parent b06dad6f
...@@ -60,7 +60,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.matcon(e,tp,eg,ep,ev,re,r,rp) function s.matcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) return re:IsHasType(EFFECT_TYPE_ACTIVATE) and rp==tp
and re:IsActiveType(TYPE_QUICKPLAY) and re:GetHandler():IsSetCard(0x28c) and re:IsActiveType(TYPE_QUICKPLAY) and re:GetHandler():IsSetCard(0x28c)
end end
function s.mattg(e,tp,eg,ep,ev,re,r,rp,chk) function s.mattg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -70,7 +70,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,7 +70,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.matcon(e,tp,eg,ep,ev,re,r,rp) function s.matcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) return re:IsHasType(EFFECT_TYPE_ACTIVATE) and rp==tp
and re:IsActiveType(TYPE_QUICKPLAY) and re:GetHandler():IsSetCard(0x28c) and re:IsActiveType(TYPE_QUICKPLAY) and re:GetHandler():IsSetCard(0x28c)
end end
function s.mattg(e,tp,eg,ep,ev,re,r,rp,chk) function s.mattg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -61,7 +61,7 @@ function s.gmatop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,7 @@ function s.gmatop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.matcon(e,tp,eg,ep,ev,re,r,rp) function s.matcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) return re:IsHasType(EFFECT_TYPE_ACTIVATE) and rp==tp
and re:IsActiveType(TYPE_QUICKPLAY) and re:GetHandler():IsSetCard(0x28c) and re:IsActiveType(TYPE_QUICKPLAY) and re:GetHandler():IsSetCard(0x28c)
end end
function s.mattg(e,tp,eg,ep,ev,re,r,rp,chk) function s.mattg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -25,7 +25,7 @@ function c101111001.initial_effect(c) ...@@ -25,7 +25,7 @@ function c101111001.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c101111001.spfilter(c) function c101111001.spfilter(c)
return c:IsSetCard(0x55,0x7b) and c:IsFaceupEx() return c:IsSetCard(0x55,0x7b) and c:IsType(TYPE_MONSTER) and c:IsFaceupEx()
end end
function c101111001.spcon(e,tp,eg,ep,ev,re,r,rp) function c101111001.spcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) return not e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
......
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