EC: frequent paperdoll data scanning
In EC, a paperdoll rescan is triggered when damage is taken, including checking durability status, updating colors, etc.
This is triggered at relatively high frequency, whether it's the player, or their pet, or monsters taking damage.
Change below to damagewindow.lua, DamageWindow.Init() to only trigger this logic if it's the player taking damage. Pets and monsters receiving damage will no longer trigger this logic.
move this line:
PaperdollWindow.GotDamage = true
here:
elseif (Damage.mobileId == WindowData.PlayerStatus.PlayerId ) then
PaperdollWindow.GotDamage = true
Comments
The dimensions are 450x80