tracking and using hexes?

by Saran

Back to Mechanic's Corner.

Saran2005-10-20 18:12:10
just wondering how i could go about tracking the hexes i draw in a room then throwing/whammying my target with them based on whats in the room and what is best.

is it something like
if (somecurse != 0)
whammy target with somecurse
somecurse - 1
{
if (anothercurse !=0)
whammy target with anothercurse
anothercurse - 1
}
and so on with something to track when the hex fades and stop me casting them again before they do?