Commit 65c5ab04 authored by DailyShana's avatar DailyShana

fix

parent 96080a9f
...@@ -42,7 +42,7 @@ end ...@@ -42,7 +42,7 @@ end
function c16197610.addc(e,tp,eg,ep,ev,re,r,rp) function c16197610.addc(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then if e:GetHandler():IsRelateToEffect(e) then
local ct=Duel.GetMatchingGroupCount(c16197610.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local ct=Duel.GetMatchingGroupCount(c16197610.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
e:GetHandler():AddCounter(0x1019,ct) e:GetHandler():AddCounter(COUNTER_NEED_ENABLE+0x1019,ct)
end end
end end
function c16197610.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c16197610.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -43,7 +43,7 @@ end ...@@ -43,7 +43,7 @@ end
function c17810268.addc(e,tp,eg,ep,ev,re,r,rp) function c17810268.addc(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then if e:GetHandler():IsRelateToEffect(e) then
local ct=Duel.GetMatchingGroupCount(c17810268.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local ct=Duel.GetMatchingGroupCount(c17810268.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
e:GetHandler():AddCounter(0x1019,ct) e:GetHandler():AddCounter(COUNTER_NEED_ENABLE+0x1019,ct)
end end
end end
function c17810268.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c17810268.descost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -76,7 +76,7 @@ function c20003527.addcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,7 +76,7 @@ function c20003527.addcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c20003527.addc(e,tp,eg,ep,ev,re,r,rp) function c20003527.addc(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then if e:GetHandler():IsRelateToEffect(e) then
e:GetHandler():AddCounter(0x1019,e:GetLabelObject():GetLabel()) e:GetHandler():AddCounter(COUNTER_NEED_ENABLE+0x1019,e:GetLabelObject():GetLabel())
end end
end end
function c20003527.atkval(e,c) function c20003527.atkval(e,c)
......
...@@ -15,7 +15,7 @@ function c25920413.initial_effect(c) ...@@ -15,7 +15,7 @@ function c25920413.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(25920413,0)) e2:SetDescription(aux.Stringid(25920413,0))
e2:SetCategory(CATEGORY_COUNTER) e2:SetCategory(CATEGORY_COUNTER)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetCondition(c25920413.ctcon) e2:SetCondition(c25920413.ctcon)
e2:SetOperation(c25920413.ctop) e2:SetOperation(c25920413.ctop)
...@@ -64,7 +64,7 @@ end ...@@ -64,7 +64,7 @@ end
function c25920413.ctop(e,tp,eg,ep,ev,re,r,rp) function c25920413.ctop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsFaceup() and c:IsRelateToEffect(e) then if c:IsFaceup() and c:IsRelateToEffect(e) then
c:AddCounter(0x100e,1) c:AddCounter(COUNTER_NEED_ENABLE+0x100e,1)
end end
end end
function c25920413.adcon(e) function c25920413.adcon(e)
......
...@@ -43,7 +43,7 @@ end ...@@ -43,7 +43,7 @@ end
function c43318266.addc(e,tp,eg,ep,ev,re,r,rp) function c43318266.addc(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then if e:GetHandler():IsRelateToEffect(e) then
local ct=Duel.GetMatchingGroupCount(c43318266.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local ct=Duel.GetMatchingGroupCount(c43318266.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
e:GetHandler():AddCounter(0x1019,ct) e:GetHandler():AddCounter(COUNTER_NEED_ENABLE+0x1019,ct)
end end
end end
function c43318266.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c43318266.descost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -42,7 +42,7 @@ end ...@@ -42,7 +42,7 @@ end
function c79703905.addc(e,tp,eg,ep,ev,re,r,rp) function c79703905.addc(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then if e:GetHandler():IsRelateToEffect(e) then
local ct=Duel.GetMatchingGroupCount(c79703905.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local ct=Duel.GetMatchingGroupCount(c79703905.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
e:GetHandler():AddCounter(0x1019,ct) e:GetHandler():AddCounter(COUNTER_NEED_ENABLE+0x1019,ct)
end end
end end
function c79703905.hdcost(e,tp,eg,ep,ev,re,r,rp,chk) function c79703905.hdcost(e,tp,eg,ep,ev,re,r,rp,chk)
......
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