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

Buffed Shadow Cunning

git-svn-id: http://svn.net-core.org/repos/t-engine4@5075 51575b47-30f0-44d4-a5cc-537603b46e54
parent 19cf283b
No related branches found
No related tags found
No related merge requests found
......@@ -313,7 +313,7 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam)
atk = atk + effPredator.typeAttackChange
end
end
if target.knowTalent and target:knowTalent(target.T_GESTURE_OF_GUARDING) then
local t = target:getTalentFromId(target.T_GESTURE_OF_GUARDING)
mult = mult * (100 + t.getDamageChange(target, t)) / 100
......@@ -1026,7 +1026,7 @@ function _M:combatSpellpower(mod)
add = add + (15 + self:getTalentLevel(self.T_ARCANE_DEXTERITY) * 5) * self:getDex() / 100
end
if self:knowTalent(self.T_SHADOW_CUNNING) then
add = add + (15 + self:getTalentLevel(self.T_SHADOW_CUNNING) * 3) * self:getCun() / 100
add = add + (15 + self:getTalentLevel(self.T_SHADOW_CUNNING) * 5) * self:getCun() / 100
end
if self:hasEffect(self.EFF_BLOODLUST) then
add = add + self:hasEffect(self.EFF_BLOODLUST).dur
......@@ -1356,7 +1356,7 @@ function _M:combatMovementSpeed(x, y)
if game.level and game.level.data.zero_gravity then
mult = 3
end
local movement_speed = self.movement_speed
if x and y and game.level.map:checkAllEntities(x, y, "creepingDark") and self:knowTalent(self.T_DARK_VISION) then
local t = self:getTalentFromId(self.T_DARK_VISION)
......
......@@ -48,7 +48,7 @@ newTalent{
mode = "passive",
points = 5,
require = cuns_req2,
getSpellpower = function(self, t) return 15 + self:getTalentLevel(t) * 3 end,
getSpellpower = function(self, t) return 15 + self:getTalentLevel(t) * 5 end,
info = function(self, t)
local spellpower = t.getSpellpower(self, t)
return ([[The user gains a bonus to spellpower equal to %d%% of their cunning.]]):
......
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