Skip to content
Snippets Groups Projects
Commit 6119d33b authored by DarkGod's avatar DarkGod
Browse files

fix AM quest

parent 6d264ea2
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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