I'm making a game very similar to TCG where players have a set number of cards in their hands, and they can play it when they put the card in the play area. There are also several phases in the game like reveal phase, damage phase, cooldown phase, etc. I want some of the cards to have an ability that can take effect when certain phases start (something similar to "On reveal, heal x points to your life point")
I don't know if C2 allows us to create a custom event that will trigger when we want it and if we can define a listener for said trigger, so I use a signal and wait for signal actions. However, I can imagine that this will make the event sheets big and unmanageable if every card's effect is several lines of code waiting for a signal. I want to know if there's a better way to manage card's abilities in a TCG?
Maybe I can use functions somehow, but I want to ask first.