Commit 3841ce1a authored by wind2009's avatar wind2009
parents d4e065ff dd76a27f
...@@ -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