Targeted spells (missile runes, strike spells like exori vis) can be cast through wall when there are no ground tiles/obstacles above them. The bug was discovered in clean TFS. This repository has identical code in these functions of combat.cpp so it's very likely bugged here too.
more details: otland/forgottenserver#3497
Steps to reproduce
go to some open area (eg. desert)
build some wall with /i
spawn a rat
cast exori vis from the other side of the wall
Expected behavior
"Destination is out of reach." (it fires through wall instead)
Environment
tfs, possible to reproduce here as well
my game client goes all black when I attempt to take a screenshot, but you can use ground floor of black knight villa (the bench behind a broken wall) for testing - in rl you can throw items there, but not spells.
Description
Targeted spells (missile runes, strike spells like exori vis) can be cast through wall when there are no ground tiles/obstacles above them. The bug was discovered in clean TFS. This repository has identical code in these functions of combat.cpp so it's very likely bugged here too.
more details: otland/forgottenserver#3497
Steps to reproduce
Expected behavior
"Destination is out of reach." (it fires through wall instead)
Environment
tfs, possible to reproduce here as well
my game client goes all black when I attempt to take a screenshot, but you can use ground floor of black knight villa (the bench behind a broken wall) for testing - in rl you can throw items there, but not spells.