SageAcrin wrote:Thalore treants do improve somewhat with talent level, IIRC.
Yes, here's the code for treants:
Code: Select all
local m = NPC.new{
type = "immovable", subtype = "plants",
display = "#",
name = "treant", color=colors.GREEN,
resolvers.nice_tile{image="invis.png", add_mos = {{image="npc/immovable_plants_treant.png", display_h=2, display_y=-1}}},
desc = "A very strong near-sentient tree.",
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
rank = 3,
life_rating = 13,
max_life = resolvers.rngavg(50,80),
infravision = 10,
autolevel = "none",
ai = "summoned", ai_real = "tactical", ai_state = { talent_in=2, },
stats = {str=0, dex=0, con=0, cun=0, wil=0, mag=0},
combat = { dam=resolvers.levelup(resolvers.rngavg(15,25), 1, 1.3), atk=resolvers.levelup(resolvers.rngavg(15,25), 1, 1.6), dammod={str=1.1} },
inc_stats = { str=25 + self:getWil() * self:getTalentLevel(t) / 5, dex=18, con=10 + self:getTalentLevel(t) * 2, },
level_range = {1, nil}, exp_worth = 0,
silent_levelup = true,
resists = {all = self:combatGetResist(DamageType.BLIGHT)},
combat_armor = 13, combat_def = 8,
resolvers.talents{ [Talents.T_STUN]=self:getTalentLevelRaw(t), [Talents.T_KNOCKBACK]=self:getTalentLevelRaw(t), [Talents.T_TAUNT]=self:getTalentLevelRaw(t), },
faction = self.faction,
summoner = self, summoner_gain_exp=true,
summon_time = 8,
ai_target = {actor=target}
}
if self:knowTalent(self.T_BLIGHTED_SUMMONING) then m:learnTalent(m.T_CORROSIVE_WORM, true, 3) end
setupSummon(self, m, x, y)
So...
1. dam and accuracy scale with your char level
str and con scale with your Wil and the treant talent level
their stun and knockback and taunt taunt talent levels scale with the treant talent level