Commit 452730bb authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix for trap monster (#1655)

parent c9da3612
......@@ -36,7 +36,7 @@ function c19261966.splimit(e,se,sp,st)
end
function c19261966.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return se:IsActiveType(TYPE_SPELL+TYPE_TRAP) and se:IsHasType(EFFECT_TYPE_ACTIONS)
and c:IsLocation(LOCATION_GRAVE+LOCATION_HAND)
and c:IsLocation(LOCATION_GRAVE+LOCATION_HAND) and c:IsType(TYPE_MONSTER)
end
function c19261966.thfilter(c)
return c:IsSetCard(0x9d) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand()
......
......@@ -53,5 +53,5 @@ function c23085002.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e2,tp)
end
function c23085002.splimit(e,c)
return c:IsLocation(LOCATION_GRAVE)
return c:IsLocation(LOCATION_GRAVE) and c:IsType(TYPE_MONSTER)
end
......@@ -53,5 +53,5 @@ function c3966653.aclimit(e,re,tp)
return re:GetActivateLocation()==LOCATION_GRAVE
end
function c3966653.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLocation(LOCATION_GRAVE)
return c:IsLocation(LOCATION_GRAVE) and c:IsType(TYPE_MONSTER)
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