Commit ae565e5d authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 1ec5af9d
No preview for this file type
expansions/pics/81011034.jpg

69 KB | W: | H:

expansions/pics/81011034.jpg

134 KB | W: | H:

expansions/pics/81011034.jpg
expansions/pics/81011034.jpg
expansions/pics/81011034.jpg
expansions/pics/81011034.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -32,19 +32,6 @@ function c81005048.initial_effect(c) ...@@ -32,19 +32,6 @@ function c81005048.initial_effect(c)
e2:SetTarget(c81005048.target) e2:SetTarget(c81005048.target)
e2:SetOperation(c81005048.operation) e2:SetOperation(c81005048.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--spsummon bgm
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetCondition(c81005048.sumcon)
e3:SetOperation(c81005048.sumsuc)
c:RegisterEffect(e3)
end
function c81005048.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end
function c81005048.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(81005048,2))
end end
function c81005048.ffilter(c,fc,sub,mg,sg) function c81005048.ffilter(c,fc,sub,mg,sg)
return (not c:IsType(TYPE_TOKEN)) and (not sg or sg:FilterCount(aux.TRUE,c)==0 or sg:IsExists(Card.IsFusionCode,1,c,c:GetFusionCode())) return (not c:IsType(TYPE_TOKEN)) and (not sg or sg:FilterCount(aux.TRUE,c)==0 or sg:IsExists(Card.IsFusionCode,1,c,c:GetFusionCode()))
......
--绫濑亚梦 --绫濑亚梦
function c81011006.initial_effect(c) local m=81011006
local cm=_G["c"..m]
function cm.initial_effect(c)
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,c81011006.ffilter,2,true) aux.AddFusionProcFunRep(c,cm.ffilter,2,true)
--spsummon bgm
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(c81011006.sumcon)
e0:SetOperation(c81011006.sumsuc)
c:RegisterEffect(e0)
--remove --remove
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(81011006,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_REMOVE) e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,81011006) e1:SetCountLimit(1,m)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCost(c81011006.rmcost) e1:SetCost(cm.rmcost)
e1:SetTarget(c81011006.rmtg) e1:SetTarget(cm.rmtg)
e1:SetOperation(c81011006.rmop) e1:SetOperation(cm.rmop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--tograve --tograve
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(81011006,1)) e2:SetDescription(aux.Stringid(m,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetRange(LOCATION_REMOVED) e2:SetRange(LOCATION_REMOVED)
e2:SetCode(EVENT_REMOVE) e2:SetCode(EVENT_REMOVE)
e2:SetCountLimit(1,81011906) e2:SetCountLimit(1,m+900)
e2:SetCondition(c81011006.tgcon) e2:SetCondition(cm.tgcon)
e2:SetTarget(c81011006.tgtg) e2:SetTarget(cm.tgtg)
e2:SetOperation(c81011006.tgop) e2:SetOperation(cm.tgop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--spsummon bgm
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetCondition(cm.sumcon)
e3:SetOperation(cm.sumsuc)
c:RegisterEffect(e3)
end end
function c81011006.sumcon(e,tp,eg,ep,ev,re,r,rp) function cm.ffilter(c,fc,sub,mg,sg)
return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end
function c81011006.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(81011006,2))
end
function c81011006.ffilter(c,fc,sub,mg,sg)
return (not c:IsType(TYPE_TOKEN)) and (not sg or sg:FilterCount(aux.TRUE,c)==0 or sg:IsExists(Card.IsFusionCode,1,c,c:GetFusionCode())) return (not c:IsType(TYPE_TOKEN)) and (not sg or sg:FilterCount(aux.TRUE,c)==0 or sg:IsExists(Card.IsFusionCode,1,c,c:GetFusionCode()))
end end
function c81011006.costfilter(c,tp) function cm.costfilter(c,tp)
return c:IsAbleToRemoveAsCost() and not c:IsCode(81011006) return c:IsAbleToRemoveAsCost() and not c:IsCode(m)
and Duel.IsExistingTarget(Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c) and Duel.IsExistingTarget(Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c)
end end
function c81011006.rmcost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c81011006.costfilter,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,1,nil,tp) end if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c81011006.costfilter,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,1,1,nil,tp) local g=Duel.SelectMatchingCard(tp,cm.costfilter,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,1,1,nil,tp)
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
function c81011006.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler() local c=e:GetHandler()
if chkc then return chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsAbleToRemove() end if chkc then return chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsAbleToRemove() end
if chk==0 then return true end if chk==0 then return true end
...@@ -64,27 +61,33 @@ function c81011006.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -64,27 +61,33 @@ function c81011006.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g=Duel.SelectTarget(tp,Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil) local g=Duel.SelectTarget(tp,Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0)
end end
function c81011006.rmop(e,tp,eg,ep,ev,re,r,rp) function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
Duel.Remove(tc,POS_FACEUP,REASON_EFFECT) Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)
end end
end end
function c81011006.cfilter(c,tp) function cm.cfilter(c,tp)
return c:IsPreviousLocation(LOCATION_ONFIELD) and not c:IsCode(81011006) return c:IsPreviousLocation(LOCATION_ONFIELD) and not c:IsCode(m)
end end
function c81011006.tgcon(e,tp,eg,ep,ev,re,r,rp) function cm.tgcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c81011006.cfilter,1,nil,tp) and not eg:IsContains(e:GetHandler()) return eg:IsExists(cm.cfilter,1,nil,tp) and not eg:IsContains(e:GetHandler())
end end
function c81011006.tgtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end end
function c81011006.tgop(e,tp,eg,ep,ev,re,r,rp) function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end end
end end
function cm.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(m,2))
end
...@@ -3,13 +3,6 @@ function c81011007.initial_effect(c) ...@@ -3,13 +3,6 @@ function c81011007.initial_effect(c)
--link summon --link summon
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddLinkProcedure(c,nil,3,3) aux.AddLinkProcedure(c,nil,3,3)
--spsummon bgm
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(c81011007.sumcon)
e0:SetOperation(c81011007.sumsuc)
c:RegisterEffect(e0)
--direct attack --direct attack
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
...@@ -32,12 +25,6 @@ function c81011007.initial_effect(c) ...@@ -32,12 +25,6 @@ function c81011007.initial_effect(c)
e3:SetCondition(c81011007.actcon) e3:SetCondition(c81011007.actcon)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c81011007.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
function c81011007.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(81011007,0))
end
function c81011007.dircon(e) function c81011007.dircon(e)
return e:GetHandler():GetColumnGroupCount()==0 return e:GetHandler():GetColumnGroupCount()==0
end end
......
...@@ -5,13 +5,6 @@ function cm.initial_effect(c) ...@@ -5,13 +5,6 @@ function cm.initial_effect(c)
--synchro summon --synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--spsummon bgm
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(cm.sumcon)
e0:SetOperation(cm.sumsuc)
c:RegisterEffect(e0)
--equip --equip
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP) e1:SetCategory(CATEGORY_EQUIP)
...@@ -22,12 +15,6 @@ function cm.initial_effect(c) ...@@ -22,12 +15,6 @@ function cm.initial_effect(c)
e1:SetOperation(cm.eqop) e1:SetOperation(cm.eqop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(m,0))
end
function cm.eqfilter(c,tp) function cm.eqfilter(c,tp)
return c:GetBaseAttack()==0 and c:CheckUniqueOnField(tp) and not c:IsForbidden() and c:IsType(TYPE_MONSTER) return c:GetBaseAttack()==0 and c:CheckUniqueOnField(tp) and not c:IsForbidden() and c:IsType(TYPE_MONSTER)
end end
......
...@@ -34,13 +34,6 @@ function c81013024.initial_effect(c) ...@@ -34,13 +34,6 @@ function c81013024.initial_effect(c)
e2:SetTarget(c81013024.sptg) e2:SetTarget(c81013024.sptg)
e2:SetOperation(c81013024.spop) e2:SetOperation(c81013024.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--spsummon bgm
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetCondition(c81013024.sumcon)
e3:SetOperation(c81013024.sumsuc)
c:RegisterEffect(e3)
--spsummon condition --spsummon condition
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_SINGLE)
...@@ -50,12 +43,6 @@ function c81013024.initial_effect(c) ...@@ -50,12 +43,6 @@ function c81013024.initial_effect(c)
e4:SetValue(c81013024.splimit) e4:SetValue(c81013024.splimit)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c81013024.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end
function c81013024.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(81013024,2))
end
function c81013024.ffiltera(c) function c81013024.ffiltera(c)
return c:IsFusionType(TYPE_FUSION) and c:IsRace(RACE_PLANT) and c:IsFusionAttribute(ATTRIBUTE_EARTH) and c:IsLevelBelow(9) return c:IsFusionType(TYPE_FUSION) and c:IsRace(RACE_PLANT) and c:IsFusionAttribute(ATTRIBUTE_EARTH) and c:IsLevelBelow(9)
end 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