Commit 4fc4f594 authored by VanillaSalt's avatar VanillaSalt

fix

parent 4d3b677a
......@@ -55,7 +55,7 @@ function c27062594.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
repeat
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:Select(tp,1,1,nil)
g:Remove(Card.IsCode,nil,sg:GetFirst())
g:Remove(Card.IsCode,nil,sg:GetFirst():GetCode())
rg:Merge(sg)
until g:GetCount()==0 or not Duel.SelectYesNo(tp,aux.Stringid(27062594,1))
local ct=Duel.Remove(rg,POS_FACEUP,REASON_COST)
......
......@@ -23,8 +23,8 @@ function c64952266.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c64952266.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) and Duel.SendtoHand(tc,nil,REASON_EFFECT)>0 then
if tc and tc:IsRelateToEffect(e) and Duel.Damage(tp,tc:GetAttack(),REASON_EFFECT)~=0 then
Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
Duel.Damage(tp,tc:GetAttack(),REASON_EFFECT)
end
end
......@@ -54,7 +54,7 @@ function c72258771.ccost(e,tp)
end
end
function c72258771.otfilter(c,tp)
return c:IsSetCard(0x1b) and (c:IsControler(tp) or c:IsFaceup())
return c:IsSetCard(0x1d) and (c:IsControler(tp) or c:IsFaceup())
end
function c72258771.otcon(e,c)
if c==nil then return true end
......
......@@ -36,6 +36,7 @@ function c78184733.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_CANNOT_CHANGE_POSITION)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,2)
tc:RegisterEffect(e1)
tc=g:GetNext()
end
end
end
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