Commit 476cd6f4 authored by mercury233's avatar mercury233

fix Auxiliary.AddDrytronSpSummonEffect

parent 3b78f024
...@@ -10,6 +10,7 @@ function c22420202.initial_effect(c) ...@@ -10,6 +10,7 @@ function c22420202.initial_effect(c)
--spsummon --spsummon
local e2=aux.AddDrytronSpSummonEffect(c,c22420202.extraop) local e2=aux.AddDrytronSpSummonEffect(c,c22420202.extraop)
e2:SetDescription(aux.Stringid(22420202,0)) e2:SetDescription(aux.Stringid(22420202,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DRAW)
e2:SetCountLimit(1,22420202) e2:SetCountLimit(1,22420202)
end end
function c22420202.splimit(e,se,sp,st) function c22420202.splimit(e,se,sp,st)
......
...@@ -10,6 +10,7 @@ function c33543890.initial_effect(c) ...@@ -10,6 +10,7 @@ function c33543890.initial_effect(c)
--spsummon --spsummon
local e2=aux.AddDrytronSpSummonEffect(c,c33543890.extraop) local e2=aux.AddDrytronSpSummonEffect(c,c33543890.extraop)
e2:SetDescription(aux.Stringid(33543890,0)) e2:SetDescription(aux.Stringid(33543890,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOGRAVE)
e2:SetCountLimit(1,33543890) e2:SetCountLimit(1,33543890)
end end
function c33543890.splimit(e,se,sp,st) function c33543890.splimit(e,se,sp,st)
......
...@@ -10,6 +10,7 @@ function c60037599.initial_effect(c) ...@@ -10,6 +10,7 @@ function c60037599.initial_effect(c)
--spsummon --spsummon
local e2=aux.AddDrytronSpSummonEffect(c,c60037599.extraop) local e2=aux.AddDrytronSpSummonEffect(c,c60037599.extraop)
e2:SetDescription(aux.Stringid(60037599,0)) e2:SetDescription(aux.Stringid(60037599,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_GRAVE_SPSUMMON)
e2:SetCountLimit(1,60037599) e2:SetCountLimit(1,60037599)
end end
function c60037599.splimit(e,se,sp,st) function c60037599.splimit(e,se,sp,st)
......
...@@ -10,6 +10,7 @@ function c96026108.initial_effect(c) ...@@ -10,6 +10,7 @@ function c96026108.initial_effect(c)
--spsummon --spsummon
local e2=aux.AddDrytronSpSummonEffect(c,c96026108.extraop) local e2=aux.AddDrytronSpSummonEffect(c,c96026108.extraop)
e2:SetDescription(aux.Stringid(96026108,0)) e2:SetDescription(aux.Stringid(96026108,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_SEARCH)
e2:SetCountLimit(1,96026108) e2:SetCountLimit(1,96026108)
end end
function c96026108.splimit(e,se,sp,st) function c96026108.splimit(e,se,sp,st)
......
...@@ -10,6 +10,7 @@ function c97148796.initial_effect(c) ...@@ -10,6 +10,7 @@ function c97148796.initial_effect(c)
--spsummon --spsummon
local e2=aux.AddDrytronSpSummonEffect(c,c97148796.extraop) local e2=aux.AddDrytronSpSummonEffect(c,c97148796.extraop)
e2:SetDescription(aux.Stringid(97148796,0)) e2:SetDescription(aux.Stringid(97148796,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_SEARCH)
e2:SetCountLimit(1,97148796) e2:SetCountLimit(1,97148796)
end end
function c97148796.splimit(e,se,sp,st) function c97148796.splimit(e,se,sp,st)
......
...@@ -2444,7 +2444,6 @@ end ...@@ -2444,7 +2444,6 @@ end
--Drytron common summon effect --Drytron common summon effect
function Auxiliary.AddDrytronSpSummonEffect(c,func) function Auxiliary.AddDrytronSpSummonEffect(c,func)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE) e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCost(Auxiliary.DrytronSpSummonCost) e1:SetCost(Auxiliary.DrytronSpSummonCost)
......
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