Hello, I need some assistance with a macro. I do not know if this can even work in here. I will enter it here as standard programming logic. If someone could send me with what the macro command would be, It would be much appreciated. I have a spell that has a 20% chance of going off. Each 2 turns the spell fails, it increase the damage die count by 3. lets say its 1d8 damage. If you fail twice and then succeed on the 3rd time, it would be 4d8 (1d8 for the turn plus 3d8 for the 2 failures). If you fail four times and then succeed on the 5th time, it would be 7d8 (1d8 for the turn plus 6d8 for the 4 failures) . Int Attempts_Count Int Modifier Int Chance int Damage Chance = Roll 1d100 If Chance > = 80 If Attempts_Count > 1 Modifier = (Attempts_Count / 2) * 3 Else Modifier = 0 Damage = (Modifier + 1)d8 /me hits the enemy with a bolt of lightning for (Damage) points of electric damage Attempts_Count = 0 Else /me looks disappointed that the spell failed Attempts_Count++