Tested Twitch's E with buff named "TwitchDeadlyVenom":
- buff.count - returns 0 or 1
- buff.stacks - returns 0
for i, enemy in pairs(GetEnemyHeroes()) do
for i = 0, enemy.buffCount do
local buff = enemy:GetBuff(i)
if buff and buff.name == "TwitchDeadlyVenom" and buff.count > 0 then
print(buff.stacks)
print(buff.count)
end
end
end
Sign In
Create Account
This topic is locked
Back to top
Report










