yvsarkisyan / keeperfx

Automatically exported from code.google.com/p/keeperfx
0 stars 0 forks source link

Vampires teleport out of locked rooms #317

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Load the attached save to see 2 vampires locked in a scavenging room. It is 10 
seconds to payday, upon which they teleport out of the locked room.

They should not be allowed to teleport out of locked rooms.

They can also teleport back to your dungeon from an island surrounded by lava.

Original issue reported on code.google.com by gaschamberblues on 12 Jun 2014 at 1:32

Attachments:

GoogleCodeExporter commented 9 years ago
Mistresses seem to do the same thing. When they get bored they seek enemy by 
teleporting into a room locked with enemy hero doors without attacking the door 
itself.

Original comment by gaschamberblues on 13 Jun 2014 at 5:50

GoogleCodeExporter commented 9 years ago
I couldn't reproduce that in a saved game I created. If only locked doors 
belong to the player, vampires can't teleport outside.

Could you provide a saved game for latest nightly?

Original comment by mefistotelis on 14 Jun 2014 at 10:09

GoogleCodeExporter commented 9 years ago
Here it is on r1187. Simply wait 10s for payday.

Original comment by gaschamberblues on 15 Jun 2014 at 7:35

Attachments:

GoogleCodeExporter commented 9 years ago
I see.

This is a pathfinding issue, I'm not sure how to solve it yet.

Probably the only solution will be to re-compute the path just before using 
teleport.

Original comment by mefistotelis on 15 Jun 2014 at 3:21

GoogleCodeExporter commented 9 years ago
Changing that is a gameplay mechanics decision, so I started discussion 
regarding teleport:
http://keeperklan.com/threads/4729-Teleporting-behind-locked-doors?p=47716

Original comment by mefistotelis on 15 Jun 2014 at 8:09