diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua index a1638bd97fd3c7c27637ec2d4d472d6c8337406f..011f35e21a889a7cbe9c4d1328994d5fe2e3e832 100644 --- a/game/modules/tome/class/Actor.lua +++ b/game/modules/tome/class/Actor.lua @@ -3334,6 +3334,10 @@ function _M:levelup() self.unused_generics = self.unused_generics + 1 if self.level % 5 == 0 then self.unused_talents = self.unused_talents + 1 end if self.level % 5 == 0 then self.unused_generics = self.unused_generics - 1 end + + if self.extra_talent_point_every and self.level % self.extra_talent_point_every then self.unused_talents = self.unused_talents + 1 end + if self.extra_generic_point_every and self.level % self.extra_generic_point_every then self.unused_generics = self.unused_generics + 1 end + -- At levels 10, 20 and 36 and then every 30 levels, we gain a new talent type if self.level == 10 or self.level == 20 or self.level == 36 or (self.level > 50 and (self.level - 6) % 30 == 0) then self.unused_talents_types = self.unused_talents_types + 1 diff --git a/game/modules/tome/data/birth/races/human.lua b/game/modules/tome/data/birth/races/human.lua index ce44452261f23c442a4151adc0b8d1db53069c45..3d29a9d69404c8d524b33995ab57ccf560cb37ea 100644 --- a/game/modules/tome/data/birth/races/human.lua +++ b/game/modules/tome/data/birth/races/human.lua @@ -117,7 +117,7 @@ newBirthDescriptor name = "Cornac", desc = { "Cornacs are Humans from the northern parts of the Allied Kingdoms.", - "Humans are an inherently very adaptable race and as such they gain a #GOLD#talent category point#WHITE# (others only gain one at levels 10, 20 and 36) and a #GOLD#generic talent point#WHITE# at birth.", + "Humans are an inherently very adaptable race and as such they gain a #GOLD#talent category point#WHITE# (others only gain one at levels 10, 20 and 36) and both #GOLD#a class and a generic talent point#WHITE# at birth and every 10 levels.", "#GOLD#Stat modifiers:", "#LIGHT_BLUE# * +0 Strength, +0 Dexterity, +0 Constitution", "#LIGHT_BLUE# * +0 Magic, +0 Willpower, +0 Cunning", @@ -127,6 +127,7 @@ newBirthDescriptor experience = 1.0, copy_add = { unused_talents_types = 1, + unused_talents = 1, unused_generics = 1, }, copy = { @@ -138,5 +139,7 @@ newBirthDescriptor starting_zone = "trollmire", starting_quest = "start-allied", starting_intro = "cornac", + extra_talent_point_every = 10, + extra_generic_point_every = 10, }, }