Update helper_functions.lua

woops... spells instead of spell (passed value is either spell or ws)