Hi, I have made a trigger for a reveal that has 3 charges. After I have used the spell for the first time, the cooldown is supposed to start and load the charge back.
For each charge used, the icon of the spell is supposed to change to an icon that has 1 less charge (as shown in the picture bellow).
Now .. the trigger seemed to be working after some tests..
But after I implemented the trigger in a map and played with some people, I then came across a problem.
It looks like after any of the players uses a charge at any given time, the trigger then interferes with every other player that has the same spell. It either resets the cooldown for all other players or it doesn't let you cast it after you use the first charge. I don't know if it's simply because other players also have the same spell or if it's because they use it before the charge finishes charging and it somehow messes it up.
From my understanding, you can fix this by using hashtables but I'm not very knowledgeable with these kind of triggers..
I'll attach a simple map with the trigger so you can see what i'm talking about.
If someone could take a look at the triggers I used for this spell and help me out if possible, that would be awesome.
Thanks in advance!
For each charge used, the icon of the spell is supposed to change to an icon that has 1 less charge (as shown in the picture bellow).
Now .. the trigger seemed to be working after some tests..
But after I implemented the trigger in a map and played with some people, I then came across a problem.
It looks like after any of the players uses a charge at any given time, the trigger then interferes with every other player that has the same spell. It either resets the cooldown for all other players or it doesn't let you cast it after you use the first charge. I don't know if it's simply because other players also have the same spell or if it's because they use it before the charge finishes charging and it somehow messes it up.
From my understanding, you can fix this by using hashtables but I'm not very knowledgeable with these kind of triggers..
I'll attach a simple map with the trigger so you can see what i'm talking about.
If someone could take a look at the triggers I used for this spell and help me out if possible, that would be awesome.
Thanks in advance!