Commit 2529c45f authored by GuGu's avatar GuGu

Update c74563049.lua

parent b7357d62
Pipeline #32580 passed with stage
in 12 seconds
...@@ -12,6 +12,7 @@ function c74563049.initial_effect(c) ...@@ -12,6 +12,7 @@ function c74563049.initial_effect(c)
e4:SetRange(LOCATION_MZONE) e4:SetRange(LOCATION_MZONE)
e4:SetCondition(c74563049.sdcon) e4:SetCondition(c74563049.sdcon)
c:RegisterEffect(e4) c:RegisterEffect(e4)
c74563049.uuz_tograve_effect=e4
--lv --lv
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(74563049,0)) e2:SetDescription(aux.Stringid(74563049,0))
...@@ -48,7 +49,7 @@ end ...@@ -48,7 +49,7 @@ end
function c74563049.checkop(e,tp,eg,ep,ev,re,r,rp) function c74563049.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do while tc do
if tc:IsOriginalCodeRule(74563049) and tc:IsPreviousLocation(LOCATION_ONFIELD) and tc:IsReason(REASON_EFFECT) and tc:GetReasonEffect()==nil then if tc:IsOriginalCodeRule(74563049) and tc:IsPreviousLocation(LOCATION_ONFIELD) and tc:IsReason(REASON_EFFECT) and tc:GetReasonEffect()==c74563049.uuz_tograve_effect then
tc:RegisterFlagEffect(74563049,RESET_EVENT+RESETS_STANDARD,0,1) tc:RegisterFlagEffect(74563049,RESET_EVENT+RESETS_STANDARD,0,1)
end end
tc=eg:GetNext() tc=eg:GetNext()
......
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