[b41] Aim code inconsistency
Posted: Sat Jul 21, 2012 4:27 pm
The Aim code adds this:
and removes this:Note that "dam" and "atk" are switched. This does not affect gameplay in this version, as they are equal to each other, but it may break the skill if changes are made without fixing it.
Code: Select all
atk = self:addTemporaryValue("combat_dam", 4 + self:getTalentLevel(t) * self:getDex(10, true)),
dam = self:addTemporaryValue("combat_atk", 4 + self:getTalentLevel(t) * self:getDex(10, true)),
Code: Select all
self:removeTemporaryValue("combat_atk", p.atk)
self:removeTemporaryValue("combat_dam", p.dam)