Commit 59d3709e authored by Nemo Ma's avatar Nemo Ma Committed by GitHub

Merge pull request #20 from Sonic714/master

23.7.10 yume fix
parents dd825197 415a0f61
......@@ -43,7 +43,7 @@ end
function c71401001.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c71401001.filterc1,tp,LOCATION_ONFIELD,0,1,nil,tp) and Duel.GetCustomActivityCount(71401001,tp,ACTIVITY_CHAIN)==0 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c71401001.filterc1,tp,LOCATION_ONFIELD,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c71401001.filterc1,tp,LOCATION_ONFIELD,0,1,1,nil,tp)
Duel.Remove(g,POS_FACEUP,REASON_COST)
yume.RegButterflyCostLimit(e,tp)
end
......
......@@ -63,7 +63,7 @@ function c71401012.op2(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsExistingMatchingCard(c71401012.filter2a,tp,LOCATION_ONFIELD,0,1,nil) and og:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(71401012,1)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local oc=og:Select(tp,1,1,nil)
local oc=og:Select(tp,1,1,nil):GetFirst()
if oc then
local b1=oc:IsAbleToHand()
local b2=not oc:IsForbidden() and oc:CheckUniqueOnField(tp)
......
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