Commit 5749bd11 authored by Tachibana's avatar Tachibana

得得得得得

parent 6771aa0a
Pipeline #12121 passed with stages
in 28 minutes and 36 seconds
...@@ -6,6 +6,7 @@ function cm.initial_effect(c) ...@@ -6,6 +6,7 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_DRAW) e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_DRAW) e1:SetCode(EVENT_DRAW)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCondition(cm.condition) e1:SetCondition(cm.condition)
e1:SetTarget(cm.target) e1:SetTarget(cm.target)
e1:SetOperation(cm.operation) e1:SetOperation(cm.operation)
...@@ -15,7 +16,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -15,7 +16,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp return ep~=tp
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 eg:IsExists(Card.IsAbleToGrave,1,nil) end if chk==0 then return eg:IsExists(cm.docheck,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,eg,eg:GetCount(),1-tp,0) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,eg,eg:GetCount(),1-tp,0)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,1,1-tp,eg:GetCount()*3) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,1,1-tp,eg:GetCount()*3)
end 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