Skip to content
Snippets Groups Projects
Commit e4c5873d authored by LU "helminthauge"'s avatar LU "helminthauge"
Browse files

Partly fixes the bug that talents_mastery_bonus can apply multiple times in some cases.

parent 928f2d5e
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ on_status_change = function(self, who, status, sub)
game.party:reward(_t"Select the party member to receive the hexes generic talent tree:", function(player)
if who:knowTalentType("corruption/hexes") then
who:setTalentTypeMastery("corruption/hexes", who:getTalentTypeMastery("corruption/hexes") + 0.2)
who:setTalentTypeMastery("corruption/hexes", who:getTalentTypeMastery("corruption/hexes", true) + 0.2)
elseif who:knowTalentType("corruption/hexes") == false then
who:learnTalentType("corruption/hexes", true)
else
......
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