Commit d8642c52 authored by Nemo Ma's avatar Nemo Ma

fix

parent 654846f0
......@@ -17,7 +17,7 @@ end
function cm.con(e,tp,eg,ep,ev,re,r,rp)
return rp~=tp and Duel.IsPlayerCanDraw(tp,1)
end
function cm.act(e,tp)
function cm.act(e,tp,eg,ep,ev,re,r,rp)
local g=Group.CreateGroup()
Duel.ChangeTargetCard(ev,g)
Duel.ChangeChainOperation(ev,cm.repop)
......
......@@ -12,6 +12,7 @@ function cm.lvop(e,tp)
rsop.SelectSolve(HINTMSG_SELF,tp,cm.lvfilter,tp,LOCATION_MZONE,0,1,1,nil,cm.lvfun,e)
end
function cm.lvfun(g,e)
local tp=e:GetHandlerPlayer()
local c,tc=e:GetHandler(),g:GetFirst()
rshint.Select(tp,HINGMSG_LVRANK)
local lv=Duel.AnnounceLevel(tp,1,8)
......
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