Commit 5fd2c1cb authored by wind2009's avatar wind2009

Merge branch 'master' from upstream

parents 74f6f989 7ac2c091
...@@ -6,7 +6,7 @@ function c42790071.initial_effect(c) ...@@ -6,7 +6,7 @@ function c42790071.initial_effect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetRange(LOCATION_HAND) e2:SetRange(LOCATION_HAND)
e2:SetCode(EVENT_CHAINING) e2:SetCode(EVENT_CHAIN_SOLVED)
e2:SetCountLimit(1,42790071) e2:SetCountLimit(1,42790071)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCondition(c42790071.spcon1) e2:SetCondition(c42790071.spcon1)
......
...@@ -41,6 +41,7 @@ function c44887817.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -41,6 +41,7 @@ function c44887817.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0)
end end
function c44887817.operation(e,tp,eg,ep,ev,re,r,rp) function c44887817.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetActivityCount(tp,ACTIVITY_NORMALSUMMON)~=0 then return end
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsRace(RACE_PLANT) then if tc:IsRelateToEffect(e) and tc:IsRace(RACE_PLANT) then
......
...@@ -53,7 +53,7 @@ end ...@@ -53,7 +53,7 @@ end
function c55749927.activate(e,tp,eg,ep,ev,re,r,rp) function c55749927.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if e:GetLabel()==0 then if e:GetLabel()==0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c55749927.rmfilter),tp,LOCATION_GRAVE+LOCATION_ONFIELD,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c55749927.rmfilter),tp,LOCATION_GRAVE+LOCATION_ONFIELD,0,1,1,nil)
local exc=nil local exc=nil
if e:IsHasType(EFFECT_TYPE_ACTIVATE) then exc=e:GetHandler() end if e:IsHasType(EFFECT_TYPE_ACTIVATE) then exc=e:GetHandler() end
......
...@@ -19,6 +19,7 @@ function c66401502.initial_effect(c) ...@@ -19,6 +19,7 @@ function c66401502.initial_effect(c)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,66401503) e2:SetCountLimit(1,66401503)
e2:SetCost(c66401502.indescost) e2:SetCost(c66401502.indescost)
e2:SetCondition(aux.bpcon)
e2:SetTarget(c66401502.indestg) e2:SetTarget(c66401502.indestg)
e2:SetOperation(c66401502.indesop) e2:SetOperation(c66401502.indesop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
......
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