Skip to content

Commit

Permalink
[Aura] Add Master Assassin Exception to BuffRemains Adjustment
Browse files Browse the repository at this point in the history
* Special handling for stealth-triggered aura lag
  • Loading branch information
EvanMichaels committed Nov 5, 2019
1 parent 72cb81b commit 8a3c858
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HeroLib/Class/Unit/Aura.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ function Unit:BuffRemains(Spell, AnyCaster, Offset)
if Offset then
ExpirationTime = HL.OffsetRemains(ExpirationTime, Offset)
end
if Spell:ID() == 115192 then
-- Stealth-like buffs (Subterfurge and Master Assassin) are delayed but within aura latency
if Spell:ID() == 115192 or Spell:ID() == 256735 then
ExpirationTime = ExpirationTime - 0.3
end
local Remains = ExpirationTime - HL.GetTime()
Expand Down

0 comments on commit 8a3c858

Please sign in to comment.