Commit a75989b0 authored by DailyShana's avatar DailyShana

fix

parent c612e353
...@@ -74,8 +74,8 @@ function c26232916.aclimit(e,re,tp) ...@@ -74,8 +74,8 @@ function c26232916.aclimit(e,re,tp)
end end
function c26232916.repfilter(c,tp) function c26232916.repfilter(c,tp)
return c:IsFaceup() and (c:IsType(TYPE_MONSTER) and c:IsSetCard(0x2b) or c:IsSetCard(0x61)) return c:IsFaceup() and (c:IsType(TYPE_MONSTER) and c:IsSetCard(0x2b) or c:IsSetCard(0x61))
and c:IsOnField() and c:IsControler(tp) and c:IsOnField() and c:IsControler(tp) and not c:IsReason(REASON_REPLACE)
and not c:IsReason(REASON_REPLACE) and c:IsReason(REASON_BATTLE+REASON_EFFECT) and (c:IsReason(REASON_BATTLE) or c:IsReason(REASON_EFFECT) and c:GetReasonPlayer()==1-tp)
end end
function c26232916.rmfilter(c) function c26232916.rmfilter(c)
return c:IsSetCard(0x2b) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x2b) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
......
...@@ -53,7 +53,7 @@ function c4290468.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +53,7 @@ function c4290468.atkop(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
end end
function c4290468.dacon(e,tp,eg,ep,ev,re,r,rp) function c4290468.dacon(e,tp,eg,ep,ev,re,r,rp)
return (Duel.GetCurrentPhase()>=PHASE_BATTLE_START and Duel.GetCurrentPhase()<=PHASE_BATTLE) and e:GetHandler():GetAttackedGroupCount()~=0 return Duel.GetCurrentPhase()==PHASE_BATTLE_STEP and e:GetHandler():GetAttackedCount()~=0
and Duel.GetAttacker()==nil and Duel.GetCurrentChain()==0 and Duel.GetAttacker()==nil and Duel.GetCurrentChain()==0
end end
function c4290468.dacost(e,tp,eg,ep,ev,re,r,rp,chk) function c4290468.dacost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -48,6 +48,7 @@ function c94585852.regop(e,tp,eg,ep,ev,re,r,rp) ...@@ -48,6 +48,7 @@ function c94585852.regop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
if tc:IsReason(REASON_DESTROY) and not tc:IsReason(REASON_BATTLE) and tc:IsSetCard(0x45) and tc:GetLevel()>0 then if tc:IsReason(REASON_DESTROY) and not tc:IsReason(REASON_BATTLE) and tc:IsSetCard(0x45) and tc:GetLevel()>0 then
local tlv=tc:GetLevel()
if tc:IsControler(tp) then if tc:IsControler(tp) then
if tlv>lv1 then lv1=tlv end if tlv>lv1 then lv1=tlv end
g1:AddCard(tc) g1:AddCard(tc)
......
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