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

Adjusted the description of weapon mastery talents to mention they only work when using said weapon

git-svn-id: http://svn.net-core.org/repos/t-engine4@5724 51575b47-30f0-44d4-a5cc-537603b46e54
parent 388723a9
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,8 @@ newTalent{
sustain_equilibrium = 18,
cooldown = 6,
tactical = { BUFF = 4 },
getDamage = function(self, t) return self:getTalentLevel(t) * 10 end,
getPercentInc = function(self, t) return math.sqrt(self:getTalentLevel(t) / 5) / 2 end,
activate = function(self, t)
local r = {
tmpid = self:addTemporaryValue("psiblades_active", self:getTalentLevel(t)),
......@@ -55,9 +57,12 @@ newTalent{
return true
end,
info = function(self, t)
local damage = t.getDamage(self, t)
local inc = t.getPercentInc(self, t)
return ([[Channel your mental power through your wielded mindstars, generating psionic blades sprouting from the mindstars.
Mindstar psiblades have their damage modifiers (how much damage they gain from stats) increased to %d%% and their armour penetration by %d%%.]]):
format(100 * (1.3 + self:getTalentLevel(t) / 10), 100 * (1 + self:getTalentLevel(t) / 6.3))
Mindstar psiblades have their damage modifiers (how much damage they gain from stats) increased to %d%% and their armour penetration by %d%%.
Also increases Physical Power by %d and increases weapon damage by %d%% when using mindstars.]]):
format(100 * (1.3 + self:getTalentLevel(t) / 10), 100 * (1 + self:getTalentLevel(t) / 6.3), damage, 100 * inc)
end,
}
......
......@@ -96,7 +96,7 @@ newTalent{
info = function(self, t)
local damage = t.getDamage(self, t)
local inc = t.getPercentInc(self, t)
return ([[Increases Physical Power by %d. Also increases damage done with staves by %d%%.]]):
return ([[Increases Physical Power by %d and increases weapon damage by %d%% when using staves.]]):
format(damage, 100 * inc)
end,
}
......
......@@ -28,7 +28,7 @@ newTalent{
info = function(self, t)
local damage = t.getDamage(self, t)
local inc = t.getPercentInc(self, t)
return ([[Increases Physical Power by %d. Also increases damage done with bows by %d%%.
return ([[Increases Physical Power by %d and increases weapon damage by %d%% when using bows.
Also, when using Reload:
At level 2 it grants one more reload per turn.
At level 4 it grants two more reloads per turn.
......
......@@ -107,7 +107,7 @@ newTalent{
info = function(self, t)
local damage = t.getDamage(self, t)
local inc = t.getPercentInc(self, t)
return ([[Increases Physical Power by %d. Also increases damage done with swords, axes, maces by %d%%]]):
return ([[Increases Physical Power by %d and increases weapon damage by %d%% when using swords, axes or maces.]]):
format(damage, 100*inc)
end,
}
......@@ -124,7 +124,7 @@ newTalent{
info = function(self, t)
local damage = t.getDamage(self, t)
local inc = t.getPercentInc(self, t)
return ([[Increases Physical Power by %d. Also increases damage done with daggers by %d%%]]):
return ([[Increases Physical Power by %d and increases weapon damage by %d%% when using daggers.]]):
format(damage, 100*inc)
end,
}
......@@ -141,7 +141,7 @@ newTalent{
info = function(self, t)
local damage = t.getDamage(self, t)
local inc = t.getPercentInc(self, t)
return ([[Increases Physical Power by %d. Also increases damage done with exotic weapons by %d%%]]):
return ([[Increases Physical Power by %d and increases weapon damage by %d%% when using exotic weapons.]]):
format(damage, 100*inc)
end,
}
......@@ -28,7 +28,7 @@ newTalent{
info = function(self, t)
local damage = t.getDamage(self, t)
local inc = t.getPercentInc(self, t)
return ([[Increases Physical Power by %d. Also increases damage done with slings by %d%%.
return ([[Increases Physical Power by %d and increases weapon damage by %d%% when using slings.
Also, when using Reload:
At level 2 it grants one more reload per turn.
At level 4 it grants two more reloads per turn.
......
......@@ -48,9 +48,9 @@ newTalent{
info = function(self, t)
local damage = t.getDamage(self, t)
local inc = t.getPercentInc(self, t)
return ([[Increases damage done with all unarmed attacks by %d%% (including grapples and kicks). Also increases Physical Power by %d.
return ([[Increases Physical Power by %d and increases all unarmed damage by %d%% (including grapples and kicks).
Note that brawlers naturally gain 0.5 physical power per character level while unarmed (current brawler physical power bonus: %0.1f) and attack 40%% faster while unarmed.]]):
format(100*inc, damage, self.level * 0.5)
format(damage, 100*inc, self.level * 0.5)
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