Commit 99ba998b authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c81902500.lua

parent 5456647d
Pipeline #31158 passed with stages
in 39 minutes and 29 seconds
......@@ -3,7 +3,6 @@ local m=81902500
local cm=_G["c"..m]
Duel.LoadScript("Yakumonue.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,81902000)
aux.AddCodeList(c,81902002)
--Activate
local e1=Effect.CreateEffect(c)
......@@ -32,7 +31,7 @@ function cm.filter1(c,e,tp)
and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
end
function cm.filter2(c,e,tp,mc,rk,no)
return c.TC_number==no and c:IsRank(rk) and mc:IsCanBeXyzMaterial(c)
return c.TC_number==no and c:IsRank(rk) and mc:IsCanBeXyzMaterial(c) and c:IsRace(RACE_MACHINE)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,mc,c)>0
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
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