[b28] Multihued Drake range.

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

[b28] Multihued Drake range.

#1 Post by lukep »

I have been repeatedly attacked by multihued Drakes at 11 range. Not only should they not be able to see me, their skills shouldn't reach that far.
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: [b28] Multihued Drake range.

#2 Post by tiger_eye »

This happened to me, too. By the way, they can't see you, but their skills can reach that far. I thought I posted a bug about this, but apparently I only discussed it in the in-game chat and IRC. So, here's what happened to me:

I teleported in the Vor Armory while fighting the GMHWs (in b26 or b27). Some had previously targeted me and were in the large room. They couldn't see me after I teleported (but I could see them due to having ~20 infravision), and they shouldn't have known I was there. Nevertheless, as I approached from a very long way off, they attacked with their high-ranged breaths, which had higher range than their sight. I ducked behind a corner and hoped they would chase after me. Unfortunately, they didn't actually see me when they attacked me, so they didn't chase after me.

This behavior is a result of how tactical ai determines which talents are available to use. See lines 80-81 in file "game/modules/tome/ai/tactical.lua":

Code: Select all

-- Only assume range... some talents may no require LOS, etc
local within_range = target_dist and target_dist <= (self:getTalentRange(t) + self:getTalentRadius(t))
This doesn't check sight, telepathy, or infravision range. If you're within the range of the talent, then apparently it can use the talent. Not all talents require LoS (as noted with the comment in the code above), but shouldn't they require knowledge of a player's location (or use prior knowledge of location)?

I believe this is also the reason Lich--even if they're in an unopened vault--can summon shadows to harass the player from afar without prior knowledge of the location of the player.

CaptainTrips
Wyrmic
Posts: 227
Joined: Thu Mar 10, 2011 9:10 pm

Re: [b28] Multihued Drake range.

#3 Post by CaptainTrips »

tiger_eye wrote: I believe this is also the reason Lich--even if they're in an unopened vault--can summon shadows to harass the player from afar without prior knowledge of the location of the player.
I find this behavior incredibly annoying, especially as whenever I encounter them they seem to be about 20 levels out of depth.

evouga
Wyrmic
Posts: 231
Joined: Tue Jul 06, 2010 1:03 am

Re: [b28] Multihued Drake range.

#4 Post by evouga »

I cleared out the Room of Death last night and had to deal with the wyrms breathing from infinite range. I'm not sure if the problem is that LOS isn't being taken into account, or just that the breath has way too high range in the first place.

Post Reply