Commit dddc3e40 authored by POLYMER's avatar POLYMER

fix

parent 4d33b57c
--方舟骑士-煌
c29065509.named_with_Arknight=1
function c29065509.initial_effect(c)
aux.AddCodeList(c,29065500)
--xyz summon
aux.AddXyzProcedureLevelFree(c,c29065509.mfilter,aux.TRUE,2,2)
c:EnableReviveLimit()
......
--LaBil的外包,很新很亮
Duel.LoadScript("c10100000.lua")
if B2Sayaka then return end
dofile("expansions/script/c10100000.lua")
local s = {}
--What a fvvvvvck nice new library, it seems soooooooooooo cooooooool!
B2Sayaka = {}
......
--甜食派对 百江渚
Duel.LoadScript("c60152900.lua")
dofile("expansions/script/c60152900.lua")
local s,id,o = GetID()
function s.initial_effect(c)
local ge1 = Scl.SetGlobalFieldTriggerEffect(0, "BeSpecialSummoned", id,
nil, s.regop)
local e1 = Scl.CreateIgnitionEffect(c, "SpecialSummon", nil, "SpecialSummon",
nil, "Hand,MonsterZone", s.spcon, { "Cost", s.rfilter, "Tribute" },
{"~Target", s.spfilter, "SpecialSummon", "Deck,GY"}, s.spop)
nil, "Hand,MonsterZone", s.spcon, s.spcost,
{"~Target", "SpecialSummon", s.spfilter, "Deck,GY"}, s.spop)
local e2 = Scl.CreateQuickOptionalEffect_NegateActivation(c, "Dummy", nil,
"GY", s.rmcon, aux.bfgcost)
s.LimitCost(e1, e2)
......@@ -45,6 +45,11 @@ end
function s.spcon(e,tp)
return not Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil)
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsReleasable() and Duel.GetMZoneCount(tp,c)>0 end
Duel.Release(c,REASON_COST)
end
function s.spfilter(c,e,tp)
return Scl.IsCanBeSpecialSummonedNormaly(c,e,tp) and c:IsType(TYPE_NORMAL)
end
......
--美味诱惑 百江渚
Duel.LoadScript("c60152900.lua")
dofile("expansions/script/c60152900.lua")
local s,id,o = GetID()
function s.initial_effect(c)
local e1 = Scl.CreateIgnitionEffect(c, "Search", {1, id}, "Search,Add2Hand",
nil, "Hand,MonsterZone", nil, { "Cost", Card.IsReleasable, "Tribute" },
{"~Target", s.thfilter, "Add2Hand", "Deck"}, s.thop)
nil, "Hand,MonsterZone", nil, s.thcost,
{"~Target", "Add2Hand", s.thfilter, "Deck"}, s.thop)
local e2 = Scl.CreateQuickOptionalEffect(c, nil, {id, 1}, {1, id + 100}, nil,
nil, "GY", nil, aux.bfgcost, nil, s.buffop)
end
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
end
function s.thfilter(c)
return not c:IsCode(id) and c:IsSetCard(0x6b29) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
......@@ -20,7 +24,7 @@ end
function s.buffop(e,tp)
local c = e:GetHandler()
local e1 = Scl.CreateFieldBuffEffect({c,tp}, "!BeEffectTarget", 1, s.tg, {"MonsterZone", 0}, nil, nil, RESET_EP_SCL)
local e2 = Scl.CreateFieldBuffEffect({c,tp}, "!BeDestroyedByEffect", 1, s.tg, {"MonsterZone", 0}, nil, nil, RESET_EP_SCL)
local e2 = Scl.CreateFieldBuffEffect({c,tp}, "!BeDestroyedByEffects", 1, s.tg, {"MonsterZone", 0}, nil, nil, RESET_EP_SCL)
local e3 = Scl.CreateFieldBuffEffect({c,tp}, "!NegateEffect", 1, s.tg, {"MonsterZone", 0}, nil, nil, RESET_EP_SCL)
local e4 = Scl.CreateEffectBuffEffect({c,tp}, "!NegateActivatedEffect", s.val, nil, nil, RESET_EP_SCL)
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