Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We should be able to cast non wall-ignoring spells like Jolt onto different z-levels. Like onto flying wasps for instance. #48293

Open
ifffrt opened this issue Mar 31, 2021 · 6 comments
Labels
<Bug> This needs to be fixed Mods: Magiclysm Anything to do with the Magiclysm mod Z-levels Levels below and above ground.

Comments

@ifffrt
Copy link

ifffrt commented Mar 31, 2021

Is your feature request related to a problem? Please describe.

Now that flying wasps can attack you while flying just above your head and fuck you up real good, we should be able to cast non-wall-ignoring spells like Jolt, Windstrike and Lightning Bolt (as opposed to spells like Ionization) at an angle, so that it can now hit enemies that are not on the same z-level as you. This is way better than having to aim with your gun, since area-of-effect spells are much harder to miss.

Describe the solution you'd like

We should be able to shoot area-of-effect spells at an angle, freely aiming at a monster above (or below) you. This should ideally cross multiple z-levels as well, such as hitting a wasp at the z-level directly above you and incidentally hitting another wasp that was 2 z-level above you that just happened to line up perfectly.

Describe alternatives you've considered

None. I mean, why should shooting our spells upwards and downwards be impossible irl (if magic existed)?

@actual-nh
Copy link
Contributor

This should depend on whether fov_3d is enabled. Without it, no attacks either way should be going on (see #42845 and PR to fix it). With it, yes, this would be desirable.

@Termineitor244
Copy link
Contributor

Wait, isn't this already a thing? One of my characters is currently hiding in the upper floors of a school, and it has fired multiple spells (AOE and not AOE) to the lower floor, killing several zombies, several times. I do have fov_3d enabled...

@ifffrt
Copy link
Author

ifffrt commented Apr 6, 2021

Which spells did you use? Some spells are already able to fire at different z-level. The difference is they must also be spells that can be cast through walls.

@actual-nh
Copy link
Contributor

Which spells did you use? Some spells are already able to fire at different z-level. The difference is they must also be spells that can be cast through walls.

Is it possible that (assuming fov_3d is on) a floor is getting in the way of spells that can't be cast through walls?

@Maleclypse Maleclypse added <Suggestion / Discussion> Talk it out before implementing Mods: Magiclysm Anything to do with the Magiclysm mod labels Apr 6, 2021
@Termineitor244
Copy link
Contributor

Which spells did you use? Some spells are already able to fire at different z-level. The difference is they must also be spells that can be cast through walls.

Oh, my bad, the spells were Gravity Well, Ice Spike and Point Flare, all of them are able to be cast through walls, I noticed until now that you explicitly stated a problem with non-wall-ignoring spells, let me confirm with those spells...
Aaaaaaaaaaaaaaaaand confirmed, it seems the "air" is considered a wall or something, since whenever I cast one of the spells OP mentioned, to a lower level, it seems like it worked, but I check the horde and nobody was hurt, no deaths either.

This occurs whether I shoot from a hole in the second and third floors, or if I shoot from a broken window to the ground with nothing in between, just air, it seems like you cast the spell in your current Z-level, since the sparks from the Lightning Bolt appear not in the ground, but in the air above my objective

@actual-nh
Copy link
Contributor

Ping: @KorGgenT?

@actual-nh actual-nh added <Bug> This needs to be fixed Z-levels Levels below and above ground. and removed <Suggestion / Discussion> Talk it out before implementing labels Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Mods: Magiclysm Anything to do with the Magiclysm mod Z-levels Levels below and above ground.
Projects
None yet
Development

No branches or pull requests

4 participants