Skip to content

Commit 7ac4240

Browse files
authored
Update "Wild Half"
Incorrect target function handle
1 parent bcb01e2 commit 7ac4240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unofficial/c511001353.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function s.tknspfilter(c,tp)
1919
and Duel.IsPlayerCanSpecialSummonMonster(tp,id+1,0,TYPES_TOKEN,c:GetAttack(),c:GetDefense(),c:GetLevel(),c:GetRace(),c:GetAttribute(),POS_FACEUP,1-tp)
2020
end
2121
function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
22-
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and s.filter(chkc,tp) end
22+
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and s.tknspfilter(chkc,tp) end
2323
if chk==0 then return Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0
2424
and Duel.IsExistingTarget(s.tknspfilter,tp,0,LOCATION_MZONE,1,nil,tp) end
2525
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)

0 commit comments

Comments
 (0)