Sorry i dont know how to paste triggers so they appaer like they do in WE but here is is the trigger, basicly its a summoning spell and you summon a random creature. Most of the time it works, but sometimes it doeasnt summon anything at all which i cannot understand why.
-
Book of the dead level 1
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Book of the Dead (Triggers level 1)
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 5) Equal to 1
-
Then - Actions
- Set Bookdeadpoint = (Position of (Casting unit))
- Unit - Create 1 Militia for (Owner of (Casting unit)) at Bookdeadpoint facing TempPoint
- Custom script: call RemoveLocation( udg_Bookdeadpoint )
- Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 5) Equal to 2
-
Then - Actions
- Set Bookdeadpoint = (Position of (Casting unit))
- Unit - Create 1 Satyr Shadowdancer for (Owner of (Casting unit)) at Bookdeadpoint facing TempPoint
- Custom script: call RemoveLocation( udg_TempPoint )
- Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
- Do nothing
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 5) Equal to 3
-
Then - Actions
- Set Bookdeadpoint = (Position of (Casting unit))
- Unit - Create 1 Giant Spider for (Owner of (Casting unit)) at Bookdeadpoint facing TempPoint
- Custom script: call RemoveLocation( udg_TempPoint )
- Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 5) Equal to 4
-
Then - Actions
- Set Bookdeadpoint = (Position of (Casting unit))
- Unit - Create 1 Wolf - level 8 for (Owner of (Casting unit)) at Bookdeadpoint facing TempPoint
- Custom script: call RemoveLocation( udg_TempPoint )
- Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 5) Equal to 5
-
Then - Actions
- Set Bookdeadpoint = (Position of (Casting unit))
- Unit - Create 1 |cffffcc00Murloc Task Master|r for (Owner of (Casting unit)) at Bookdeadpoint facing TempPoint
- Custom script: call RemoveLocation( udg_TempPoint )
- Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Last edited by a moderator: