… | |
… | |
105 | 3 => 'Open Doors' |
105 | 3 => 'Open Doors' |
106 | } |
106 | } |
107 | ); |
107 | ); |
108 | |
108 | |
109 | our %LIST = ( |
109 | our %LIST = ( |
|
|
110 | attack_movement_bits_0_3 => { |
|
|
111 | 0 => 'default', |
|
|
112 | 1 => 'attack from distance', |
|
|
113 | 2 => 'run away', |
|
|
114 | 3 => 'hit and run', |
|
|
115 | 4 => 'wait, then hit, then move', |
|
|
116 | 5 => 'rush blindly', |
|
|
117 | 6 => 'always run', |
|
|
118 | 7 => 'attack from distance if hit', |
|
|
119 | 8 => 'do not approach' |
|
|
120 | }, |
|
|
121 | attack_movement_bits_4_7 => { |
|
|
122 | 0 => 'none', |
|
|
123 | 16 => 'pet', |
|
|
124 | 32 => 'small circle', |
|
|
125 | 48 => 'large circle', |
|
|
126 | 64 => 'small horizontal', |
|
|
127 | 80 => 'large horizontal', |
|
|
128 | 96 => 'random direction', |
|
|
129 | 112 => 'random movement', |
|
|
130 | 128 => 'small vertical', |
|
|
131 | 144 => 'large vertical' |
|
|
132 | }, |
110 | direction => { |
133 | direction => { |
111 | 0 => '<none>', |
134 | 0 => '<none>', |
112 | 1 => 'north', |
135 | 1 => 'north', |
113 | 2 => 'northeast', |
136 | 2 => 'northeast', |
114 | 3 => 'east', |
137 | 3 => 'east', |
… | |
… | |
4244 | name => 'sensing range', |
4267 | name => 'sensing range', |
4245 | type => 'int' |
4268 | type => 'int' |
4246 | } |
4269 | } |
4247 | ], |
4270 | ], |
4248 | [ |
4271 | [ |
4249 | 'attack_movement', |
4272 | 'attack_movement_bits_0_3', |
4250 | { |
4273 | { |
|
|
4274 | desc => 'If this is set to default, the standard mode of movement will be used.', |
4251 | name => 'attack movement', |
4275 | name => 'attack movement', |
4252 | type => 'int' |
4276 | type => 'list', |
|
|
4277 | value => $LIST{attack_movement_bits_0_3} |
|
|
4278 | } |
|
|
4279 | ], |
|
|
4280 | [ |
|
|
4281 | 'attack_movement_bits_4_7', |
|
|
4282 | { |
|
|
4283 | desc => 'This movement is not in effect when the monster has an enemy and should only be used for non agressive monsters.', |
|
|
4284 | name => 'normal movement', |
|
|
4285 | type => 'list', |
|
|
4286 | value => $LIST{attack_movement_bits_4_7} |
4253 | } |
4287 | } |
4254 | ], |
4288 | ], |
4255 | [ |
4289 | [ |
4256 | 'run_away', |
4290 | 'run_away', |
4257 | { |
4291 | { |