Eating the Heart with Elemental Harmony unlocked
Posted: Thu Sep 15, 2011 12:27 pm
Not a real bug, per se, but a leftover from when spending a cat point on a tree you already had gave +0.1 rather than +0.2.
Unless I misunderstand, this means:
1)If you don't have the tree(not even unlocked), you get the tree but it's locked.
2)If you do have the tree but it's locked, it's unlocked.
3)If you have the tree unlocked, you get +0.1 mastery.
1 and 2 are fine, but I think 3 is an issue - because it means you're losing out 0.1 mastery compared to someone who unlocked the tree through the heart and THEN spent a cat point.
Code: Select all
if who:knowTalentType("wild-gift/harmony") then
who:setTalentTypeMastery("wild-gift/harmony", who:getTalentTypeMastery("wild-gift/harmony") + 0.1)
elseif who:knowTalentType("wild-gift/harmony") == false then
who:learnTalentType("wild-gift/harmony", true)
else
who:learnTalentType("wild-gift/harmony", false)
end
1)If you don't have the tree(not even unlocked), you get the tree but it's locked.
2)If you do have the tree but it's locked, it's unlocked.
3)If you have the tree unlocked, you get +0.1 mastery.
1 and 2 are fine, but I think 3 is an issue - because it means you're losing out 0.1 mastery compared to someone who unlocked the tree through the heart and THEN spent a cat point.