Skip to content
Snippets Groups Projects
Commit 3375a808 authored by DarkGod's avatar DarkGod
Browse files

sanity

parent e0c6cf05
No related branches found
No related tags found
No related merge requests found
......@@ -372,6 +372,7 @@ newTalent{
return true
end,
nbShadowsUp = function(self, t)
if not game.level then return 0 end
local shadowCount = 0
for _, e in pairs(game.level.entities) do
if e.summoner and e.summoner == self and e.subtype == "shadow" then shadowCount = shadowCount + 1 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