… | |
… | |
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 gives the number of those body slots used up by the item, or |
|
|
873 | C<-1> for one handed weapons, C<-2> for two handed weapons, or C<-1> for |
|
|
874 | other very special things. |
|
|
875 | |
872 | =item I<resist_RESISTNACY> <number> |
876 | =item I<resist_RESISTANCY> <number> |
873 | |
877 | |
874 | this is the factor with which the difference of the players resistancy and 100% |
878 | this is the factor with which the difference of the players resistancy and 100% |
875 | is multiplied, something like this: |
879 | is multiplied, something like this: |
876 | |
880 | |
877 | additional_resistancy = (100 - current_resistanct) * (<number>/100) |
881 | additional_resistancy = (100 - current_resistancy) * (<number>/100) |
878 | |
882 | |
879 | if <number> is negative it is added to the total vulnerabilities, |
883 | if <number> is negative it is added to the total vulnerabilities, |
880 | and later the total resistance is decided by: |
884 | and later the total resistance is decided by: |
881 | |
885 | |
882 | 'total resistance = total protections - total vulnerabilities' |
886 | 'total resistance = total protections - total vulnerabilities' |
883 | |
887 | |
884 | see also common/living.C:fix_player |
888 | see also common/living.C:fix_player. |
885 | |
889 | |
886 | =item I<path_(attuned|repelled|denied)> |
890 | =item I<path_(attuned|repelled|denied)> |
887 | |
891 | |
888 | this field modifies the pathes the player is attuned to, see include/spells.h PATH_* |
892 | this field modifies the pathes the player is attuned to, see include/spells.h PATH_* |
889 | for the pathes. |
893 | for the pathes. |