Commit 9ab127db authored by Steeldarkeagel's avatar Steeldarkeagel

Update c17078030.lua

Fix: Can now be used to pay all your Lifepoints. OCG only rule.
parent 55e5ffaa
...@@ -20,7 +20,7 @@ function c17078030.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -20,7 +20,7 @@ function c17078030.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) end if chk==0 then return Duel.CheckLPCost(tp,1000) end
local lp=Duel.GetLP(tp) local lp=Duel.GetLP(tp)
local t={} local t={}
local f=math.floor((lp-1)/1000) local f=math.floor((lp)/1000)
local l=1 local l=1
while l<=f and l<=20 do while l<=f and l<=20 do
t[l]=l*1000 t[l]=l*1000
......
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