Commit 73656441 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 77a8092b
No preview for this file type
......@@ -6,6 +6,7 @@ function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(3,m)
e1:SetTarget(cm.target)
c:RegisterEffect(e1)
end
......
--尽灭黑洞龙
local m=96077021
local m=96077020
local cm=_G["c"..m]
function cm.initial_effect(c)
aux.AddCodeList(c,96077020)
aux.AddCodeList(c,96077020)
--xyz summon
aux.AddXyzProcedure(c,nil,7,2)
c:EnableReviveLimit()
......@@ -63,7 +63,7 @@ function cm.upcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetBattleMonster(1-tp)
return tc and tc:IsRelateToBattle() and (Duel.GetAttacker()==c or Duel.GetAttackTarget()==c)
end
end
function cm.uptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and aux.nzatk(chkc) end
if chk==0 then return Duel.IsExistingTarget(aux.nzatk,tp,0,LOCATION_MZONE,1,nil) 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