Commit b82ff3be authored by Nemo Ma's avatar Nemo Ma

fix

parent 1d7ece2e
This diff is collapsed.
......@@ -2,7 +2,7 @@
function c88800029.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88800029,0))
e1:SetDescription(aux.Stringid(88800029,1))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
......@@ -13,7 +13,7 @@ function c88800029.initial_effect(c)
c:RegisterEffect(e1)
--activate
local e2=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88800029,1))
e2:SetDescription(aux.Stringid(88800029,2))
e2:SetType(EFFECT_TYPE_ACTIVATE)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
......
......@@ -25,7 +25,7 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
--SpecialSummon
local e4=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,1))
e4:SetDescription(aux.Stringid(id,1))
e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRange(LOCATION_FZONE)
......@@ -35,7 +35,7 @@ function s.initial_effect(c)
c:RegisterEffect(e4)
--SpecialSummon
local e5=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,2))
e5:SetDescription(aux.Stringid(id,2))
e5:SetCategory(CATEGORY_SPECIAL_SUMMON)
e5:SetType(EFFECT_TYPE_IGNITION)
e5:SetRange(LOCATION_FZONE)
......
......@@ -39,11 +39,10 @@ function s.initial_effect(c)
c:RegisterEffect(e4)
end
function s.atcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return Duel.GetAttacker()==c and c:IsChainAttackable(0,true) and Duel.GetLP(1-tp)<=7816
return Duel.GetLP(1-tp)<=7816
end
function s.filter(c)
return (c:IsCode(88800017) or c:IsCode(88800012) or c:IsCode(88800022)) and c:IsAbleToHand()
return c:IsCode(88800017,88800012,88800022) and c:IsAbleToHand()
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil) end
......
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