Skip to content
Snippets Groups Projects
Commit 08bfd45e authored by dg's avatar dg
Browse files

The heart of the sandworm queen now grants unlockable harmoy tree if unknown,...

The heart of the sandworm queen now grants unlockable harmoy tree if unknown, learns it if known and increases mastery if learnt


git-svn-id: http://svn.net-core.org/repos/t-engine4@3545 51575b47-30f0-44d4-a5cc-537603b46e54
parent d8b87935
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,10 @@ newEntity{
game.logPlayer(who, "You have %d class talent point(s) to spend. Press G to use them.", who.unused_talents)
game.logPlayer(who, "You have %d generic talent point(s) to spend. Press G to use them.", who.unused_generics)
if who:knowTalentType("wild-gift/") then
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
......
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