I just started triggering again recently after taking a break from WC3 for a few years. I can do plenty of stuff fine, but for some reason this incredibly simple problem has me completely stumped.
So basically, I have these units that charge a toll whenever another player brings a unit near them. I have the rest of the system completely finished (doesn't allow units to pass by if owner doesn't have enough money and things like that) except for this. These tolls have simple abilities (based on the roar ability) called "Raise Toll" and "Lower Toll" that either raise or lower the toll rate (the mana) by 5 each time they are used. For some reason when I press EITHER BUTTON, that is regardless of whether I press "Raise Toll" or "Lower Toll" the mana will raise by 5. Basically, the condition doesn't work, yet it seems so exceedingly simple. I triple checked all my other triggers to make sure that there aren't any conflicts. I have another trigger entitled "Lower Tolls" that lowers the mana by 5. When I have the "Lower Tolls" trigger disabled, it will do as I said above and either button will raise the mana. If I enable the "Lower Tolls" trigger then "Raise Tolls" will work once, raising the mana to 5, then neither will do anything after that.
So basically, I have these units that charge a toll whenever another player brings a unit near them. I have the rest of the system completely finished (doesn't allow units to pass by if owner doesn't have enough money and things like that) except for this. These tolls have simple abilities (based on the roar ability) called "Raise Toll" and "Lower Toll" that either raise or lower the toll rate (the mana) by 5 each time they are used. For some reason when I press EITHER BUTTON, that is regardless of whether I press "Raise Toll" or "Lower Toll" the mana will raise by 5. Basically, the condition doesn't work, yet it seems so exceedingly simple. I triple checked all my other triggers to make sure that there aren't any conflicts. I have another trigger entitled "Lower Tolls" that lowers the mana by 5. When I have the "Lower Tolls" trigger disabled, it will do as I said above and either button will raise the mana. If I enable the "Lower Tolls" trigger then "Raise Tolls" will work once, raising the mana to 5, then neither will do anything after that.
-
Raise Tolls
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Raise Toll
-
-
Actions
-
Unit - Set mana of (Triggering unit) to (5.00 + (Mana of (Triggering unit)))
-
-