Commit ec050c3e authored by nanahira's avatar nanahira

use 6172122

parent 116763ac
...@@ -217,12 +217,14 @@ addSkill(53239672, function(e1) ...@@ -217,12 +217,14 @@ addSkill(53239672, function(e1)
end) end)
end) end)
local godCodes={10000000,10000010,10000020} --local godCodes={10000000,10000010,10000020}
oneTimeSkill(39913299, function(e,tp,eg,ep,ev,re,r,rp) local godCodes={37818794,37818794,37818794}
oneTimeSkill(6172122, function(e,tp,eg,ep,ev,re,r,rp)
for _,code in ipairs(godCodes) do for _,code in ipairs(godCodes) do
local tc=Duel.CreateToken(tp,code) local tc=Duel.CreateToken(tp,code)
Duel.MoveToField(tc,tp,tp,LOCATION_MZONE,POS_FACEUP_ATTACK,true) Duel.MoveToField(tc,tp,tp,LOCATION_MZONE,POS_FACEUP_ATTACK,true)
if code==10000010 then tc:RegisterFlagEffect(37818795,RESET_EVENT+RESETS_STANDARD,0,1,2)
--[[if code==10000010 then
for _,ecode in ipairs({EFFECT_UPDATE_ATTACK,EFFECT_UPDATE_DEFENSE}) do for _,ecode in ipairs({EFFECT_UPDATE_ATTACK,EFFECT_UPDATE_DEFENSE}) do
local e1=Effect.CreateEffect(tc) local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
...@@ -233,7 +235,7 @@ oneTimeSkill(39913299, function(e,tp,eg,ep,ev,re,r,rp) ...@@ -233,7 +235,7 @@ oneTimeSkill(39913299, function(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1,true) tc:RegisterEffect(e1,true)
end end
end end]]
end end
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