Commit 9ff904ad authored by mercury233's avatar mercury233

fix

parent ceac08b1
...@@ -12,6 +12,13 @@ function c43583400.initial_effect(c) ...@@ -12,6 +12,13 @@ function c43583400.initial_effect(c)
e1:SetTarget(c43583400.sumtg) e1:SetTarget(c43583400.sumtg)
e1:SetOperation(c43583400.sumop) e1:SetOperation(c43583400.sumop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e0:SetCode(EVENT_BATTLED)
e0:SetOperation(c43583400.regop)
c:RegisterEffect(e0)
--draw --draw
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(43583400,1)) e2:SetDescription(aux.Stringid(43583400,1))
...@@ -23,8 +30,13 @@ function c43583400.initial_effect(c) ...@@ -23,8 +30,13 @@ function c43583400.initial_effect(c)
e2:SetOperation(c43583400.drop) e2:SetOperation(c43583400.drop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c43583400.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:GetBattleTarget() then return end
c:RegisterFlagEffect(43583400,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_BATTLE,0,1)
end
function c43583400.sumcon(e,tp,eg,ep,ev,re,r,rp) function c43583400.sumcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()>=PHASE_BATTLE_START and Duel.GetCurrentPhase()<=PHASE_BATTLE and e:GetHandler():GetBattledGroupCount()>0 return Duel.GetCurrentPhase()>=PHASE_BATTLE_START and Duel.GetCurrentPhase()<=PHASE_BATTLE and e:GetHandler():GetFlagEffect(43583400)>0
end end
function c43583400.sumfilter(c) function c43583400.sumfilter(c)
return c:IsRace(RACE_CYBERSE) and c:IsSummonable(true,nil) return c:IsRace(RACE_CYBERSE) and c:IsSummonable(true,nil)
......
...@@ -38,7 +38,7 @@ function c64184058.atlimit(e,c) ...@@ -38,7 +38,7 @@ function c64184058.atlimit(e,c)
return c:IsControler(1-tp) and c:IsLevelAbove(6) and not c:IsImmuneToEffect(e) return c:IsControler(1-tp) and c:IsLevelAbove(6) and not c:IsImmuneToEffect(e)
end end
function c64184058.thfilter(c) function c64184058.thfilter(c)
return c:IsSetCard(0x8) and c:IsAbleToHand() return c:IsSetCard(0x8) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c64184058.regop(e,tp,eg,ep,ev,re,r,rp) function c64184058.regop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -8,6 +8,7 @@ function c71133680.initial_effect(c) ...@@ -8,6 +8,7 @@ function c71133680.initial_effect(c)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetRange(LOCATION_HAND) e1:SetRange(LOCATION_HAND)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCountLimit(1,71133680) e1:SetCountLimit(1,71133680)
e1:SetCondition(c71133680.atkcon) e1:SetCondition(c71133680.atkcon)
e1:SetCost(c71133680.atkcost) e1:SetCost(c71133680.atkcost)
......
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