Skip to content

Commit 823c728

Browse files
authored
Update c511001750.lua
- Handling for cards that should not be allowed to remain on the field added
1 parent 0a5b77a commit 823c728

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unofficial/c511001750.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp,c,og)
7070
Duel.MoveToField(rc,tp,tp,LOCATION_FZONE,rc:GetPreviousPosition(),true)
7171
else
7272
Duel.MoveToField(rc,tp,tp,rc:GetPreviousLocation(),rc:GetPreviousPosition(),true)
73+
if (rc:IsNormalSpell() or rc:IsQuickplaySpell() or rc:IsNormalTrap() or rc:IsCounterTrap()) and rc:IsPosition(POS_FACEUP) and not rc:IsHasEffect(EFFECT_REMAIN_FIELD) then
74+
Duel.SendtoGrave(rc,REASON_RULE)
75+
end
7376
end
7477
end
7578
end

0 commit comments

Comments
 (0)