Skip to content
Snippets Groups Projects
Commit b8dcaff0 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@1749 51575b47-30f0-44d4-a5cc-537603b46e54
parent e759de51
No related branches found
No related tags found
No related merge requests found
......@@ -154,8 +154,8 @@ function _M:generateRandart(add)
end
-- Determine power
local points = lev * 0.65 + rng.range(5, 15)
local nb_powers = 2 + rng.range(1, lev / 5)
local points = lev * 0.7 + rng.range(5, 15)
local nb_powers = 2 + rng.dice(math.max(1, lev / 10), 2)
local powers = {}
print("Creating randart "..o.name.." with level "..lev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment