Commit dd76a27f authored by wind2009's avatar wind2009

Merge branch 'patch-3' into 'master'

fix--罪宝の咎人

See merge request !61
parents 34ccde12 2265425a
Pipeline #28199 passed with stages
in 1 minute and 2 seconds
...@@ -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