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

Fix description radius on some psi talents

git-svn-id: http://svn.net-core.org/repos/t-engine4@3008 51575b47-30f0-44d4-a5cc-537603b46e54
parent f8e8bafb
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ newTalent{
game.logPlayer(self, "The aura dissipates without producing a spike.")
return true
end
local tg = t.getSpikedTarget(self, t)
local x, y = self:getTarget(tg)
if not x or not y then return nil end
......@@ -282,7 +282,7 @@ newTalent{
info = function(self, t)
local dam = t.getAuraStrength(self, t)
local rad = self:getTalentRange(t)
local rad = self:getTalentRadius(t)
local spikedam = 50 + 0.4 * dam * dam
local mast = aura_mastery(self, t)
local spikecost = t.getSpikeCost(self, t)
......
......@@ -52,7 +52,7 @@ newTalent{
return true
end,
info = function(self, t)
local range = self:getTalentRange(t)
local range = self:getTalentRadius(t)
local slow = 3 * self:getTalentLevel(t) + 10
local en = ( 3 + self:getTalentLevel(t)) * (100 + self:getWil())/100
return ([[You suck the kinetic energy out of your surroundings, slowing all enemies in a radius of %d by %d%% for four turns.
......@@ -95,7 +95,7 @@ newTalent{
return true
end,
info = function(self, t)
local range = self:getTalentRange(t)
local range = self:getTalentRadius(t)
local dam = math.ceil(1 + 0.5*self:getTalentLevel(t))
local en = ( 4 + self:getTalentLevel(t)) * (100 + self:getWil())/85
--local duration = self:getTalentLevel(t) + 2
......@@ -152,7 +152,7 @@ newTalent{
return true
end,
info = function(self, t)
local range = self:getTalentRange(t)
local range = self:getTalentRadius(t)
local en = ( 5 + self:getTalentLevel(t)) * (100 + self:getWil())/75
local dam = damDesc(self, DamageType.LIGHTNING, self:combatTalentMindDamage(t, 28, 270))
return ([[You pull electric potential from the foes around you in a radius of %d, gaining %d energy for each one affected and giving them a nasty shock in the process. Deals between %d and %d damage.
......
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