Commit ac0cb45a authored by TanakaKotoha's avatar TanakaKotoha

tnndx

parent 01ca4d21
......@@ -16,6 +16,7 @@ function c12041000.initial_effect(c)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetRange(LOCATION_GRAVE)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,12041000)
e2:SetCondition(c12041000.con)
e2:SetTarget(c12041000.tg)
e2:SetOperation(c12041000.op)
......
......@@ -45,7 +45,7 @@ function cm.immcon(e,tp,eg,ep,ev,re,r,rp)
end
function cm.immop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
c:RegisterFlagEffect(m,RESET_PHASE+PHASE_END+RESET_EVENT+RESETS_STANDARD-RESET_TOGRAVE,0,1)
c:RegisterFlagEffect(m,RESET_EVENT+RESET_TOFIELD+RESET_TODECK+RESET_SELF_TURN+RESET_TOHAND+RESET_OVERLAY,0,1)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
......@@ -53,8 +53,9 @@ function cm.immop(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetTargetRange(0,1)
e1:SetValue(cm.aclimit)
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
e1:SetRange(LOCATION_MZONE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
c:RegisterEffect(e1)
end
function cm.aclimit(e,re,tp)
......
......@@ -42,7 +42,7 @@ function cm.initial_effect(c)
e22:SetCategory(CATEGORY_SPECIAL_SUMMON)
e22:SetType(EFFECT_TYPE_QUICK_O)
e22:SetRange(LOCATION_MZONE)
e22:SetCountLimit(1,m)
e22:SetCountLimit(1,m+100)
e22:SetCode(EVENT_FREE_CHAIN)
e22:SetTarget(cm.target)
e22:SetOperation(cm.activate)
......
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