[b41] Aim code inconsistency

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

[b41] Aim code inconsistency

#1 Post by lukep »

The Aim code adds this:

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)),
and removes this:

Code: Select all

		self:removeTemporaryValue("combat_atk", p.atk)
		self:removeTemporaryValue("combat_dam", p.dam)
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.
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

Post Reply