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

stealth gives 1 invrafision

staelth more powerful at level 1


git-svn-id: http://svn.net-core.org/repos/t-engine4@756 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6c18ab8f
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ newBirthDescriptor{
[ActorTalents.T_STEALTH] = 1,
[ActorTalents.T_WEAPON_COMBAT] = 1,
[ActorTalents.T_LETHALITY] = 1,
[ActorTalents.T_TRAP_DETECTION] = 1,
[ActorTalents.T_DUAL_STRIKE] = 1,
},
}
......
......@@ -42,14 +42,16 @@ newTalent{
end end
local res = {
stealth = self:addTemporaryValue("stealth", self:getCun(10) * self:getTalentLevel(t)),
stealth = self:addTemporaryValue("stealth", 4 + self:getCun(10) * self:getTalentLevel(t)),
lite = self:addTemporaryValue("lite", -1000),
infra = self:addTemporaryValue("infravision", 1),
}
game.level.map:updateMap(self.x, self.y)
return res
end,
deactivate = function(self, t, p)
self:removeTemporaryValue("stealth", p.stealth)
self:removeTemporaryValue("infravision", p.infra)
self:removeTemporaryValue("lite", p.lite)
game.level.map:updateMap(self.x, self.y)
return true
......
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