ITEM ARMOR: Difference between revisions
No edit summary |
No edit summary |
||
| Line 77: | Line 77: | ||
Hold 0 4 4 " " | Hold 0 4 4 " " | ||
See also: [[OEDIT]], [[OSET]], [[ITEM_TYPES]], [[ | See also: [[OEDIT]], [[OSET]], [[ITEM_TYPES]], [[ITEM_APPLYS]] | ||
[[CATEGORY:OLC]] | [[CATEGORY:OLC]] | ||
Revision as of 03:31, 13 February 2009
This item type protects you from getting hit. A character having an armor class of 100 is basically naked. A character with an armor class of -100 is an armored battle tank. (Any armor class less then -100 is wasted)
There are three types of armor classes: 1) Basic AC, which is what is expected to be in v0 of the ITEM_TYPE. 2) Magical AC which is defined as an APPLY. 2) Total AC, which is what appears in the game.
For armor that are worn on the body, the total ac applied to a person is: basic ac * 3 + magical ac
For armor that is worn on the head or legs, the total ac applied is: basic ac * 2 + magical ac
For all other wear locations, the total ac applied is: basic ac + magical ac
Examples: Let's say we have an object that is set to be worn on the body: v0 = 6 Will yield a total ac drop of 3*6 + any magical applies.
Let's say we have an object that is set to be worn on the legs: v0 = 3 Will yield a total ac drop of 2*3 + any magical applies.
Let's say we have an object that is set to be worn on the fingers: v0 = 1 Will yield a total ac drop of 1*1 + any magical applies.
The above examples show how "basic" armor class - the value expected by the ITEM_TYPE command - works. Positive numbers will DECREASE a player's armor class. Negative ones will INCREASE it.
Magical armor class is defined as an ITEM_APPLY. This allows you to modify armor clases with objects that aren't defined as armor for one reason or another. The format to do this is:
oset apply armor <ac apply>
oset apply armor -4
This will make the object decrease the person's armor class by 4 points, and can be applied to _ANY_ type of object.
Please note that the sign convention is the exact opposite of the one used in the ITEM_TYPE ARMOR. Here, negative numbers are desireable and positive ones are "bad".
NOTES: In the interest of overall game balance, certain restrictions have been placed on the maximum values that the ac may be set to. These vary according to the position that the object can be worn on. The current defaults are:
WARNING: This chart may be out of date as of 12/16/97, it needs to be gone over.
Location Basic Magical Total 13:07, 19 November 2008 (UTC)13:07, 19 November 2008 (UTC)13:07,
19 November 2008 (UTC)13:07, 19 November 2008 (UTC)13:07, 19 November 2008 (UTC)13:07, 19 November 2008 (UTC)13:07, 19 November 2008 (UTC)13:07, 19 November 2008
(UTC)13:07, 19 November 2008 (UTC)13:07, 19 November 2008 (UTC)Kahlan Body: 10 10 36 (Basic*3 + magical) Head 5 5 10 (Basic*2 + magical) Legs 7 8 19 (Basic*2 + magical) Fingers 1 2 2 (Basic + magical) Neck 3 9 9 " " Feet 6 7 10 " " Hands 6 7 10 " " Arms 7 7 12 " " Shield 8 8 14 " " About Body 6 10 12 " " Waist 6 6 10 " " Wrist 3 5 5 " " Wield 0 0 0 " " Hold 0 4 4 " "
See also: OEDIT, OSET, ITEM_TYPES, ITEM_APPLYS