Skip to content
Snippets Groups Projects

Fix d'old bug d'adept

Merged LU "helminthauge" requested to merge helminthauge/t-engine4:Fix_d'Old_Bug_d'Adept into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -34,7 +34,7 @@ on_status_change = function(self, who, status, sub)
local p = game.party:findMember{main=true}
p:attr("forbid_arcane", 1)
if p:knowTalentType("wild-gift/antimagic") == true then
p:setTalentTypeMastery("wild-gift/antimagic", p:getTalentTypeMastery("wild-gift/antimagic") + 0.1)
p:setTalentTypeMastery("wild-gift/antimagic", p:getTalentTypeMastery("wild-gift/antimagic", true) + 0.1)
else
p:learnTalentType("wild-gift/antimagic", true)
p:learnTalent(p.T_RESOLVE, true, nil, {no_unlearn=true})
Loading