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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@836 51575b47-30f0-44d4-a5cc-537603b46e54
parent ae5afc7f
No related branches found
No related tags found
No related merge requests found
......@@ -28,13 +28,13 @@ newTalent{ short_name = "FIRE_IMP_BOLT",
local tg = {type="hit", range=self:getTalentRange(t), talent=t}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
self:project(tg, x, y, DamageType.FIRE, self:spellCrit(8 + self:combatSpellpower(0.2) * self:getTalentLevel(t)), {type="flame"})
self:project(tg, x, y, DamageType.FIRE, self:spellCrit(self:combatTalentSpellDamage(t, 8, 120)), {type="flame"})
game:playSoundNear(self, "talents/fire")
return true
end,
info = function(self, t)
return ([[Conjures up a bolt of fire doing %0.2f fire damage.
The damage will increase with the Magic stat]]):format(8 + self:combatSpellpower(0.2) * self:getTalentLevel(t))
The damage will increase with the Magic stat]]):format(self:combatTalentSpellDamage(t, 8, 120))
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