Win x64 0.7.2 - Triggered Spells Can Be Recast By Player [RESOLVED]

Locked
ftr89wgbtf4
Posts: 30
Joined: Tue Nov 13, 2018 10:05 pm

Win x64 0.7.2 - Triggered Spells Can Be Recast By Player [RESOLVED]

Post by ftr89wgbtf4 »

Got another one for you guys. ;)

After triggering spells from objects in a dungeon, I can press the recast key, and they will be recast. I have attached two saves by which this can be replicated. One save requires you to pull a lever, which casts Slowfall. (Be sure to pull the one nearer to you, the other lever controls an elevator.) The other save requires you to click on a coffin, which casts Levitate.
Attachments
SAVE18.zip
(178.56 KiB) Downloaded 74 times
SAVE17.zip
(185.33 KiB) Downloaded 76 times

User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: Win x64 0.7.2 - Triggered Spells Can Be Recast By Player

Post by Interkarma »

Thanks for the report. :)

ftr89wgbtf4
Posts: 30
Joined: Tue Nov 13, 2018 10:05 pm

Re: Win x64 0.7.2 - Triggered Spells Can Be Recast By Player

Post by ftr89wgbtf4 »

Something else I've noticed about this - triggering a spell from an object costs spell points. Feels like it is being cast by the player.

BansheeXYZ
Posts: 555
Joined: Fri Oct 23, 2015 8:19 pm

Re: Win x64 0.7.2 - Triggered Spells Can Be Recast By Player

Post by BansheeXYZ »

Rather than post a new topic, I'm just going to add to this one. Another related bug with "recasting" is that it doesn't check if the player has that spell anymore. If you cast a spell, delete it, then use the recast hotkey, it will still cast.

So in summary, the recast hotkey needs to check if (a) the spell came from the player or not and (b) if the player still has that spell in his book.

Locked