- Joined
- Sep 12, 2008
- Messages
- 657
Hey, me and my friend are making this farming map, and we were wondering if someone could help us fix this trigger out of leaks..
The Trigger:
The Trigger:
-
Plant Growth
-
Events
-
Time - Every 2.00 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Unit-type of (Matching unit)) Equal to Corn Plant (Small)) and (((Mana of (Matching unit)) Greater than or equal to 100.00) and (((Matching unit) is alive) Equal to True)))) and do (Actions)
-
Loop - Actions
-
Unit - Kill (Picked unit)
-
Item - Create Corn Seed at (Position of (Picked unit))
-
Item - Create Corn Seed at (Position of (Picked unit))
-
Item - Create Corn at (Position of (Picked unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Random integer number between 1 and 100) Less than or equal to 30
-
-
Then - Actions
-
Item - Create Corn at (Position of (Picked unit))
-
-
Else - Actions
-
-
-
-
-