Bug 184 - AI of troll is broken
: AI of troll is broken
Status: CONFIRMED
Product: Legacy Haven
Classification: Unclassified
Component: Server
: unspecified
: All All
: High critical
Assigned To: loftar
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-27 22:39 CEST by wad
Modified: 2013-10-01 03:08 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wad 2013-08-27 22:39:34 CEST
Troll uses ranged attack in melee combat.
It could be killed only by exploits.

http://www.youtube.com/watch?v=ku_1bbZSEbM
Comment 1 Xcom 2013-10-01 03:08:30 CEST
Trolls only do the ranged stone move if the target is to far away, can't be reached or if the target is standing directly in front of the player. The pathfinder probably gets confused and thinks the target is unreachable if the target is to close, otherwise the stone move works perfectly fine.

This video shows that the stone move only is broken when the target stands still and allows for the troll to get to close.

http://www.youtube.com/watch?v=d7PppghgkwI

Maybe a possible fix would be to have the troll check if the target is within its attack distance before doing the move. Something like preventing stone move if its target is inside a rectangle around the troll.