Commit 13db04d introduced different code for lighting which only consider TORCH features. Before, it was considering all COLOR_WHITE features. Result: stairs aren't lit differently anymore (ASCII mode). Maybe they should get the TORCH flag.
Current master post 4.2.0
Collapse
X
-
PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! -
OK, they get the TORCH flag.One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Commit 62e771f has probably the logic reversed:
Code:/* Taking damage from terrain makes moving vital */ if (monster_taking_terrain_damage(mon)) { /* If the player is not currently near the monster, no reason to flow */ if (mon->cdis >= mon->best_range) { return false; } /* Monster is too far away to use sound or scent */ if (!monster_can_hear(c, mon) && !monster_can_smell(c, mon)) { return false; } }
Last edited by PowerWyrm; February 20, 2020, 14:16.PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!Comment
-
Commit 62e771f has probably the logic reversed:
Code:/* Taking damage from terrain makes moving vital */ if (monster_taking_terrain_damage(mon)) { /* If the player is not currently near the monster, no reason to flow */ if (mon->cdis >= mon->best_range) { return false; } /* Monster is too far away to use sound or scent */ if (!monster_can_hear(c, mon) && !monster_can_smell(c, mon)) { return false; } }
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
New builds up on the nightlies page and angband.live (source is here) with the following changes:- Fix to the weird visual effect when there's a panel change while running, showing two players (thanks Diego)
- Added back sounds for food changes (thanks PowerWyrm)
- Stairs get torchlit (PowerWyrm)
- Logic in monster fleeing from damaging terrain corrected (PowerWyrm)
- Trap immunity and aggravation runes are now learned correctly (#4195)
- Problems with door openeing and running with trap immunity fixed (#4235)
- Upgrades to readme (thanks cameron ball and fruviad)
- Change to scalable tiles in macOS port (hurrah!), and some display code correction (thanks backwardsEric)
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
This is already in stable 4.2.0. but I'm curious how 'monsters learn from their mistakes' actually work. Does the monster need to be intelligent to learn what type of damage doesn't hurt player or what?
The Tarrasque breathed zero-damage fire through Narya at least thrice so it definitely did not learn anything during the long fight.Comment
-
Sphara--it is correct for the occasional immune breath because you might have changed your equipment. It should be rare though, more like 1/5 to 1/10 the normal rate. Tarrasque usually breathes fire 1 in 6 turns (1/3 of spells and 1/2 of turns casting.) Was this the case?Comment
-
Sphara--it is correct for the occasional immune breath because you might have changed your equipment. It should be rare though, more like 1/5 to 1/10 the normal rate. Tarrasque usually breathes fire 1 in 6 turns (1/3 of spells and 1/2 of turns casting.) Was this the case?
Edit: For all I know, unless there isn't any 'intelligence' factor, only reasonable thing that caused it to breath through immunity I can come up with, was because it was stunned by Explosion spell. Otherwise, the mechanic didn't work at least the way I expected.Last edited by Sphara; February 21, 2020, 14:44.Comment
-
But how many times did it breathe disenchantment? Presumably many more than 2 or 3. That would mean it *did* learn that you have immunity, but "checked" that you didn't take it off. And yes, stunning might have an effect too. Don't know about that.Comment
-
Pete - It did use Disenchantment the most. I did hockeystick it quite many times before I allowed him to do the first breath. The first one was fire breath and the ratio of Disen - Fire - Cold was about 6 - 3 - 2.
The reason I posted was that I thought it would NEVER try breathing through immunity twice.Comment
-
This is already in stable 4.2.0. but I'm curious how 'monsters learn from their mistakes' actually work. Does the monster need to be intelligent to learn what type of damage doesn't hurt player or what?
The Tarrasque breathed zero-damage fire through Narya at least thrice so it definitely did not learn anything during the long fight.Code:/* Not allowed to learn */ if (!OPT(p, birth_ai_learn)) return; /* Too stupid to learn anything */ if (monster_is_stupid(mon)) return; /* Not intelligent, only learn sometimes */ if (!monster_is_smart(mon) && one_in_(2)) return; /* Analyze the knowledge; fail very rarely */ if (one_in_(100)) return;
Comment
Comment