Commit e5dba470 authored by xiaoye's avatar xiaoye

Update c10800855.lua

parent a5848204
...@@ -31,9 +31,8 @@ function cm.con1(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,9 +31,8 @@ function cm.con1(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.op1(e,tp,eg,ep,ev,re,r,rp) function cm.op1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local code=CARD_ENERGY local _,selfcode=c:GetOriginalCode()
local selfcode1,selfcode2=c:GetOriginalCode() local code=CARD_ENERGY_LIST[selfcode]
if selfcode2~=CARD_ENERGY_EMBLEM then code=code+1 end
local token1=Duel.CreateToken(tp,code) local token1=Duel.CreateToken(tp,code)
local token2=Duel.CreateToken(tp,code) local token2=Duel.CreateToken(tp,code)
local token3=Duel.CreateToken(tp,code) local token3=Duel.CreateToken(tp,code)
...@@ -45,11 +44,10 @@ function cm.con2(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,11 +44,10 @@ function cm.con2(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.op2(e,tp,eg,ep,ev,re,r,rp) function cm.op2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local code=CARD_ENERGY local _,selfcode=c:GetOriginalCode()
local selfcode1,selfcode2=c:GetOriginalCode() local code=CARD_ENERGY_LIST[selfcode]
if selfcode2~=CARD_ENERGY_EMBLEM then code=code+1 end if vgf.GetMatchingGroupCount(Card.IsCode,tp,LOCATION_EMBLEM,0,nil,CARD_ENERGY)>=10 then return end
if vgf.GetMatchingGroupCount(Card.IsCode,tp,LOCATION_EMBLEM,0,nil,code)>=10 then return end local ct=10-vgf.GetMatchingGroupCount(Card.IsCode,tp,LOCATION_EMBLEM,0,nil,CARD_ENERGY)
local ct=10-vgf.GetMatchingGroupCount(Card.IsCode,tp,LOCATION_EMBLEM,0,nil,code)
local token1=Duel.CreateToken(tp,code) local token1=Duel.CreateToken(tp,code)
local token2=Duel.CreateToken(tp,code) local token2=Duel.CreateToken(tp,code)
local token3=Duel.CreateToken(tp,code) local token3=Duel.CreateToken(tp,code)
......
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