Skip to content

Commit b4912df

Browse files
authored
Update c101304008.lua
Clean-up of unused function call.
1 parent 4f3148f commit b4912df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pre-release/c101304008.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
6767
end
6868
end
6969
function s.attg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
70-
if chkc then return chkc:IsLocation(LOCATION_MZONE) and s.atfilter(chkc) end
70+
if chkc then return chkc:IsFaceup() and chkc:IsLocation(LOCATION_MZONE) and chkc:IsAttributeExcept(ATTRIBUTE_DARK) end
7171
if chk==0 then return Duel.IsExistingTarget(aux.FaceupFilter(Card.IsAttributeExcept,ATTRIBUTE_DARK),tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
7272
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
7373
local g=Duel.SelectTarget(tp,aux.FaceupFilter(Card.IsAttributeExcept,ATTRIBUTE_DARK),tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
@@ -94,4 +94,4 @@ end
9494
function s.drop(e,tp,eg,ep,ev,re,r,rp)
9595
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
9696
Duel.Draw(p,d,REASON_EFFECT)
97-
end
97+
end

0 commit comments

Comments
 (0)