noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
463 stars 25 forks source link

Reset countdown for manual casting after each phoneme press #569

Closed al0fdf closed 1 year ago

al0fdf commented 1 year ago

Changed the countdown for manual spell casting so that it reset after each phoneme. This means instead of 0.5 seconds under which to cast the whole spell, you have to cast each phoneme within 0.5 seconds of the previous. This should make manual spell casting more approachable.

Required sign-off

al0fdf commented 1 year ago

I am unsure whether ud.SpellCastStart should be re-used in this case. It seems like a misleading name to me, as it's no longer the "start time" of the spell casting, rather the "start time" of the most recent phoneme.

dennwc commented 1 year ago

I manually rebased the PR on dev. Next time please avoid merge commits :)