Commit 26751347 authored by TanakaKotoha's avatar TanakaKotoha

emergency

parent ae89127e
No preview for this file type
...@@ -91,8 +91,9 @@ ...@@ -91,8 +91,9 @@
10221015 0 --ALO 镀金的勇士 桐人 10221015 0 --ALO 镀金的勇士 桐人
10221031 1 --ALO 勇气的龙使 西莉卡 10221031 1 --ALO 勇气的龙使 西莉卡
10222013 1 --GGO 徘徊于内心的恐惧 10222013 1 --GGO 徘徊于内心的恐惧
10222025 1 --GGO 强大的意义 桐子 10222015 0 --GGO 红色的记忆 诗乃
10222035 1 --GGO 抛弃自卑 莲 10222025 0 --GGO 强大的意义 桐子
10222035 0 --GGO 抛弃自卑 莲
10222045 0 --GGO 疯狂的杀戮 林鵙鹟 10222045 0 --GGO 疯狂的杀戮 林鵙鹟
#109 #109
10900014 0 --无限之天使 10900014 0 --无限之天使
...@@ -253,6 +254,7 @@ ...@@ -253,6 +254,7 @@
#143 #143
14370004 0 --灰烬少女的原核 14370004 0 --灰烬少女的原核
#148 #148
14801271 0 --星际战舰 电力干扰器
14801734 0 --星际战舰 环绕级工业舰 14801734 0 --星际战舰 环绕级工业舰
#160 #160
16001007 0 --Ⅷ集团军 破阵之歌姬 16001007 0 --Ⅷ集团军 破阵之歌姬
......
...@@ -59,7 +59,7 @@ function cm.sprcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -59,7 +59,7 @@ function cm.sprcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD) Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end end
function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se) function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not (c:IsRace(RACE_WARRIOR) or c:IsLocation(LOCATION_EXTRA)) return c:IsLocation(LOCATION_EXTRA) or not c:IsRace(RACE_WARRIOR)
end end
function cm.sprtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sprtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
......
...@@ -36,7 +36,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -36,7 +36,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se) function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not (c:IsRace(RACE_WARRIOR) or c:IsLocation(LOCATION_EXTRA)) return c:IsLocation(LOCATION_EXTRA) or not c:IsRace(RACE_WARRIOR)
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:CheckSetCard("CHURCH") and c:IsAbleToHand() return c:CheckSetCard("CHURCH") and c:IsAbleToHand()
......
...@@ -52,7 +52,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -52,7 +52,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se) function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not (c:IsRace(RACE_WARRIOR) or c:IsLocation(LOCATION_EXTRA)) return (not c:IsRace(RACE_WARRIOR)) or c:IsLocation(LOCATION_EXTRA)
end end
function cm.filter(c) function cm.filter(c)
return c:CheckSetCard("CHURCH_KNIGHT") and c:IsAbleToHand() and c:IsType(TYPE_MONSTER) return c:CheckSetCard("CHURCH_KNIGHT") and c:IsAbleToHand() and c:IsType(TYPE_MONSTER)
...@@ -70,7 +70,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,7 +70,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.filter1(c) function cm.filter1(c)
return c:CheckSetCard("CHURCH_KNIGHT") and c:IsSummonable(true,nil) and c:IsType(TYPE_MONSTER) return c:CheckSetCard("CHURCH") and c:IsSummonable(true,nil) and c:IsType(TYPE_MONSTER)
end end
function cm.target1(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter1,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.filter1,tp,LOCATION_HAND,0,1,nil) end
......
...@@ -8,16 +8,6 @@ function cm.initial_effect(c) ...@@ -8,16 +8,6 @@ function cm.initial_effect(c)
e0:SetType(EFFECT_TYPE_ACTIVATE) e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN) e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0) c:RegisterEffect(e0)
--cannot ChangePosition
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_SZONE)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetCode(EFFECT_CANNOT_CHANGE_POSITION)
e1:SetTarget(cm.postg)
e1:SetCondition(cm.poscon)
c:RegisterEffect(e1)
--SpecialSummon --SpecialSummon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1)) e2:SetDescription(aux.Stringid(m,1))
...@@ -57,12 +47,6 @@ end ...@@ -57,12 +47,6 @@ end
function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp) function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp)
return not c:IsRace(RACE_WARRIOR) return not c:IsRace(RACE_WARRIOR)
end end
function cm.postg(e,c)
return c:CheckSetCard("CHURCH")
end
function cm.poscon(e)
return e:GetHandler():IsAttackPos()
end
function cm.spfilter(c) function cm.spfilter(c)
return c:CheckSetCard("CHURCH") and c:IsAbleToRemove() and c:IsType(TYPE_MONSTER) return c:CheckSetCard("CHURCH") and c:IsAbleToRemove() and c:IsType(TYPE_MONSTER)
end end
...@@ -139,7 +123,7 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -139,7 +123,7 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
e1_2:SetDescription(aux.Stringid(m,5)) e1_2:SetDescription(aux.Stringid(m,5))
e1_2:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CLIENT_HINT) e1_2:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CLIENT_HINT)
e1_2:SetRange(LOCATION_MZONE) e1_2:SetRange(LOCATION_MZONE)
e1_2:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD) e1_2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1_2,true) tc:RegisterEffect(e1_2,true)
end end
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
...@@ -156,9 +140,6 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -156,9 +140,6 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
e1_3:SetOperation(cm.thop) e1_3:SetOperation(cm.thop)
Duel.RegisterEffect(e1_3,tp) Duel.RegisterEffect(e1_3,tp)
end end
function cm.condition(e,c)
return c:CheckSetCard("CHURCH")
end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp) function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject() local tc=e:GetLabelObject()
if tc:GetFlagEffectLabel(m)~=e:GetLabel() then if tc:GetFlagEffectLabel(m)~=e:GetLabel() then
......
...@@ -68,7 +68,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,7 +68,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se) function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return (not c:IsRace(RACE_WARRIOR)) or c:IsLocation(LOCATION_EXTRA) return c:IsLocation(LOCATION_EXTRA) or not c:IsRace(RACE_WARRIOR)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.setfilter,tp,LOCATION_DECK,0,3,nil) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end if chk==0 then return Duel.IsExistingMatchingCard(cm.setfilter,tp,LOCATION_DECK,0,3,nil) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 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