Commit a003907a authored by POLYMER's avatar POLYMER

fix

parent 00aa0975
......@@ -94,7 +94,7 @@ function cm.thop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,cm.filter1,tp,LOCATION_GRAVE,0,1,1,nil)
if #g>0 then
Duel.SendtoGrave(tc,0,tp,tp,false,false,POS_FACEUP)
Duel.SendtoGrave(g,0,tp,tp,false,false,POS_FACEUP)
end
end
end
......
......@@ -96,7 +96,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
return rp==tp and re:GetHandler():IsSetCard(0xae51) and not re:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
return rp==tp and re:GetHandler():IsSetCard(0xae51) and not re:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and not re:GetHandler():IsLocation(LOCATION_ONFIELD)
end
function cm.cfilter(c)
return c:IsSetCard(0xae51) and c:IsType(TYPE_MONSTER) and c:IsFaceup()
......
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