Skip to content

Commit

Permalink
Update c69176131.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianchenglipu committed Mar 22, 2015
1 parent 8d084b1 commit ce90ccd
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 ce90ccd

Please sign in to comment.