Roundness

From IvanWiki
Revision as of 23:39, 2 August 2014 by 4zb4 (talk | contribs) (Created page with "Roundness is an item value used to determine its capacity to block incoming attacks.<br> In general the higher an item's roundness and size is, the better it is at blocking attac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Roundness is an item value used to determine its capacity to block incoming attacks.
In general the higher an item's roundness and size is, the better it is at blocking attacks. If the item is a shield it gains an additional bonus.

long item::GetBlockModifier() const
{
  if(!IsShield(0))
    return GetSize() * GetRoundness() << 1;
  else
    return GetSize() * GetRoundness() << 2;
}