- Fixed combat initialization when the player start casting a Dot spell.

- Added new custom display: Damage Taken By Spell.
This commit is contained in:
tercio
2014-10-31 18:48:03 -02:00
parent 4dd789e3f9
commit 1ab15245b4
6 changed files with 236 additions and 21 deletions
+12
View File
@@ -461,8 +461,20 @@ function _detalhes:ApplyProfile (profile_name, nosave, is_copy)
local window = _detalhes.tabela_instancias [id]
if (not window.ativa) then
instance.snap [side] = nil
if ((side == 1 or side == 3) and (not instance.snap [1] and not instance.snap [3])) then
instance.horizontalSnap = false
elseif ((side == 2 or side == 4) and (not instance.snap [2] and not instance.snap [4])) then
instance.verticalSnap = false
end
end
end
if (not instance:IsEnabled()) then
for side, id in pairs (instance.snap) do
instance.snap [side] = nil
end
instance.horizontalSnap = false
instance.verticalSnap = false
end
end
end