Spear of Light
Collapse
X
-
I got all the way in debugging to think maaaaybe it was in glow_can_light_wall() but had no clue how to fix it.glow_can_light_wall() in cave-view.c is what's causing this. A proposed change is up at https://github.com/angband/angband/pull/5975 . It reverts a change made in 2019 which should no longer be needed as source_can_light_wall() in cave-view.c should keep walls from appearing lit if not viewed from the right direction.
Thanks
Leave a comment:
-
glow_can_light_wall() in cave-view.c is what's causing this. A proposed change is up at https://github.com/angband/angband/pull/5975 . It reverts a change made in 2019 which should no longer be needed as source_can_light_wall() in cave-view.c should keep walls from appearing lit if not viewed from the right direction.Leave a comment:
-
Well, I was wrong about it not being hard. It looks to me like it is setting "SQUARE_GLOW" which is what I would have thought would be needed to make that square visible. I tried setting SQUARE_SEEN too but that didn't work. Not sure what should change. I can keep looking but if you or Eric wants to hop in, it would get done faster.Leave a comment:
-
(argh this forum seems to have some real issues. I keep getting errors and can't be sure when what I say gets posted)Leave a comment:
-
ok, I can take a quick look at a fix for it. It doesn't look hard.Leave a comment:
-
Spear of Light
A change that is giving the borg a bit of trouble and I am not sure if this was done on purpose.
in an unknown hall
what the reality (but not yet mapped) is:Code:#### @.. ####
Code:######## @......# ########
shoot spear of light down hall
in 3.x get:
(wall at end lit up)Code:######## @......# ########
in 4.x get:
(last wall not lit up)Code:######## @...... ########
Is this on purpose? If so I need to code around it for the borg and guess that after the beam, if less than beam length, guess that it is a wall.Tags: None
Leave a comment: