Can't cast spells over lava...

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Canderel
Sher'Tul
Posts: 1252
Joined: Mon Nov 24, 2003 2:31 pm
Location: South Africa

Can't cast spells over lava...

#1 Post by Canderel »

Hmmm... surely I should be able to target Fireflash over the lava pool?
Attachments
2011-02-03_162545.jpg
2011-02-03_162545.jpg (52.19 KiB) Viewed 1055 times

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Can't cast spells over lava...

#2 Post by yufra »

It sounds reasonable to me, and we'll see what DG says. I have attached a patch that fixes this by adding a can_pass.projectile entry for all targeting, and the corresponding can_pass.projectile entry for the lava tile. Are there any other block_move but not block_los grids that make sense for this to work for?
Attachments
can_pass_projectile.txt
(2.03 KiB) Downloaded 144 times
<DarkGod> lets say it's intended

Canderel
Sher'Tul
Posts: 1252
Joined: Mon Nov 24, 2003 2:31 pm
Location: South Africa

Re: Can't cast spells over lava...

#3 Post by Canderel »

Deep water.

Possibly the undead summoning circle at start up but that could make lvl 1 for undead tougher.

Then stuff I don't think we have: chasms, swampy areas etc.

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Can't cast spells over lava...

#4 Post by yufra »

The fix is going to be more involved than the one I posted, but it is on our radar. Thanks!
<DarkGod> lets say it's intended

Post Reply