… | |
… | |
359 | =head3 B<TRANSPORT> - type 2 - Player transports |
359 | =head3 B<TRANSPORT> - type 2 - Player transports |
360 | |
360 | |
361 | This type is implemented by the transport extension and has currently no special |
361 | This type is implemented by the transport extension and has currently no special |
362 | fields that affect it. |
362 | fields that affect it. |
363 | |
363 | |
364 | =head3 B<ROD> - type 3 - Rods that fire spells |
364 | =head3 B<ROD>, B<HORN> - type 3, 35 - Rods that fire spells |
365 | |
365 | |
366 | Rods contain spells and can be fired by a player. |
366 | Rods contain spells and can be fired by a player. |
367 | |
367 | |
368 | =over 4 |
368 | =over 4 |
369 | |
369 | |
… | |
… | |
375 | the 'use magic item' skill level of the player and 1/10 of the level of the |
375 | the 'use magic item' skill level of the player and 1/10 of the level of the |
376 | rod is added as bonus. |
376 | rod is added as bonus. |
377 | |
377 | |
378 | =item I<hp> <number> |
378 | =item I<hp> <number> |
379 | |
379 | |
380 | The amount of spellpoints this rod has left. |
380 | The amount of spellpoints this rod has left. Recharges at a rate of C<1 + |
|
|
381 | maxhp/10> per tick. |
381 | |
382 | |
382 | =item I<maxhp> <number> |
383 | =item I<maxhp> <number> |
383 | |
384 | |
384 | The maximum amount of spellpoints this rod has. |
385 | The maximum amount of spellpoints this rod has. |
385 | |
386 | |
… | |
… | |
563 | |
564 | |
564 | =over 4 |
565 | =over 4 |
565 | |
566 | |
566 | =item I<level> <number> |
567 | =item I<level> <number> |
567 | |
568 | |
568 | This field affects the propability of poisoning. The higher the level difference |
569 | This field affects the probability of poisoning. The higher the level difference |
569 | between the one who is hit and the poision the more propable it is the attacked |
570 | between the one who is hit and the poision the more probable it is the attacked |
570 | one will be poisoned. |
571 | one will be poisoned. |
571 | |
572 | |
572 | =item I<slaying> <race> |
573 | =item I<slaying> <race> |
573 | |
574 | |
574 | This field has the usual meaning of 'slaying', when the |
575 | This field has the usual meaning of 'slaying', when the |
… | |
… | |
700 | the arrows I<dam> field, the bows I<dam> field, the bows I<magic> field |
701 | the arrows I<dam> field, the bows I<dam> field, the bows I<magic> field |
701 | and the arrows I<magic> field. |
702 | and the arrows I<magic> field. |
702 | |
703 | |
703 | =item I<wc> <number> |
704 | =item I<wc> <number> |
704 | |
705 | |
705 | The weapon class of the arrow, which has effect on the propability of hitting. |
706 | The weapon class of the arrow, which has effect on the probability of hitting. |
706 | |
707 | |
707 | It is recomputed when the arrow is being fired by this formula: |
708 | It is recomputed when the arrow is being fired by this formula: |
708 | |
709 | |
709 | wc = 20 - bow->magic - arrow->magic - (skill->level or shooter->level) |
710 | wc = 20 - bow->magic - arrow->magic - (skill->level or shooter->level) |
710 | - dex_bonus - thaco_bonus - arrow->stats.wc - bow->stats.wc + wc_mod |
711 | - dex_bonus - thaco_bonus - arrow->stats.wc - bow->stats.wc + wc_mod |
… | |
… | |
725 | Bitfield which decides the attacktype of the damage, see include/attackinc.h |
726 | Bitfield which decides the attacktype of the damage, see include/attackinc.h |
726 | On fireing the I<attacktype> of the bow is added to the arrows I<attacktype>. |
727 | On fireing the I<attacktype> of the bow is added to the arrows I<attacktype>. |
727 | |
728 | |
728 | =item I<level> <number> (interally used) |
729 | =item I<level> <number> (interally used) |
729 | |
730 | |
730 | The level of the arrow, this affects the propability of piercing FLAG_REFL_MISSILE, |
731 | The level of the arrow, this affects the probability of piercing FLAG_REFL_MISSILE, |
731 | see above in the B<ARROW> description. |
732 | see above in the B<ARROW> description. |
732 | |
733 | |
733 | The I<level> is set when the arrow is fired to either the skill level or the |
734 | The I<level> is set when the arrow is fired to either the skill level or the |
734 | shooters level. |
735 | shooters level. |
735 | |
736 | |