Commit 39a063d6 authored by VanillaSalt's avatar VanillaSalt

fix

parent d8ac73a1
...@@ -36,5 +36,5 @@ function c23516703.limittg(e,c,tp) ...@@ -36,5 +36,5 @@ function c23516703.limittg(e,c,tp)
end end
function c23516703.countval(e,tp) function c23516703.countval(e,tp)
local t1,t2,t3=Duel.GetActivityCount(tp,ACTIVITY_SUMMON,ACTIVITY_FLIPSUMMON,ACTIVITY_SPSUMMON) local t1,t2,t3=Duel.GetActivityCount(tp,ACTIVITY_SUMMON,ACTIVITY_FLIPSUMMON,ACTIVITY_SPSUMMON)
if t1+t2+t2>=2 then return 0 else return 2-t1-t2-t3 end if t1+t2+t3>=2 then return 0 else return 2-t1-t2-t3 end
end end
...@@ -7,10 +7,10 @@ function c36378044.initial_effect(c) ...@@ -7,10 +7,10 @@ function c36378044.initial_effect(c)
e1:SetTarget(c36378044.atktg1) e1:SetTarget(c36378044.atktg1)
e1:SetOperation(c36378044.atkop) e1:SetOperation(c36378044.atkop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--atk change --coin
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(36378044,0)) e2:SetDescription(aux.Stringid(36378044,0))
e2:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_COIN) e2:SetCategory(CATEGORY_DRAW+CATEGORY_DESTROY+CATEGORY_COIN)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_ATTACK_ANNOUNCE) e2:SetCode(EVENT_ATTACK_ANNOUNCE)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
......
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