- Joined
- Dec 20, 2010
- Messages
- 48
Well, since my English is bad then I will tell you what's my problem badly . . (sorry bout that).
I'm making a map with professions.One of them is Fishing ! Here is the trigger I make :

I'm making a map with professions.One of them is Fishing ! Here is the trigger I make :
-
Fishing
-

Events
-


Unit - A unit Finishes casting an ability
-
-

Conditions
-


(Ability being cast) Equal to Fishing
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Terrain pathing at (Target point of ability being cast) of type Amphibious Pathing is off) Not equal to True
-
-



Then - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Random integer number between 0 and 10) Equal to 7
-
-





Then - Actions
-






Hero - Create |cff3fdcdcBronze Carp Fish|r and give it to (Casting unit)
-






Game - Display to (Player group((Owner of (Triggering unit)))) the text: You've caught a Bro...
-
-





Else - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Random integer number between 0 and 10) Equal to 8
-
-







Then - Actions
-








Hero - Create |cff3fdcdcSilver Carp Fish|r and give it to (Casting unit)
-








Game - Display to (Player group((Owner of (Triggering unit)))) the text: You've caught a Sil...
-
-







Else - Actions
-








If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-









If - Conditions
-










(Random integer number between 0 and 10) Equal to 2
-
-









Then - Actions
-










Hero - Create |cff3fdcdcGold Carp Fish|r and give it to (Casting unit)
-










Game - Display to (Player group((Owner of (Triggering unit)))) the text: You've caught a Gol...
-
-









Else - Actions
-










Game - Display to (Player group((Owner of (Triggering unit)))) the text: You've failed to ca...
-
-
-
-
-
-
-
-



Else - Actions
-




Game - Display to (Player group((Owner of (Triggering unit)))) the text: Don't try to fishin...
-
-
-
-
-
(Terrain pathing at (Target point of ability being cast) of type Amphibious Pathing is off) Not equal to True










