Skip to content
Snippets Groups Projects
Commit 03599418 authored by DarkGod's avatar DarkGod
Browse files

Skeleton and Ghoul racial stat increases are always integers now

parent 5dd08b2e
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ newTalent{
mode = "passive",
require = undeads_req1,
points = 5,
statBonus = function(self, t) return self:combatTalentScale(t, 2, 10, 0.75) end,
statBonus = function(self, t) return math.ceil(self:combatTalentScale(t, 2, 10, 0.75)) end,
getMaxDamage = function(self, t) return math.max(50, 100 - self:getTalentLevelRaw(t) * 10) end,
passives = function(self, t, p)
self:talentTemporaryValue(p, "inc_stats", {[self.STAT_STR]=t.statBonus(self, t)})
......
......@@ -23,7 +23,7 @@ newTalent{
mode = "passive",
require = undeads_req1,
points = 5,
statBonus = function(self, t) return self:combatTalentScale(t, 2, 10, 0.75) end,
statBonus = function(self, t) return math.ceil(self:combatTalentScale(t, 2, 10, 0.75)) end,
passives = function(self, t, p)
self:talentTemporaryValue(p, "inc_stats", {[self.STAT_STR]=t.statBonus(self, t)})
self:talentTemporaryValue(p, "inc_stats", {[self.STAT_DEX]=t.statBonus(self, t)})
......
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