Commit 38a9b48a authored by mercury233's avatar mercury233 Committed by GitHub

fix ネクロバレーの玉座

parent 0c4c0286
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
function c37561138.initial_effect(c) function c37561138.initial_effect(c)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,37561138+EFFECT_COUNT_CODE_OATH) e1:SetCountLimit(1,37561138+EFFECT_COUNT_CODE_OATH)
...@@ -30,8 +29,10 @@ function c37561138.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -30,8 +29,10 @@ function c37561138.target(e,tp,eg,ep,ev,re,r,rp,chk)
end end
e:SetLabel(op) e:SetLabel(op)
if op==0 then if op==0 then
e:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
else else
e:SetCategory(CATEGORY_SUMMON)
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0)
end end
end end
......
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