Commit 6502e355 authored by 聖園ミカ's avatar 聖園ミカ 🐟

duiduiduiduidui

parent 4e475e6f
No preview for this file type
......@@ -10,7 +10,7 @@ function s.initial_effect(c)
e1:SetOperation(s.activate)
c:RegisterEffect(e1)
end
unction s.filter(c,tp,ft)
function s.filter(c,tp,ft)
if c:IsFacedown() then return false end
local p=c:GetOwner()
if p~=tp then ft=0 end
......
......@@ -40,7 +40,7 @@ function c18023002.initial_effect(c)
e3:SetOperation(s.penop)
c:RegisterEffect(e3)
end
cm.material_type=TYPE_SYNCHRO
c18023002.material_type=TYPE_SYNCHRO
function s.ncost(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,nil,0xc6e1)
local b2=Duel.IsPlayerAffectedByEffect(tp,18023010) and Duel.IsExistingMatchingCard(s.costfilter,tp,LOCATION_MZONE+LOCATION_PZONE,0,1,nil,tp)
......
--埃莉丝·科菲 蘑菇头
local m=20066026
local m=20040015
local cm=_G["c"..m]
function cm.initial_effect(c)
--Activate
......
......@@ -70,7 +70,7 @@ function c21185642.q(c)
return c:IsFaceup() and c:IsControlerCanBeChanged() and not c:IsCode(21185642)
end
function c21185642.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c21185642.q,tp,LOCATION_MZONE,0,1,nil) end
if chk==0 then return true end
end
function c21185642.op2(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsExistingMatchingCard(c21185642.q,tp,LOCATION_MZONE,0,1,nil) and Duel.SelectYesNo(1-tp,aux.Stringid(21185642,0)) then
......
......@@ -31,7 +31,7 @@ end
--function s.sfliter1(c)
--return c:IsType(TYPE_SYNCHRO) and c:IsAttribute(ATTRIBUTE_FIRE)
--end
cm.material_type=TYPE_SYNCHRO
s.material_type=TYPE_SYNCHRO
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) end
local sg=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil)
......
......@@ -6,9 +6,9 @@ function cm.initial_effect(c)
Tenka.ArisugawaArisa(c)
--shuffle
local e1=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DAMAGE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_DESTROYED)
e1:SetCountLimit(1,m)
e1:SetCondition(cm.damcon)
......
......@@ -43,7 +43,7 @@ function c9310023.initial_effect(c)
e5:SetCode(21142671)
c:RegisterEffect(e5)
end
cm.material_type=TYPE_SYNCHRO
c9310023.material_type=TYPE_SYNCHRO
function c9310023.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) or
(bit.band(st,SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO and (not se or not se:IsHasType(EFFECT_TYPE_ACTIONS)))
......
......@@ -22,7 +22,7 @@ function cm.filter(c,tp)
return c:IsFaceup()
and Duel.IsPlayerCanSpecialSummonMonster(tp,m,0,TYPES_EFFECT_TRAP_MONSTER,2000,2700,8,RACE_BEASTWARRIOR,c:GetAttribute(),POS_FACEUP_ATTACK)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and cm.filter(chkc,tp) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingTarget(cm.filter,tp,0,LOCATION_MZONE,1,nil,tp) end
......@@ -30,7 +30,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SelectTarget(tp,cm.filter,tp,0,LOCATION_MZONE,1,1,nil,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
function cm.op(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if not (c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup()) then return 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