Commit 729d4129 authored by argon.sun's avatar argon.sun

fix

parent 1de0d4f8
......@@ -15,7 +15,9 @@ function c42945701.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsAttribute,1,nil,ATTRIBUTE_FIRE) end
local g=Duel.SelectReleaseGroup(tp,Card.IsAttribute,1,1,nil,ATTRIBUTE_FIRE)
e:SetLabel(g:GetFirst():GetAttack())
local atk=g:GetFirst():GetTextAttack()
if atk<0 then atk=0 end
e:SetLabel(atk)
Duel.Release(g,REASON_COST)
end
function c42945701.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -24,6 +24,7 @@ function c95526884.reccon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local a=Duel.GetAttacker()
local d=Duel.GetAttackTarget()
if not d then return false end
local m=a:GetAttack()-d:GetDefence()
e:SetLabel(m)
return c==a and m>0 and bit.band(d:GetBattlePosition(),POS_DEFENCE)~=0
......
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