Commit 1f0850e2 authored by POLYMER's avatar POLYMER

fix

parent c9827f64
--天の聖杯 Πνευμα(プネウマ) --天の聖杯 Πνευμα(プネウマ)
function c260013011.initial_effect(c) function c260013011.initial_effect(c)
c:EnableReviveLimit() c:EnableReviveLimit()
c:SetSPSummonOnce(26001260013011) c:SetSPSummonOnce(260013011)
--special summon rule --special summon rule
local e6=Effect.CreateEffect(c) local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e6:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......
...@@ -721,6 +721,7 @@ function yume.stellar_memories.BanishorSendSpell(sid,tp,msg1,msg2) ...@@ -721,6 +721,7 @@ function yume.stellar_memories.BanishorSendSpell(sid,tp,msg1,msg2)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=g2:Select(tp,1,1,nil) local g=g2:Select(tp,1,1,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end
end end
--filters for common spell effects --filters for common spell effects
function yume.stellar_memories.SpellActivationBanishFilter(c,cid,tp) function yume.stellar_memories.SpellActivationBanishFilter(c,cid,tp)
...@@ -735,6 +736,7 @@ end ...@@ -735,6 +736,7 @@ end
function yume.stellar_memories.BanishedSpellCon(cid) function yume.stellar_memories.BanishedSpellCon(cid)
return function(e,tp,eg,ep,ev,re,r,rp) return function(e,tp,eg,ep,ev,re,r,rp)
return re and re:GetHandler():IsCode(cid) return re and re:GetHandler():IsCode(cid)
end
end end
--spell for low level and low link --spell for low level and low link
function yume.stellar_memories.LowSpellActivationTg(rid,lid) function yume.stellar_memories.LowSpellActivationTg(rid,lid)
...@@ -743,6 +745,7 @@ function yume.stellar_memories.LowSpellActivationTg(rid,lid) ...@@ -743,6 +745,7 @@ function yume.stellar_memories.LowSpellActivationTg(rid,lid)
return Duel.IsExistingMatchingCard(yume.stellar_memories.SpellActivationSearchFilter,tp,LOCATION_DECK,0,1,nil,rid) return Duel.IsExistingMatchingCard(yume.stellar_memories.SpellActivationSearchFilter,tp,LOCATION_DECK,0,1,nil,rid)
or Duel.IsExistingMatchingCard(yume.stellar_memories.SpellActivationBanishFilter,tp,LOCATION_EXTRA,0,1,nil,lid,tp) or Duel.IsExistingMatchingCard(yume.stellar_memories.SpellActivationBanishFilter,tp,LOCATION_EXTRA,0,1,nil,lid,tp)
end end
end
end end
function yume.stellar_memories.LowSpellActivationOp(rid,lid,msg1,msg2) function yume.stellar_memories.LowSpellActivationOp(rid,lid,msg1,msg2)
return function(e,tp,eg,ep,ev,re,r,rp) return function(e,tp,eg,ep,ev,re,r,rp)
...@@ -761,6 +764,7 @@ function yume.stellar_memories.LowSpellActivationOp(rid,lid,msg1,msg2) ...@@ -761,6 +764,7 @@ function yume.stellar_memories.LowSpellActivationOp(rid,lid,msg1,msg2)
local g=g2:Select(tp,1,1,nil) local g=g2:Select(tp,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_EFFECT) Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
end end
end
end end
function yume.stellar_memories.LinkSummonFilter(c) function yume.stellar_memories.LinkSummonFilter(c)
return c:IsLinkSummonable(nil) and c:IsRace(RACE_SPELLCASTER) return c:IsLinkSummonable(nil) and c:IsRace(RACE_SPELLCASTER)
......
...@@ -134,5 +134,4 @@ function s.op3(e,tp,eg,ep,ev,re,r,rp) ...@@ -134,5 +134,4 @@ function s.op3(e,tp,eg,ep,ev,re,r,rp)
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
end
end end
\ No newline at end of file
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