Commit 2265425a authored by 八宫一月's avatar 八宫一月

fix

parent 34ccde12
...@@ -66,10 +66,8 @@ function s.atkcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,10 +66,8 @@ function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
e:SetLabelObject(d) e:SetLabelObject(d)
return a:IsControler(tp) and a:IsFaceup() and a:IsSetCard(0x19b) and d:IsControler(1-tp) and d:IsFaceup() and d:IsRelateToBattle() return a:IsControler(tp) and a:IsFaceup() and a:IsSetCard(0x19b) and d:IsControler(1-tp) and d:IsFaceup() and d:IsRelateToBattle()
end end
function s.atktg(e,tp,ep,ev,re,r,rp,chk) function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
local a=Duel.GetAttacker() local d=e:GetLabelObject()
local d=a:GetBattleTarget()
if a:IsControler(1-tp) then a,d=d,a end
if chk==0 then return not d:IsAttack(0) end if chk==0 then return not d:IsAttack(0) end
end end
function s.atkop(e,tp,ep,ev,re,r,rp) function s.atkop(e,tp,ep,ev,re,r,rp)
......
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