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

Amulets of the fish now have a description

git-svn-id: http://svn.net-core.org/repos/t-engine4@1182 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1c5845a6
No related branches found
No related tags found
No related merge requests found
......@@ -287,6 +287,14 @@ function _M:getTextualDesc()
desc[#desc+1] = ("Reduces talent cooldowns: %s."):format(table.concat(tcds, ','))
end
if w.can_breath then
local ts = {}
for what, _ in pairs(w.can_breath) do
ts[#ts+1] = what
end
desc[#desc+1] = ("Allows you to breathe in: %s."):format(table.concat(ts, ','))
end
if w.combat_physresist then desc[#desc+1] = ("Increases physical save: %s."):format(w.combat_physresist) end
if w.combat_spellresist then desc[#desc+1] = ("Increases spell save: %s."):format(w.combat_spellresist) end
if w.combat_mentalresist then desc[#desc+1] = ("Increases mental save: %s."):format(w.combat_mentalresist) end
......
......@@ -96,3 +96,16 @@ newEntity{ base = "BASE_NPC_JELLY",
max_life = resolvers.rngavg(5,9),
combat = { dam=5, atk=15, apr=5, damtype=DamageType.ACID },
}
newEntity{ base = "BASE_NPC_JELLY",
name = "Malevolent Dimentional Jelly", color=colors.VIOLET, image="npc/jelly-darkgrey.png",
desc = "A strange black blob on the dungeon floor, through it you seem to be able to see other times and places. As you stare you see things moving out of it.",
level_range = {1, 25}, exp_worth = 1,
rarity = 1,
max_life = resolvers.rngavg(5,9),
combat = { dam=5, atk=15, apr=5, damtype=DamageType.ACID },
summon = {
{number=1, hasexp=false},
},
resolvers.talents{ [Talents.T_SUMMON]=1,},
}
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