Water spells don't consume runes

Report bugs here.
Post Reply
Adventurer
Posts: 9
Joined: Fri Sep 12, 2025 7:39 pm

Water spells don't consume runes

Post 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
Stormy
Site Admin
Posts: 109
Joined: Wed Oct 02, 2024 6:37 pm

Re: Water spells don't consume runes

Post by Stormy »

Oops, that's a bit embarrassing, but a result of recent refactoring. A hotfix was applied without restarting the server.
Post Reply