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

Explosion Expert now increases the damage done by the bomb if the affected...

Explosion Expert now increases the damage done by the bomb if the affected zone is less than the theorical possible zone. AKA: firing it in small rooms or cooridors will make BIG BOOMS !


git-svn-id: http://svn.net-core.org/repos/t-engine4@2887 51575b47-30f0-44d4-a5cc-537603b46e54
parent 11e5236b
No related branches found
No related tags found
No related merge requests found
......@@ -188,8 +188,14 @@ newTalent{
mode = "passive",
points = 5,
info = function(self, t)
local theorical_nb = ({ 9, 25, 45, 77, 109, 145 })[1 + self:getTalentLevelRaw(self.T_EXPLOSION_EXPERT)]
local min = 1
local min = (math.log10(min) / (6 - self:getTalentLevelRaw(self.T_EXPLOSION_EXPERT)))
local max = theorical_nb
local max = (math.log10(max) / (6 - self:getTalentLevelRaw(self.T_EXPLOSION_EXPERT)))
return ([[Your alchemist bombs now affect a radius of %d around them.
Additionally tiles that would have been lost to terrain will now have the damage spread out over the effect.]]):format(self:getTalentLevelRaw(t))
Increases explosion damage by %d%% (one tile less than the full effect) to %d%% (explosion concentrated on only 1 tile)]]):format(self:getTalentLevelRaw(t), min*100, max*100)
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