Difference between revisions of "Roundness"

From IvanWiki
Jump to navigation Jump to search
m
(Undo revision 5060 by 4zb4 (talk))
Line 2: Line 2:
  
 
Roundness is an item value used to determine its capacity to block incoming attacks.<br>
 
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 attacks. If the item is a [[Shields|shield]] its blocking potential is doubled.
+
In general the higher an item's roundness and size is, the better it is at blocking attacks. If the item is a [[Shields|shield]] it gains an additional bonus.
  
 
<pre>
 
<pre>

Revision as of 00:22, 3 August 2014

Spoiler Warning: This page contains spoilers which may affect your IVAN experience negatively


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;
}