Commit 9396a38a authored by 未闻皂名's avatar 未闻皂名

2024/3/17 新增:七星道魅力魔女,卡表更新,地缚灵的引诱调整

parent 8616e1f2
Pipeline #25932 passed with stages
in 7 minutes and 37 seconds
No preview for this file type
......@@ -8,16 +8,20 @@
120226013 0 -- 业火之结界像
#Limit
120231034 1 -- 超可爱执行者·夜魔女
120151040 1 -- 寿司天使 龙卷
120160003 1 -- 死灵女仆·小七
120183015 1 -- 火雷神 雷击勇士
120235024 1 -- 苍救骑士 西埃拉
120246081 1 -- 黑曜之魔导兵
120155049 1 -- 大极流
120203029 1 -- 魔法石采掘
120249055 1 -- 三猫选择
120244055 1 -- 魔导枪 天惠枪
#Semi-Limit
120217035 2 -- 革新制壶陶艺家
120231034 2 -- 超可爱执行者·夜魔女
120238005 2 -- 传说的魔术师
120244054 2 -- 七魔导奇妙融合
120244055 2 -- 魔导枪 天惠枪
120247013 2 -- 三角神迷火花
120249057 2 -- 传说的一击
\ No newline at end of file
......@@ -18,17 +18,16 @@ end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local ag=Duel.GetAttacker():GetAttackableTarget()
local at=Duel.GetAttackTarget()
return ag:IsExists(aux.TRUE,1,at)
return ag:GetCount()>1
end
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local ag=Duel.GetAttacker():GetAttackableTarget()
local at=Duel.GetAttackTarget()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATTACKTARGET)
local g=ag:Select(tp,1,1,at)
local g=ag:Select(tp,1,1,nil)
local tc=g:GetFirst()
if tc then
if tc and tc~=at then
Duel.ChangeAttackTarget(tc)
end
end
\ No newline at end of file
local m=120260062
local list={120115001,120105001}
local cm=_G["c"..m]
cm.name="七星道魅力魔女"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Fusion Material
RD.AddFusionProcedure(c,list[1],cm.matfilter)
--Position
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
--Fusion Material
cm.unspecified_funsion=true
function cm.matfilter(c)
return c:IsLevel(1) and c:IsAttribute(ATTRIBUTE_EARTH) and c:IsRace(RACE_SPELLCASTER)
end
--Position
cm.indval=RD.ValueEffectIndesType(TYPE_MONSTER+TYPE_SPELL+TYPE_TRAP,TYPE_MONSTER+TYPE_SPELL+TYPE_TRAP)
function cm.exfilter(c)
return c:IsCode(list[2])
end
cm.cost=RD.CostSendDeckTopToGrave(1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(RD.IsCanChangePosition,tp,0,LOCATION_MZONE,1,nil) end
local g=Duel.GetMatchingGroup(RD.IsCanChangePosition,tp,0,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_POSITION,g,1,0,0)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.SelectAndDoAction(HINTMSG_POSCHANGE,RD.IsCanChangePosition,tp,0,LOCATION_MZONE,1,1,nil,function(g)
local c=e:GetHandler()
if RD.ChangePosition(g)~=0 and c:IsFaceup() and c:IsRelateToEffect(e) then
RD.AttachPierce(e,c,aux.Stringid(m,1),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
if Duel.IsExistingMatchingCard(cm.exfilter,tp,LOCATION_GRAVE,0,1,nil) then
RD.AttachEffectIndes(e,c,cm.indval,aux.Stringid(m,2),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_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