Commit dd2cb32f authored by Nemo Ma's avatar Nemo Ma

fix

parent 48e5bd9d
No preview for this file type
......@@ -139,7 +139,7 @@ function cm.tkop1(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst()
if tc then
local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 or tc:IsFacedown() or not c:IsRelateToEffect(e) or not tc:IsRelateToEffect(e) then return end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 or tc:IsFacedown() or not c:IsRelateToEffect(e) then return end
local atk=tc:GetAttack()
local def=tc:GetDefense()
local lv=tc:GetLevel()
......
--夕·虚实之笔
--夕·虚实之笔
function c29065599.initial_effect(c)
c:SetUniqueOnField(1,0,29065599)
c:EnableCounterPermit(0x11ae)
......@@ -93,7 +93,7 @@ function c29065599.efilter(e,te,c)
end
function c29065599.lrop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ) then return false end
Debug.Message("藏点雪,月隐晦明,拙山枯水大江行!")
Debug.Message("藏点雪,月隐晦明,拙山枯水大江行!")
Debug.Message("XYZ召唤!RANK12!夕•虚实之笔!")
end
......
......@@ -4,7 +4,7 @@ local m,cm=rscf.DefineCard(30010000)
function cm.initial_effect(c)
aux.EnablePendulumAttribute(c,false)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),12,5,12)
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),12,5,nil,nil,12)
c:EnableReviveLimit()
--spsummon limit
local e1=Effect.CreateEffect(c)
......
......@@ -2,7 +2,7 @@
function c33400354.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c33400354.target)
......@@ -24,7 +24,7 @@ function c33400354.exfilter0(c)
return c:IsSetCard(0x341) and c:IsLevelAbove(1) and c:IsAbleToGrave()
end
function c33400354.filter(c,e,tp)
return c:IsSetCard(0x341) and c:IsLevelBelow(8)
return c:IsSetCard(0x341)
end
function c33400354.rcheck(tp,g,c)
return g:FilterCount(Card.IsLocation,nil,LOCATION_DECK+LOCATION_EXTRA)<=1
......
--晓光之剑烂 格吉特·莱特宁
function c40009514.initial_effect(c)
aux.AddCodeList(c,40009510)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsCode,40009510),aux.NonTuner(Card.IsRace,RACE_WARRIOR),1)
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),aux.NonTuner(Card.IsRace,RACE_WARRIOR),1)
c:EnableReviveLimit()
--summon success
local e1=Effect.CreateEffect(c)
......
......@@ -23,6 +23,7 @@ function c40009516.initial_effect(c)
e3:SetOperation(c40009516.leave)
c:RegisterEffect(e3)
e1:SetLabelObject(e3)
e2:SetLabelObject(e3)
--xyz effect
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(40009516,1))
......@@ -53,25 +54,12 @@ end
function c40009516.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1,true)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2,true)
if c:IsRelateToEffect(e) then
c:SetCardTarget(tc)
e:GetLabelObject():SetLabelObject(tc)
c:CreateRelation(tc,RESET_EVENT+0x5020000)
tc:CreateRelation(c,RESET_EVENT+0x5fe0000)
end
if tc:IsRelateToEffect(e) and Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)>0 and c:IsRelateToEffect(e) then
c:SetCardTarget(tc)
e:GetLabelObject():SetLabelObject(tc)
c:CreateRelation(tc,RESET_EVENT+0x5020000)
tc:CreateRelation(c,RESET_EVENT+RESETS_STANDARD)
end
Duel.SpecialSummonComplete()
end
function c40009516.leave(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
--晓天之剑圣 格吉特·赫利俄斯
function c40009526.initial_effect(c)
aux.AddCodeList(c,40009510)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsCode,40009510),aux.NonTuner(Card.IsRace,RACE_WARRIOR),1)
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),aux.NonTuner(Card.IsRace,RACE_WARRIOR),1)
c:EnableReviveLimit()
--cannot special summon
local e0=Effect.CreateEffect(c)
......
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