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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3351 51575b47-30f0-44d4-a5cc-537603b46e54
parent d5b7436f
No related branches found
No related tags found
No related merge requests found
......@@ -1870,7 +1870,6 @@ function _M:preUseTalent(ab, silent, fake)
return false
end
else
if ab.mana then print("============ CHECKE MANA", ab.mana, self:getMana(), ab.mana * (100 + 2 * self:combatFatigue()) / 100) end
if ab.mana and self:getMana() < ab.mana * (100 + 2 * self:combatFatigue()) / 100 then
if not silent then game.logPlayer(self, "You do not have enough mana to cast %s.", ab.name) end
return false
......
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