Commit a4f33e92 authored by POLYMER's avatar POLYMER

fix

parent eab98547
...@@ -87,8 +87,7 @@ end ...@@ -87,8 +87,7 @@ end
-- 效果③ -- 效果③
function s.resfilter(c,tp) function s.resfilter(c,tp)
return c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsSetCard(0x613) return c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_ONFIELD) and c:GetReasonPlayer()==1-tp
and c:GetReasonPlayer()==1-tp
end end
function s.rescon(e,tp,eg,ep,ev,re,r,rp) function s.rescon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -68,14 +68,14 @@ function cm.splimit(e,c) ...@@ -68,14 +68,14 @@ function cm.splimit(e,c)
return not c:IsSetCard(0x9c) return not c:IsSetCard(0x9c)
end end
function cm.rmtg(e,c) function cm.rmtg(e,c)
return c:IsCode(1050186,2273734,13851202,26057276,38667773,63274863,65056481,75878039,86466163,99668578,42822433,79210531) return c:IsCode(1050186,2273734,13851202,26057276,38667773,63274863,65056481,75878039,86466163,99668578,42822433,79210531,60700283)
end end
function cm.regfilter(c,tc) function cm.regfilter(c,tc)
return c:GetOriginalCode()==tc:GetOriginalCode() return c:GetOriginalCode()==tc:GetOriginalCode()
end end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
if not rc:IsCode(1050186,2273734,13851202,26057276,38667773,63274863,65056481,75878039,86466163,99668578,42822433,79210531) then return end if not cm.rmtg(re,rc) then return end
if re:IsHasType(EFFECT_TYPE_SINGLE) and (re:GetCode()==EVENT_SUMMON_SUCCESS or re:GetCode()==EVENT_FLIP_SUMMON_SUCCESS or re:GetCode()==EVENT_SPSUMMON_SUCCESS) then if re:IsHasType(EFFECT_TYPE_SINGLE) and (re:GetCode()==EVENT_SUMMON_SUCCESS or re:GetCode()==EVENT_FLIP_SUMMON_SUCCESS or re:GetCode()==EVENT_SPSUMMON_SUCCESS) then
Duel.RegisterFlagEffect(rp,rc:GetOriginalCode(),RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(rp,rc:GetOriginalCode(),RESET_PHASE+PHASE_END,0,1)
local g=Duel.GetMatchingGroup(cm.regfilter,rp,0xff,0,nil,rc) local g=Duel.GetMatchingGroup(cm.regfilter,rp,0xff,0,nil,rc)
......
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