The description of the talent for War Hound, with Talent Level 3 and character WIL = 16, indicates that the stats will be STR: 22 and DEX 17. This accords with the calcs in the lua code as far as I can tell. But when they appear, they have STR 29 and DEX 20. This mismatch doesn't occur with Turtles or Ritches (I've yet to check other summons).
Is this a bug, and can it be fixed? Where in the code is the STR and DEX for war hounds modified after the summon-melee.lua code, which as I said, gives 22 and 17 as far as I can tell:
stats = { str=10 + self:getWil() * self:getTalentLevel(t) / 5, dex=10 + self:getTalentLevel(t) * 2, mag=5, con=15 + self:getTalentLevelRaw(self.T_RESILIENCE)*2 },
My talent modifier is the standard 1.3, so the calcs are
str = 10 + 16*(3*1.3)/5 = 22.48
dex = 10 + (3*1.3)*2 = 17.8
STR and DEX for summoned War Hound
Moderator: Moderator
STR and DEX for summoned War Hound
MADNESS rocks
Re: STR and DEX for summoned War Hound
I dont know what game version you are playing, but you can check the following file for any mistakes:
game/modules/tome/data/talents/gifts/summon-melee.lua file
If you did that, then nevermind
this part gives the description (line 85):
In b20b, I do not see a problem or difference?
game/modules/tome/data/talents/gifts/summon-melee.lua file
If you did that, then nevermind

this part gives the description (line 85):
this gives the stats (line 57):info = function(self, t)
return ([[Summon a War Hound for %d turns to attack your foes. War hounds are good basic melee attackers.
It will get %d strength, %d dexterity, 5 magic and %d constitution.
Strength stat will increase with your Willpower stat.]])
:format(math.ceil(self:getTalentLevel(t)) + 5 + self:getTalentLevelRaw(self.T_RESILIENCE),
10 + self:getWil() * self:getTalentLevel(t) / 5,
10 + self:getTalentLevel(t) * 2,
15 + self:getTalentLevelRaw(self.T_RESILIENCE)*2)
local m = NPC.new{
type = "animal", subtype = "canine",
display = "C", color=colors.LIGHT_DARK,
name = "war hound", faction = self.faction,
desc = [[]],
autolevel = "warrior",
ai = "summoned", ai_real = "dumb_talented_simple", ai_state = { talent_in=5, },
stats = { str=10 + self:getWil() * self:getTalentLevel(t) / 5, dex=10 + self:getTalentLevel(t) * 2, mag=5, con=15 + self:getTalentLevelRaw(self.T_RESILIENCE)*2 },
In b20b, I do not see a problem or difference?
Re: STR and DEX for summoned War Hound
The code you quote is fine. It is that the War Hound ends up with a different actual STR and DEX when it is created, which can be seen by hovering the mouse over it. For the other summoned creatures, the stats created are the same as the description. It is only the war hound that has this difference.
MADNESS rocks
Re: STR and DEX for summoned War Hound
its due to
which means its stats are increased with level using warrior scheme( 2 x STR and 1 x DEX )
rest has
so its probably a bug
Code: Select all
autolevel = "warrior",
rest has
Code: Select all
autolevel = "none"
You are likely to be eaten by a grue