TL2Effect = class(TL2Object)

Class describing ingame effects

Name Result Description Code Params Examples
Level Cardinal Buff or skill level
function Level: Cardinal;
There are no arguments Examples not found
EndTime Cardinal Expiration time (for buffs) \ cooldown time (for skills)
function EndTime: Cardinal;
There are no arguments
for i:= 0 to User.Buffs.Count-1 do Print(User.Buffs.Items(i).Name +': '+IntToStr(User.Buffs.Items(i).EndTime) +' ms');