Eating the Heart with Elemental Harmony unlocked

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Zonk
Sher'Tul
Posts: 1067
Joined: Sat Mar 01, 2003 4:01 pm

Eating the Heart with Elemental Harmony unlocked

#1 Post by Zonk »

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.

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
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.
ToME online profile: http://te4.org/users/zonk
Addons (most likely obsolete): Wights, Trolls, Starting prodigy, Alternate save/resistance system

Post Reply