Commit 10747df0 authored by mallu11's avatar mallu11 Committed by GitHub

fix 戦華の徳-劉玄 (#1356)

parent a593630a
...@@ -71,11 +71,8 @@ function c40428851.drcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,11 +71,8 @@ function c40428851.drcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local ac=Duel.GetAttacker() local ac=Duel.GetAttacker()
local tc=Duel.GetAttackTarget() local tc=Duel.GetAttackTarget()
if ac:IsControler(tp) and ac:IsSetCard(0x137) and ac~=c then if not ac:IsControler(tp) then ac,tc=tc,ac end
return true return ac and ac:IsControler(tp) and ac:IsFaceup() and ac:IsSetCard(0x137) and ac~=c
elseif tc and tc:IsControler(tp) and tc:IsSetCard(0x137) and tc~=c then
return true
else return false end
end end
function c40428851.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function c40428851.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return Duel.IsPlayerCanDraw(tp,1) 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