Commit d96d1821 authored by Tachibana's avatar Tachibana

ndyd

parent de352f75
...@@ -41,11 +41,12 @@ end ...@@ -41,11 +41,12 @@ end
function c18003012.con(e,tp,eg,ep,ev,re,r,rp) function c18003012.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonLocation(LOCATION_EXTRA) return e:GetHandler():IsSummonLocation(LOCATION_EXTRA)
end end
function c18003012.cfilter(c,tp) function c18003012.cfilter(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0x36e1) and c:IsSummonLocation(LOCATION_EXTRA) return c:IsFaceup() and c:IsSetCard(0x36e1)
and c:IsSummonLocation(LOCATION_EXTRA) and c:IsControler(tp)
end end
function c18003012.rmcon(e,tp,eg,ep,ev,re,r,rp) function c18003012.rmcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c18003012.cfilter,1,nil,tp) return not eg:IsContains(e:GetHandler()) and eg:IsExists(c18003012.cfilter,1,nil,tp)
end end
function c18003012.thfilter(c) function c18003012.thfilter(c)
return c:IsSetCard(0x36e1) and c:IsAbleToHand() return c:IsSetCard(0x36e1) and c:IsAbleToHand()
......
...@@ -7,7 +7,7 @@ function c45745916.initial_effect(c) ...@@ -7,7 +7,7 @@ function c45745916.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(45745916,0)) e1:SetDescription(aux.Stringid(45745916,0))
e1:SetCategory(CATEGORY_HANDES) e1:SetCategory(CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_0) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCountLimit(1,45745916) e1:SetCountLimit(1,45745916)
......
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