Commit a1369023 authored by POLYMER's avatar POLYMER

fix

parent 417d79fb
...@@ -43,7 +43,7 @@ function cm.initial_effect(c) ...@@ -43,7 +43,7 @@ function cm.initial_effect(c)
local e6=Effect.CreateEffect(c) local e6=Effect.CreateEffect(c)
e6:SetDescription(aux.Stringid(m,0)) e6:SetDescription(aux.Stringid(m,0))
e6:SetCategory(CATEGORY_DRAW) e6:SetCategory(CATEGORY_DRAW)
e6:SetType(EFFECT_TYPE_XMATERIAL+EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE) e6:SetType(EFFECT_TYPE_XMATERIAL+EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_FIELD)
e6:SetCode(EVENT_SPSUMMON_SUCCESS) e6:SetCode(EVENT_SPSUMMON_SUCCESS)
e6:SetCondition(cm.drcon) e6:SetCondition(cm.drcon)
e6:SetTarget(cm.drtg) e6:SetTarget(cm.drtg)
...@@ -111,7 +111,7 @@ function cm.gop(e,tp,eg,ep,ev,re,r,rp) ...@@ -111,7 +111,7 @@ function cm.gop(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsSetCard(0x88) and c:IsSummonType(SUMMON_TYPE_XYZ) return c:IsSetCard(0x88) and c:IsSummonType(SUMMON_TYPE_XYZ) and eg:IsContains(c)
end end
function cm.drfilter(c) function cm.drfilter(c)
return c:IsSetCard(0x88) and c:IsRace(RACE_BEASTWARRIOR) return c:IsSetCard(0x88) and c:IsRace(RACE_BEASTWARRIOR)
......
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