Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000419Dwarf FortressCombat -- Generalpublic2010-04-04 14:172011-03-09 17:24
ReporterMatt_S 
Assigned ToToady One 
PrioritynormalSeverityminorReproducibilitysometimes
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.31.01 
Target VersionFixed in Version0.31.22 
Summary0000419: Can attack creatures in melee across several Z levels
DescriptionI fought an eagle vs eagle duel in arena mode, and I tried flying upwards to get distance from my opponent, but even across about 5 Z levels, he was able to bite my head. I figured out I was also able to attack and wrestle him back, using the 'A' menu.
TagsArena Mode, combat, Z axis
Attached Files

- Relationships
has duplicate 0000464resolvedToady One Dwarf killed 10z levels away 
has duplicate 0000693resolvedToady One Multiple simultaneous bugs. 
has duplicate 0001165resolvedToady One Shift A menu shows targets that are not anywhere within view, and are attackable. Save included. 
has duplicate 0003474resolvedLogical2u Could attack through 40 z-levels 
has duplicate 0003652resolvedFootkerchief Phantom Blind Cave Ogre 
has duplicate 0004029resolvedDwarfu Flying and attempting combat with a creature directly beneath you allows you to attack any creature in that tile any z-level. 
related to 0000362confirmedFootkerchief Interrupted by forgotten beast -- Through 20 z-levels of solid rock with no possible path 
related to 0002267acknowledgedFootkerchief Martial trances can be triggered by distant and invisible underground creatures 

-  Notes
(0001988)
Footkerchief (manager)
2010-04-08 02:50

Apparently this can also cause teleportation http://www.bay12games.com/forum/index.php?topic=53464.0 [^]
(0002824)
smjjames (reporter)
2010-04-11 10:01

I had something similar in the arena. I was playing one of the flying cavern creatures (forget which one) and as I was trying to kill an olmman, I moved to the edge and past it, which resulted in the olmman falling off. I was still able to grasp and attack it despite there being one z-level of open space between us.
(0004677)
blazzano (reporter)
2010-04-22 22:47

For what it's worth, I have seen this behavior (or one similar to it) in 40d. It was in Adventurer mode, and one of my companions was attacked and wrestled by a cave swallowman more than five Z levels up. I was able to hit him with melee attacks; with the fatal blow, the cave swallowman suddenly appeared on my z-level, and then continued flying off to the side in the standard melee weapon "propelled away by the force of the blow" thing.
(0009173)
Quil (reporter)
2010-06-27 14:50

Can confirm this kind of thing happens. It looks like creatures can treat targets on different z-levels as adjacent. An Olm-man civilisation is preventing me from mining vertically down to it in fort mode because about ten z-levels up (I know where it is due to the pile of forbidden food 60 levels down) I'll get "miner cancels dig: Interrupted by Olm-man blowgunner". Going to the combat log give the entry "The Miner bats the ({Nether-cap blowdart}) out of the air!" (indicating a successful parry against a ranged weapon) and the location of the combat event is the tile the miner was attempting to dig from, where of course there is no connection to anything except the surface, 50 levels up. Of the Olm-man, there is no sign, even on the units menu.
(0009175)
smjjames (reporter)
2010-06-27 15:51

Any idea if the Olmman had a LoS to your miner? It sounds like it doesn't, but just being sure here.

The olmman is going to run out of darts sooner or later anyhow.
(0011661)
Evil One (reporter)
2010-08-09 08:40
edited on: 2010-08-09 08:51

I think this bug is caused when the AI first spots a person, they seem to enter a queued command to attack (which means they charge towards an opponent and hit it), however the queued command doesn't consider moving up or down Z levels as distance and thus they will launch their first attack regardless of what Z level their target is on.

A simple adjacency or pathfinding check just before the creature attacks should solve this.

EDIT - this bug can be easily reproduced in the arena: create an elf and a bat man on opposite sides of the arena, possess the bat man and wait for the elf to start moving towards you and then fly straight up.


- Issue History
Date Modified Username Field Change
2010-04-04 14:17 Matt_S New Issue
2010-04-04 16:48 Qloos Tag Attached: Arena Mode
2010-04-04 16:48 Qloos Tag Attached: combat
2010-04-04 16:48 Qloos Tag Attached: Z axis
2010-04-05 09:04 Footkerchief Relationship added parent of 0000464
2010-04-07 01:06 Footkerchief Relationship added parent of 0000693
2010-04-07 01:07 Footkerchief Sticky Issue No => Yes
2010-04-08 02:50 Footkerchief Note Added: 0001988
2010-04-11 10:01 smjjames Note Added: 0002824
2010-04-14 15:57 Footkerchief Relationship added parent of 0001165
2010-04-20 01:55 Khym Chanur Issue Monitored: Khym Chanur
2010-04-22 22:47 blazzano Note Added: 0004677
2010-05-05 13:28 Footkerchief Relationship added has duplicate 0001769
2010-05-05 13:28 Footkerchief Relationship deleted has duplicate 0001769
2010-06-15 10:39 Conti Issue Monitored: Conti
2010-06-27 14:50 Quil Note Added: 0009173
2010-06-27 15:51 smjjames Note Added: 0009175
2010-08-09 08:40 Evil One Note Added: 0011661
2010-08-09 08:41 Evil One Note Edited: 0011661 View Revisions
2010-08-09 08:43 Evil One Note Edited: 0011661 View Revisions
2010-08-09 08:51 Evil One Note Edited: 0011661 View Revisions
2010-10-26 18:49 Logical2u Relationship added has duplicate 0003474
2010-11-17 07:03 Footkerchief Relationship added has duplicate 0003652
2010-11-17 10:09 Footkerchief Relationship added related to 0000362
2011-02-19 15:31 Dwarfu Relationship added has duplicate 0004029
2011-03-09 04:04 Toady One Status new => resolved
2011-03-09 04:04 Toady One Fixed in Version => 0.31.22
2011-03-09 04:04 Toady One Resolution open => fixed
2011-03-09 04:04 Toady One Assigned To => Toady One
2011-03-09 04:56 Dwarfu Sticky Issue Yes => No
2011-03-09 07:36 Conti Issue End Monitor: Conti
2011-03-09 17:24 Khym Chanur Issue End Monitor: Khym Chanur
2011-03-13 17:43 Footkerchief Relationship replaced has duplicate 0000464
2011-03-13 17:43 Footkerchief Relationship replaced has duplicate 0000693
2011-03-13 17:44 Footkerchief Relationship replaced has duplicate 0001165
2011-03-14 13:59 Footkerchief Relationship added related to 0002267


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker