Commit 70cfddadbc49987e97bf74a53592ecc934fe0992

Authored by K'van
1 parent 294e777b

Allows Steady Shot triggered via Shoot to apply Marked even if Master Marksman i…

…s not known, just as using the talent manually would.
... ... @@ -61,8 +61,8 @@ newTalent{
61 61 if self.mark_steady then self.mark_steady = nil end
62 62 end,
63 63 archery_onhit = function(self, t, target, x, y)
64   - if self:knowTalent(self.T_MASTER_MARKSMAN) then
65   - local chance = 15 + (self.mark_steady or 0)
  64 + if self:knowTalent(self.T_MASTER_MARKSMAN) or self.mark_steady then
  65 + local chance = (self:knowTalent(self.T_MASTER_MARKSMAN) and 15 or 0) + (self.mark_steady or 0)
66 66 if self:hasEffect(self.EFF_TRUESHOT) then chance = chance + (chance * self:callTalent(self.T_TRUESHOT, "getMarkChance")/100) end
67 67 if self:isTalentActive(self.T_AIM) then
68 68 chance = chance + self:callTalent(self.T_AIM, "getMarkChance")
... ...