Commit 4b1f8fec authored by wind2009's avatar wind2009

Fix 影霊衣

parent 273471d0
......@@ -49,7 +49,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.rlevel(e,c)
local lv=aux.GetCappedLevel(e:GetHandler())
local ec=e:GetHandler()
local lv=aux.GetCappedLevel(ec)
if not ec:IsLocation(LOCATION_MZONE) then return lv end
if c:IsSetCard(0xb4) then
local clv=c:GetLevel()
return (lv<<16)+clv
......
......@@ -69,7 +69,9 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.rlevel(e,c)
local lv=aux.GetCappedLevel(e:GetHandler())
local ec=e:GetHandler()
local lv=aux.GetCappedLevel(ec)
if not ec:IsLocation(LOCATION_MZONE) then return lv end
if c:IsSetCard(0xb4) then
local clv=c:GetLevel()
return (lv<<16)+clv
......
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