Page 1 of 1

Water spells don't consume runes

Posted: Wed Sep 24, 2025 3:26 pm
by Adventurer
Noticed when casting water strike with a staff of air equipped that no runes were consumed.

It seems there's a missing space in the code in every water spell:

Code: Select all

function finalize_water_strike(player)
	...
	if nothas_water_staff(player) then
		remove(player, "water-rune", 1)
	end
	...
https://git.sr.ht/~stormy/rscsundae/tre ... ssiles.lua

Re: Water spells don't consume runes

Posted: Sat Oct 04, 2025 9:19 am
by Stormy
Oops, that's a bit embarrassing, but a result of recent refactoring. A hotfix was applied without restarting the server.