Page 1 of 1
[Beta 1.0.5e] Antimagic not unlocked after quest
Posted: Wed Oct 23, 2013 1:45 am
by overgoat
Not sure if it is an intended change or not, but completing the Antimagic/Curse of Magic quest did not unlock the Antimagic tree for my Adventurer. It did increment up from 1.0 to 1.1, but was not unlocked.
Re: [Beta 1.0.5e] Antimagic not unlocked after quest
Posted: Fri Oct 25, 2013 9:57 pm
by Hachem_Muche
I'm sure you're supposed to know how to fight magic after finishing the quest. Fix:
Code: Select all
game/modules/tome/data/quests/antimagic.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/game/modules/tome/data/quests/antimagic.lua b/game/modules/tome/data/quests/antimagic.lua
index 8180640..7f46dc6 100644
--- a/game/modules/tome/data/quests/antimagic.lua
+++ b/game/modules/tome/data/quests/antimagic.lua
@@ -33,7 +33,7 @@ on_status_change = function(self, who, status, sub)
who:setQuestStatus(self.id, engine.Quest.DONE)
local p = game.party:findMember{main=true}
p:attr("forbid_arcane", 1)
- if p:knowTalentType("wild-gift/antimagic") ~= nil then
+ if p:knowTalentType("wild-gift/antimagic") == true then
p:setTalentTypeMastery("wild-gift/antimagic", p:getTalentTypeMastery("wild-gift/antimagic") + 0.1)
else
p:learnTalentType("wild-gift/antimagic", true)
Re: [Beta 1.0.5e] Antimagic not unlocked after quest
Posted: Mon Oct 28, 2013 10:53 am
by darkgod
fixed