Commit e809b3f3 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12048005.lua

parent 194aa497
......@@ -40,7 +40,7 @@ function cm.smfilter(c)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsRace(RACE_WARRIOR) then
if tc:IsRelateToEffect(e) then
Duel.SendtoHand(tc,nil,REASON_EFFECT)
local tt=Duel.GetMatchingGroupCount(cm.smfilter,tp,LOCATION_GRAVE,0,nil)
if tt>0 and Duel.IsPlayerCanDiscardDeck(tp,tt) and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment