Closed limjeck closed 3 years ago
https://github.com/Snoresville/dota2buttemplate_fixed/blob/80a9e1587343bc4eaf932a31f8fb72d6f9ba341f/game/dota_addons/addon_template_butt/scripts/vscripts/internal/panorama.lua#L136 should be replaced with playerInfo[pID].DamageTaken = PlayerResource:GetCreepDamageTaken(pID, true) + PlayerResource:GetHeroDamageTaken(pID, true) + PlayerResource:GetTowerDamageTaken(pID, true)
playerInfo[pID].DamageTaken = PlayerResource:GetCreepDamageTaken(pID, true) + PlayerResource:GetHeroDamageTaken(pID, true) + PlayerResource:GetTowerDamageTaken(pID, true)
https://github.com/Snoresville/dota2buttemplate_fixed/blob/80a9e1587343bc4eaf932a31f8fb72d6f9ba341f/game/dota_addons/addon_template_butt/scripts/vscripts/internal/panorama.lua#L136 should be replaced with
playerInfo[pID].DamageTaken = PlayerResource:GetCreepDamageTaken(pID, true) + PlayerResource:GetHeroDamageTaken(pID, true) + PlayerResource:GetTowerDamageTaken(pID, true)