Go Back   Angband Forums > Angband > Vanilla

Thread Tools Display Modes
Old June 23, 2022, 09:51   #1
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,938
PowerWyrm is on a distinguished road
Monster pathing + damaging terrain

I was toying around with a great hell wyrm which breathed fire and generated a tile of lava. After killing it, a great storm wyrm came along and refused to cross the lava tile, so I was able to kill it from distance without ever having to care about melee damage. Looking at the code, crossing lava does 100+d100 damage... while the great storm wyrm has 4200 hps and could easily afford to lose 5% of its hp to cross one damaging tile.

Maybe such case should be allowed? Shouldn't be too hard to implement "if there's no other path and damage from damaging tile is less than x% of current hp, cross tile".
PWMAngband variant maintainer - check (or to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old June 23, 2022, 16:12   #2
Join Date: Apr 2021
Posts: 122
Julian is on a distinguished road
It's a bit more complex than that, because of the possibility of multiple lava tiles.

Also, with the wizard's controlled teleport, you could bounce from side to side of a lava tile, grinding down the critter's HP, while never exposing yourself to LOS. Eventually, it'd stop trying, but at that point it's a lot less dangerous.

(And what happens if you paralyze a monster on a lava tile?)

Mostly, the AI was written before the existence of squares that block movement but not line of sight, and doesn't handle it well.

Logically, the appropriate response for a monster blocked by lava would be to increase its use of ranged abilities, but that's got its own problems.
Julian is offline   Reply With Quote
Old June 23, 2022, 23:13   #3
Vanilla maintainer
Nick's Avatar
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,402
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Every now and then the player needs to get a win
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tiles for terrain only KesTheHammer Variants 1 April 20, 2021 15:32
Stupid monster behavior when facing damaging terrain PowerWyrm Vanilla 2 September 19, 2020 19:10
Terrain Nick Vanilla 45 November 13, 2016 22:54
Terrain Nick Vanilla 14 February 23, 2014 00:07
Adding terrain to V Therem Harth Development 14 March 22, 2013 22:15

All times are GMT +1. The time now is 17:22.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.