… | |
… | |
393 | <entry value="11" name="close" /> |
393 | <entry value="11" name="close" /> |
394 | <entry value="12" name="timer" /> |
394 | <entry value="12" name="timer" /> |
395 | <entry value="28" name="move" /> |
395 | <entry value="28" name="move" /> |
396 | </list> |
396 | </list> |
397 | |
397 | |
|
|
398 | <list name="attack_movement_bits_0_3"> |
|
|
399 | <entry value="0" name="default" /> |
|
|
400 | <entry value="1" name="attack from distance" /> |
|
|
401 | <entry value="2" name="run away" /> |
|
|
402 | <entry value="3" name="hit and run" /> |
|
|
403 | <entry value="4" name="wait, then hit, then move" /> |
|
|
404 | <entry value="5" name="rush blindly" /> |
|
|
405 | <entry value="6" name="always run" /> |
|
|
406 | <entry value="7" name="attack from distance if hit" /> |
|
|
407 | <entry value="8" name="do not approach" /> |
|
|
408 | </list> |
|
|
409 | |
|
|
410 | <list name="attack_movement_bits_4_7"> |
|
|
411 | <entry value="0" name="none" /> |
|
|
412 | <entry value="16" name="pet" /> |
|
|
413 | <entry value="32" name="small circle" /> |
|
|
414 | <entry value="48" name="large circle" /> |
|
|
415 | <entry value="64" name="small horizontal" /> |
|
|
416 | <entry value="80" name="large horizontal" /> |
|
|
417 | <entry value="96" name="random direction" /> |
|
|
418 | <entry value="112" name="random movement" /> |
|
|
419 | <entry value="128" name="small vertical" /> |
|
|
420 | <entry value="144" name="large vertical" /> |
|
|
421 | </list> |
|
|
422 | |
398 | <!--###################### default attributes ######################--> |
423 | <!--###################### default attributes ######################--> |
399 | |
424 | |
400 | <!-- |
425 | <!-- |
401 | The attributes of the default_type get added to all other types by default. |
426 | The attributes of the default_type get added to all other types by default. |
402 | Every type can have an 'ignore' element however, which is used to specify |
427 | Every type can have an 'ignore' element however, which is used to specify |
… | |
… | |
3145 | the creature wakes up. This is done as a square, for reasons of speed. |
3170 | the creature wakes up. This is done as a square, for reasons of speed. |
3146 | Thus, if the <sensing range> is 11, any player that moves within the |
3171 | Thus, if the <sensing range> is 11, any player that moves within the |
3147 | 11x11 square of the monster will wake the monster up. If the player |
3172 | 11x11 square of the monster will wake the monster up. If the player |
3148 | has stealth, the size of this square is reduced in half plus 1. |
3173 | has stealth, the size of this square is reduced in half plus 1. |
3149 | </attribute> |
3174 | </attribute> |
3150 | <attribute arch="attack_movement" editor="attack movement" type="int"> |
3175 | <attribute arch="attack_movement_bits_0_3" editor="attack movement" type="list_attack_movement_bits_0_3"> |
|
|
3176 | If this is set to default, the standard mode of movement will be used. |
|
|
3177 | </attribute> |
|
|
3178 | <attribute arch="attack_movement_bits_4_7" editor="normal movement" type="list_attack_movement_bits_4_7"> |
|
|
3179 | This movement is not in effect when the monster has an enemy and should |
|
|
3180 | only be used for non agressive monsters. |
3151 | </attribute> |
3181 | </attribute> |
3152 | <attribute arch="run_away" editor="run at % health" type="int"> |
3182 | <attribute arch="run_away" editor="run at % health" type="int"> |
3153 | This is a percentage value in the range 0-100. |
3183 | This is a percentage value in the range 0-100. |
3154 | When the monster's health points drop below this percentage |
3184 | When the monster's health points drop below this percentage |
3155 | (relative to max health), it attempts to run away from the |
3185 | (relative to max health), it attempts to run away from the |