This commit is contained in:
2024-08-24 22:41:08 +02:00
parent 77f1ac5d7a
commit c21f59778f
431 changed files with 68581 additions and 68581 deletions

View File

@@ -1,22 +1,22 @@
--UNIT_COMBAT
function(_, target, event, _, amount)
if target == "player" and event ~= "HEAL" and amount then
aura_env.lasthit = GetTime()
return true
end
end
--UNTRIGGER
function()
if aura_env.lasthit + 5 < GetTime() then
return true
end
end
--DURATION
function()
return 5, aura_env.lasthit + 5
end
--INIT
--UNIT_COMBAT
function(_, target, event, _, amount)
if target == "player" and event ~= "HEAL" and amount then
aura_env.lasthit = GetTime()
return true
end
end
--UNTRIGGER
function()
if aura_env.lasthit + 5 < GetTime() then
return true
end
end
--DURATION
function()
return 5, aura_env.lasthit + 5
end
--INIT
aura_env.lasthit = 0