Commit db036e78 authored by sidschingis's avatar sidschingis

revert v2

parent 4f8499bc
...@@ -77,20 +77,4 @@ function c42155488.decop(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -77,20 +77,4 @@ function c42155488.decop(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c42155488.syncheck(e,c) function c42155488.syncheck(e,c)
c:AssumeProperty(ASSUME_RACE,e:GetLabel()) c:AssumeProperty(ASSUME_RACE,e:GetLabel())
end end
\ No newline at end of file
function c42155488.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
while tc do
local sump=tc:GetSummonPlayer()
local race=tc:GetRace()
if Duel.GetFlagEffect(sump,42155488)==0 then
c42155488[sump]=race
Duel.RegisterFlagEffect(sump,42155488,RESET_PHASE+PHASE_END,0,1)
else if c42155488[sump]~= race then
c42155488[sump]=0
end
end
tc=eg:GetNext()
end
end
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