Commit ceac08b1 authored by DailyShana's avatar DailyShana

fix

parent 306fe320
...@@ -22,7 +22,7 @@ function c3113667.initial_effect(c) ...@@ -22,7 +22,7 @@ function c3113667.initial_effect(c)
e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP) e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e3:SetCode(EVENT_BATTLE_DESTROYED) e3:SetCode(EVENT_BATTLE_DESTROYED)
e3:SetRange(LOCATION_FZONE) e3:SetRange(LOCATION_FZONE)
e3:SetCountLimit(1) e3:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE)
e3:SetCondition(c3113667.spcon1) e3:SetCondition(c3113667.spcon1)
e3:SetTarget(c3113667.sptg) e3:SetTarget(c3113667.sptg)
e3:SetOperation(c3113667.spop) e3:SetOperation(c3113667.spop)
......
...@@ -11,5 +11,7 @@ function c4848423.initial_effect(c) ...@@ -11,5 +11,7 @@ function c4848423.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c4848423.rev(e,re,r,rp,rc) function c4848423.rev(e,re,r,rp,rc)
return bit.band(r,REASON_BATTLE)~=0 and e:GetHandler():GetBattleTarget() local c=e:GetHandler()
return bit.band(r,REASON_BATTLE)~=0
and (c==Duel.GetAttacker() or c==Duel.GetAttackTarget())
end end
...@@ -24,7 +24,7 @@ function c50588353.initial_effect(c) ...@@ -24,7 +24,7 @@ function c50588353.initial_effect(c)
e2:SetCode(EVENT_FREE_CHAIN) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetHintTiming(0,TIMING_MAIN_END+TIMING_BATTLE_START+TIMING_BATTLE_END) e2:SetHintTiming(0,TIMING_MAIN_END+TIMING_BATTLE_START+TIMING_BATTLE_END)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,50588353+100) e2:SetCountLimit(1,50588354)
e2:SetCondition(c50588353.spcon) e2:SetCondition(c50588353.spcon)
e2:SetCost(aux.bfgcost) e2:SetCost(aux.bfgcost)
e2:SetTarget(c50588353.sptg) e2:SetTarget(c50588353.sptg)
...@@ -61,7 +61,7 @@ function c50588353.hspop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,7 @@ function c50588353.hspop(e,tp,eg,ep,ev,re,r,rp)
end end
function c50588353.spcon(e,tp,eg,ep,ev,re,r,rp) function c50588353.spcon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
return not e:GetHandler():IsStatus(STATUS_CHAINING) and Duel.GetTurnPlayer()~=tp return Duel.GetTurnPlayer()~=tp
and (ph==PHASE_MAIN1 or (ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE) or ph==PHASE_MAIN2) and (ph==PHASE_MAIN1 or (ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE) or ph==PHASE_MAIN2)
end end
function c50588353.spfilter(c,e,tp) function c50588353.spfilter(c,e,tp)
......
...@@ -28,7 +28,7 @@ function c85216896.initial_effect(c) ...@@ -28,7 +28,7 @@ function c85216896.initial_effect(c)
e3:SetType(EFFECT_TYPE_IGNITION) e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET) e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,85216896+100) e3:SetCountLimit(1,85216897)
e3:SetTarget(c85216896.rmtg) e3:SetTarget(c85216896.rmtg)
e3:SetOperation(c85216896.rmop) e3:SetOperation(c85216896.rmop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
......
...@@ -18,7 +18,7 @@ function c86938484.initial_effect(c) ...@@ -18,7 +18,7 @@ function c86938484.initial_effect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,86938484+100) e2:SetCountLimit(1,86938485)
e2:SetTarget(c86938484.sptg2) e2:SetTarget(c86938484.sptg2)
e2:SetOperation(c86938484.spop2) e2:SetOperation(c86938484.spop2)
c:RegisterEffect(e2) c:RegisterEffect(e2)
......
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