Commit 1731f2fe authored by Vee4's avatar Vee4

Fix Mitsurugi Prayers bug, cost label will reset now so you do not get both...

Fix Mitsurugi Prayers bug, cost label will reset now so you do not get both effects without cost if activating the card again.
parent 5a87778d
Pipeline #32908 passed with stages
in 1 minute and 27 seconds
...@@ -26,6 +26,7 @@ end ...@@ -26,6 +26,7 @@ end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk) function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil) local b1=Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil)
local b2=true local b2=true
e:SetLabel(0)
if chk==0 then return b1 or b2 end if chk==0 then return b1 or b2 end
if e:IsCostChecked() and Duel.CheckReleaseGroupEx(tp,s.costfilter,1,REASON_COST,true,nil,tp) if e:IsCostChecked() and Duel.CheckReleaseGroupEx(tp,s.costfilter,1,REASON_COST,true,nil,tp)
and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then and Duel.SelectYesNo(tp,aux.Stringid(id,1)) 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