Difference between revisions of "Force"
Jump to navigation
Jump to search
(Created page with "Force is a variable used only to determine how far an item is thrown with the (t)hrow command. Force is equivalent to the entity's current ASTR. <pre>void character:...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Force is a variable used only to determine how far an item is [[Throwing|thrown]] with the (t)hrow command. Force is equivalent to the entity's current ASTR. | + | {{spoiler}} |
+ | Force is a variable used only to determine how far an item is [[Throwing|thrown]] with the (t)hrow command. Force is equivalent to the entity's current ASTR.<br> | ||
+ | It is not ''directly'' used to determine whether an item breaks from being hit with an attack, that is dependent on the damage value of the attack which may or may not involve Force. | ||
<pre>void character::ThrowItem(int Direction, item* ToBeThrown) | <pre>void character::ThrowItem(int Direction, item* ToBeThrown) | ||
{ | { |
Latest revision as of 08:23, 12 August 2014
Spoiler Warning: This page contains spoilers which may affect your IVAN experience negatively
Force is a variable used only to determine how far an item is thrown with the (t)hrow command. Force is equivalent to the entity's current ASTR.
It is not directly used to determine whether an item breaks from being hit with an attack, that is dependent on the damage value of the attack which may or may not involve Force.
void character::ThrowItem(int Direction, item* ToBeThrown) { if(Direction > 7) ABORT("Throw in TOO odd direction..."); ToBeThrown->Fly(this, Direction, GetAttribute(ARM_STRENGTH)); }