Commit ed282c17 authored by POLYMER's avatar POLYMER

fix

parent b973fca2
--挥毫墨影印山河
local s,id,o=GetID()
Duel.LoadScript("c33201381.lua")
function c33201390.initial_effect(c)
--act in hand
local e0=Effect.CreateEffect(c)
......@@ -11,7 +13,7 @@ function c33201390.initial_effect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DISABLE+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c25311006.target)
e1:SetTarget(s.target)
e1:SetOperation(c33201390.activate)
c:RegisterEffect(e1)
--
......@@ -23,13 +25,13 @@ function c33201390.initial_effect(c)
e2:SetCode(EVENT_DESTROYED)
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(2,33201390)
e2:SetCondition(c33201390.drcon)
e2:SetTarget(c33201390.drtg)
e2:SetOperation(c33201390.drop)
e2:SetCondition(c33201390.thcon)
e2:SetTarget(c33201390.thtg)
e2:SetOperation(c33201390.thop)
c:RegisterEffect(e2)
end
--c33201390.VHisc_CNTreasure=true
c32201390.VHisc_MRSH=true
s.VHisc_MRSH=true
--
function c33201390.handcon(e)
local tp=e:GetHandler():GetControler()
......
......@@ -61,7 +61,7 @@ end
function c44401020.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and chkc:IsAbleToRemove() end
if chk==0 then return Duel.IsExistingTarget(Card.IsAbleToRemove,tp,LOCATION_MZONE,0,1,nil)
and Duel.IsExistingMatchingCard(c44401020.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,1,nil) and Duel.GetFlagEffect(tp,44401020) end
and Duel.IsExistingMatchingCard(c44401020.thfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,1,nil) and Duel.GetFlagEffect(tp,44401020)==0 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectTarget(tp,Card.IsAbleToRemove,tp,LOCATION_MZONE,0,1,1,nil)
e:GetHandler():RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(44401020,4))
......
......@@ -8,7 +8,7 @@ function s.initial_effect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,{id,1})
e1:SetCountLimit(1,id)
e1:SetTarget(s.thtg)
e1:SetOperation(s.thop)
c:RegisterEffect(e1)
......@@ -24,7 +24,7 @@ function s.initial_effect(c)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_GRAVE)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e3:SetCountLimit(1,{id,1})
e3:SetCountLimit(1,id+o)
e3:SetCondition(s.spcon)
e3:SetTarget(s.sptg)
e3:SetOperation(s.spop)
......
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