Commit e2fb3b70 authored by mercury233's avatar mercury233

fix No.1-4

parent c2d50d66
...@@ -28,8 +28,7 @@ function c15232745.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,8 +28,7 @@ function c15232745.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c15232745.atkcon(e,tp,eg,ep,ev,re,r,rp) function c15232745.atkcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() return c:IsRelateToBattle() and c:IsStatus(STATUS_OPPO_BATTLE)
return bc and (bc:IsControler(1-tp) or bc:IsType(TYPE_TOKEN) and bc:GetPreviousControler()==1-tp)
end end
function c15232745.atkfilter(c) function c15232745.atkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x14a) return c:IsFaceup() and c:IsSetCard(0x14a)
......
...@@ -28,8 +28,7 @@ function c4019153.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,8 +28,7 @@ function c4019153.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c4019153.atkcon(e,tp,eg,ep,ev,re,r,rp) function c4019153.atkcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() return c:IsRelateToBattle() and c:IsStatus(STATUS_OPPO_BATTLE)
return bc and (bc:IsControler(1-tp) or bc:IsType(TYPE_TOKEN) and bc:GetPreviousControler()==1-tp)
end end
function c4019153.atkfilter(c) function c4019153.atkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x14a) return c:IsFaceup() and c:IsSetCard(0x14a)
......
...@@ -28,8 +28,7 @@ function c42230449.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,8 +28,7 @@ function c42230449.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c42230449.atkcon(e,tp,eg,ep,ev,re,r,rp) function c42230449.atkcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() return c:IsRelateToBattle() and c:IsStatus(STATUS_OPPO_BATTLE)
return bc and (bc:IsControler(1-tp) or bc:IsType(TYPE_TOKEN) and bc:GetPreviousControler()==1-tp)
end end
function c42230449.atkfilter(c) function c42230449.atkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x14a) return c:IsFaceup() and c:IsSetCard(0x14a)
......
...@@ -28,8 +28,7 @@ function c78625448.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,8 +28,7 @@ function c78625448.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c78625448.atkcon(e,tp,eg,ep,ev,re,r,rp) function c78625448.atkcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() return c:IsRelateToBattle() and c:IsStatus(STATUS_OPPO_BATTLE)
return bc and (bc:IsControler(1-tp) or bc:IsType(TYPE_TOKEN) and bc:GetPreviousControler()==1-tp)
end end
function c78625448.atkfilter(c) function c78625448.atkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x14a) return c:IsFaceup() and c:IsSetCard(0x14a)
......
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