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

Armour of Shadows also unlits the tile the user is standing on

git-svn-id: http://svn.net-core.org/repos/t-engine4@5930 51575b47-30f0-44d4-a5cc-537603b46e54
parent c0a2d5d6
No related branches found
No related tags found
No related merge requests found
......@@ -558,6 +558,7 @@ newDamageType{
-- Darken
if realdam > 0 and src:attr("darkness_darkens") then
game.level.map.lites(x, y, false)
if src.x and src.y then game.level.map.lites(src.x, src.y, false) end
end
return realdam
end,
......
......@@ -110,7 +110,7 @@ uberTalent{
end,
info = function(self, t)
return ([[You know how to meld in the shadows. As long as you stand on an unlit tile you gain 30 armour and 50%% armour hardiness.
Also all darkness damage you deal will unlight the target terrain.]])
Also all darkness damage you deal will unlight both the target terrain and yours.]])
:format()
end,
}
......
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