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

Nerfed a bit Eden's Guile speed boost at high Cunning

git-svn-id: http://svn.net-core.org/repos/t-engine4@5198 51575b47-30f0-44d4-a5cc-537603b46e54
parent 07e4dbf3
No related branches found
No related tags found
No related merge requests found
......@@ -718,7 +718,7 @@ newEntity{ base = "BASE_LEATHER_BOOT",
max_power = 50, power_regen = 1,
use_power = { name = "boost speed", power = 50,
use = function(self, who)
who:setEffect(who.EFF_SPEED, 8, {power=0.20 + who:getCun() / 80})
who:setEffect(who.EFF_SPEED, 8, {power=0.20 + who:getCun() / 200})
return {id=true, used=true}
end
},
......
......@@ -124,18 +124,19 @@ newTalent{
tactical = { ATTACK = {LIGHT = 2} },
range = 1,
requires_target = true,
getDamage = function(self, t) return self:combatTalentWeaponDamage(t, 1.1, 1.9) end,
getDamage = function(self, t) return self:combatTalentWeaponDamage(t, 0.8, 1.6) end,
action = function(self, t)
local tg = {type="hit", range=self:getTalentRange(t)}
local x, y, target = self:getTarget(tg)
if not x or not y or not target then return nil end
if core.fov.distance(self.x, self.y, x, y) > 1 then return nil end
self:attackTarget(target, DamageType.LIGHT, t.getDamage(self, t), true)
self:attackTarget(target, DamageType.LIGHT, t.getDamage(self, t), true)
return true
end,
info = function(self, t)
local damage = t.getDamage(self, t)
return ([[Concentrate the power of the sun in a single blow doing %d%% weapon damage as light damage.]]):
return ([[Concentrate the power of the sun in a two blows doing %d%% weapon damage each as light damage.]]):
format(100 * damage)
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