Commit f3753601 authored by dest's avatar dest Committed by mercury233

fix (#1080)

parent 1a9134b3
...@@ -14,7 +14,7 @@ function c18474999.initial_effect(c) ...@@ -14,7 +14,7 @@ function c18474999.initial_effect(c)
--effect --effect
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(18474999,1)) e2:SetDescription(aux.Stringid(18474999,1))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e2:SetCategory(CATEGORY_TOHAND)
e2:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
......
...@@ -83,7 +83,7 @@ function c56773577.acop(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,7 +83,7 @@ function c56773577.acop(e,tp,eg,ep,ev,re,r,rp)
end end
function c56773577.setcon(e,tp,eg,ep,ev,re,r,rp) function c56773577.setcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return rp==1-tp and c:IsReason(REASON_DESTROY+REASON_EFFECT) and c:GetPreviousControler()==tp return rp==1-tp and c:IsReason(REASON_DESTROY) and c:IsReason(REASON_EFFECT) and c:GetPreviousControler()==tp
end end
function c56773577.setfilter(c) function c56773577.setfilter(c)
return c:IsSetCard(0x91) and not c:IsCode(56773577) and c:IsSSetable() return c:IsSetCard(0x91) and not c:IsCode(56773577) and c:IsSSetable()
......
...@@ -14,7 +14,7 @@ function c82085295.initial_effect(c) ...@@ -14,7 +14,7 @@ function c82085295.initial_effect(c)
--effect --effect
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(82085295,1)) e2:SetDescription(aux.Stringid(82085295,1))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e2:SetCategory(CATEGORY_TOHAND)
e2:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
......
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