… | |
… | |
123 | =item no_steal (0|1) |
123 | =item no_steal (0|1) |
124 | |
124 | |
125 | Sets the flag FLAG_NO_STEAL. |
125 | Sets the flag FLAG_NO_STEAL. |
126 | See Flags section below. |
126 | See Flags section below. |
127 | |
127 | |
|
|
128 | =item reflecting (0|1) |
|
|
129 | |
|
|
130 | Sets the flag FLAG_REFLECTING. |
|
|
131 | See Flags section below. |
|
|
132 | |
|
|
133 | =item reflect_spell (0|1) |
|
|
134 | |
|
|
135 | Sets the flag FLAG_REFL_SPELL. |
|
|
136 | See Flags section below. |
|
|
137 | |
128 | =item no_skill_ident (0|1) |
138 | =item no_skill_ident (0|1) |
129 | |
139 | |
130 | Sets the flag FLAG_NO_SKILL_IDENT. |
140 | Sets the flag FLAG_NO_SKILL_IDENT. |
131 | See Flags section below. |
141 | See Flags section below. |
132 | |
142 | |
… | |
… | |
220 | skills. |
230 | skills. |
221 | |
231 | |
222 | This flag is used to mark objects to never being identified by a skill |
232 | This flag is used to mark objects to never being identified by a skill |
223 | once a player failed to identify an object. So that multiple tries |
233 | once a player failed to identify an object. So that multiple tries |
224 | of identifying aren't more effective than one. |
234 | of identifying aren't more effective than one. |
|
|
235 | |
|
|
236 | =item FLAG_REFLECTING |
|
|
237 | |
|
|
238 | This flag is used by spell effects, LIGHTNING, THROWN_OBJ and ARROW |
|
|
239 | to indicate whether this object reflects off walls. |
|
|
240 | |
|
|
241 | =item FLAG_REFL_SPELL |
|
|
242 | |
|
|
243 | This flag indicates whether something reflects spells, like spell reflecting |
|
|
244 | amuletts. |
225 | |
245 | |
226 | =back |
246 | =back |
227 | |
247 | |
228 | =head2 Description of type specific attributes |
248 | =head2 Description of type specific attributes |
229 | |
249 | |
… | |
… | |
493 | |
513 | |
494 | This field determines the type of the readable. |
514 | This field determines the type of the readable. |
495 | Please see common/readable.C in the readable_message_types table. |
515 | Please see common/readable.C in the readable_message_types table. |
496 | |
516 | |
497 | =back |
517 | =back |
|
|
518 | |
|
|
519 | =head3 CLOCK - type 9 - Clocks |
|
|
520 | |
|
|
521 | This type of objects just display the time when being applied. |
|
|
522 | |
|
|
523 | =head3 LIGHTNING - type 12 - Lightnings |
|
|
524 | |
|
|
525 | This is a spell effect of a moving bolt. It moves straigt forward |
|
|
526 | through the map until something blocks it. |
|
|
527 | If FLAG_REFLECTING is set it even reflects on walls. |
|
|
528 | |
|
|
529 | FLAG_IS_TURNABLE should be set on these objects. |
|
|
530 | |
|
|
531 | =over 4 |
|
|
532 | |
|
|
533 | =item attacktype <attacktype> |
|
|
534 | |
|
|
535 | The attacktype with which it hits the objects on the map. |
|
|
536 | |
|
|
537 | =item dam <number> |
|
|
538 | |
|
|
539 | The damage this bolt inflicts when it hits objects on the map. |
|
|
540 | |
|
|
541 | =item Dex <number> |
|
|
542 | |
|
|
543 | This is the fork percentage, it is reduced by 10 per fork. |
|
|
544 | And the damage is halved on each fork. |
|
|
545 | |
|
|
546 | =item Con <number> |
|
|
547 | |
|
|
548 | This value is a percentage of which the forking lightning |
|
|
549 | is deflected to the left. This value should be mostly used internally. |
|
|
550 | |
|
|
551 | =item duration <number> |
|
|
552 | |
|
|
553 | The duration the bolt stays on a map cell. This field is decreased each time |
|
|
554 | the object is processed (see the meaning of speed and speed_left fields in |
|
|
555 | the object general description). |
|
|
556 | |
|
|
557 | =item range <number> |
|
|
558 | |
|
|
559 | This is the range of the bolt, each space it advances this field is decreased. |
|
|
560 | |
|
|
561 | =back |
|
|
562 | |
498 | |
563 | |
499 | =head3 WEAPON - type 15 - Weapons |
564 | =head3 WEAPON - type 15 - Weapons |
500 | |
565 | |
501 | This type is for general hack and slash weapons like swords, maces |
566 | This type is for general hack and slash weapons like swords, maces |
502 | and daggers and and .... |
567 | and daggers and and .... |