Skip to content

Commit

Permalink
Fix 蛇眼の炎龍 (#2815)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wind2009-Louse authored Jan 28, 2025
1 parent 30feb7b commit af5c349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c48452496.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ end
function s.filter(c,tp)
local r=LOCATION_REASON_TOFIELD
if not c:IsControler(c:GetOwner()) then r=LOCATION_REASON_CONTROL end
return (c:IsType(TYPE_MONSTER) or c:IsLocation(LOCATION_MZONE)) and c:IsFaceupEx()
and Duel.GetLocationCount(c:GetOwner(),LOCATION_SZONE,tp,r)>0
return (c:IsLocation(LOCATION_MZONE) or c:IsType(TYPE_MONSTER) and not c:IsForbidden() and c:CheckUniqueOnField(c:GetOwner()))
and c:IsFaceupEx() and Duel.GetLocationCount(c:GetOwner(),LOCATION_SZONE,tp,r)>0
end
function s.mvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE+LOCATION_MZONE) and s.filter(chkc,tp) end
Expand Down

0 comments on commit af5c349

Please sign in to comment.