… | |
… | |
864 | Generally this field on weapons is in ranges of 1-30 and decides the slowdown of the |
864 | Generally this field on weapons is in ranges of 1-30 and decides the slowdown of the |
865 | I<sp> regeneration. |
865 | I<sp> regeneration. |
866 | |
866 | |
867 | =item I<body_BODYSLOT> |
867 | =item I<body_BODYSLOT> |
868 | |
868 | |
869 | The part of the body you need to use this weapon, possible values should be |
869 | The part/slot of the body you need to use this weapon, possible values for |
870 | looked up in common/item.C at body_locations. |
870 | C<BODYSLOT> should be looked up in common/item.C at body_locations. |
871 | |
871 | |
|
|
872 | The value (in the range C<-7..7>) gives the number of those body slots |
|
|
873 | used up by the item (if negative) or the number of body slots this object |
|
|
874 | has (if positive, e.g. for monsters or players). The special value C<0> |
|
|
875 | indicates that this object cannot equip items requiring these body slots. |
|
|
876 | |
872 | =item I<resist_RESISTNACY> <number> |
877 | =item I<resist_RESISTANCY> <number> |
873 | |
878 | |
874 | this is the factor with which the difference of the players resistancy and 100% |
879 | this is the factor with which the difference of the players resistancy and 100% |
875 | is multiplied, something like this: |
880 | is multiplied, something like this: |
876 | |
881 | |
877 | additional_resistancy = (100 - current_resistanct) * (<number>/100) |
882 | additional_resistancy = (100 - current_resistancy) * (<number>/100) |
878 | |
883 | |
879 | if <number> is negative it is added to the total vulnerabilities, |
884 | if <number> is negative it is added to the total vulnerabilities, |
880 | and later the total resistance is decided by: |
885 | and later the total resistance is decided by: |
881 | |
886 | |
882 | 'total resistance = total protections - total vulnerabilities' |
887 | 'total resistance = total protections - total vulnerabilities' |
883 | |
888 | |
884 | see also common/living.C:fix_player |
889 | see also common/living.C:fix_player. |
885 | |
890 | |
886 | =item I<path_(attuned|repelled|denied)> |
891 | =item I<path_(attuned|repelled|denied)> |
887 | |
892 | |
888 | this field modifies the pathes the player is attuned to, see include/spells.h PATH_* |
893 | this field modifies the pathes the player is attuned to, see include/spells.h PATH_* |
889 | for the pathes. |
894 | for the pathes. |