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

Creatures in the Heart of the Gloom wont have the radiant fear talent

git-svn-id: http://svn.net-core.org/repos/t-engine4@3357 51575b47-30f0-44d4-a5cc-537603b46e54
parent d74cebde
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ local gloomify = function(add, mult)
mult = mult or 1
return function(e)
if e.rarity then
local list = {"T_GLOOM", "T_AGONY", "T_REPROACH", "T_DARK_TENDRILS", "T_BLINDSIDE", "T_RADIANT_FEAR"}
local list = {"T_GLOOM", "T_AGONY", "T_REPROACH", "T_DARK_TENDRILS", "T_BLINDSIDE"}
e[#e+1] = resolvers.talents{[ Talents[rng.table(list)] ] = {base=1, every=5, max=6}}
e.rarity = math.ceil(e.rarity * mult + add)
e.name = rng.table{"gloomy ", "deformed ", "sick "}..e.name
......
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