I want to trigger something else, say, a door opening, if the party casts a light spell. I found this info:
but I have no idea how to set it up or if this is what I need to use to do what I'm talking about. I have no experience working with hooks, sorry!onCastSpell: a hook which is called when a champion casts a spell. The function gets two parameters, the casting champion and the name of the spell. If the function returns false, the casting is cancelled.
