Skip to content

Commit

Permalink
Merge pull request Fluorohydride#1215 from Tianchenglipu/patch-3
Browse files Browse the repository at this point in the history
Update c69176131.lua
  • Loading branch information
salix5 committed Mar 22, 2015
2 parents f2643ee + ce90ccd commit fa0ff7f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion script/c69176131.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@ function c69176131.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckRemoveOverlayCard(tp,1,1,1,REASON_EFFECT) end
end
function c69176131.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.RemoveOverlayCard(tp,1,1,1,1,REASON_EFFECT)
local sg=Duel.GetMatchingGroup(Card.CheckRemoveOverlayCard,tp,LOCATION_MZONE,LOCATION_MZONE,nil,tp,1,REASON_EFFECT)
local rg=nil
if sg:GetCount()==1 then rg=sg else
rg=sg:Select(tp,1,1,nil)
Duel.HintSelection(rg)
end
rg:GetFirst():RemoveOverlayCard(tp,1,1,REASON_EFFECT)
end

0 comments on commit fa0ff7f

Please sign in to comment.