I don't like changing a function to : notation like that. Maybe it'd be better to split this into two functions? One called by the callback, that invokes another which takes player and only player as an optional argument. Just in case there's a use case for invoking the d7 effect on luarooms without actually using the d7.
I don't like changing a function to : notation like that. Maybe it'd be better to split this into two functions? One called by the callback, that invokes another which takes
player
and onlyplayer
as an optional argument. Just in case there's a use case for invoking the d7 effect on luarooms without actually using the d7.