lol kool then put it might run weird in multilayer games
why it must run weird in multiplayer games ?
The first
obs : the abilities in the if part are only for test
mount
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Pick up Archer
Actions
Set Xp = (Hero experience of (Casting unit))
Set Level = (Hero level of (Casting unit))
Wait 0.05 seconds
Unit - Remove (Casting unit) from the game
Unit - Create 1 Hypogriff for Player 1 (Red) at (Position of (Casting unit)) facing (Position of (Casting unit))
Selection - Select (Last created unit) for (Owner of (Last created unit))
Hero - Set (Last created unit) experience to Xp, Hide level-up graphics
Hero - Set (Last created unit) Hero-level to Level, Hide level-up graphics
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Acid Bomb for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Acid Bomb
Unit - Set level of Acid Bomb for (Last created unit) to (Level of Acid Bomb for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Animate Dead for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Animate Dead
Unit - Set level of Animate Dead for (Last created unit) to (Level of Animate Dead for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Banish for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Banish
Unit - Set level of Banish for (Last created unit) to (Level of Banish for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Attribute Bonus for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Attribute Bonus
Unit - Set level of Attribute Bonus for (Last created unit) to (Level of Attribute Bonus for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Pick up Archer for (Casting unit)) Greater than or equal to 1
Then - Actions
Unit - Add Dismount to (Last created unit)
Else - Actions
Do nothing
The second:
dismount
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Dismount
Actions
Set Xp = (Hero experience of (Casting unit))
Set Level = (Hero level of (Casting unit))
Wait 0.05 seconds
Unit - Remove (Casting unit) from the game
Unit - Create 1 Hippogryph for Player 1 (Red) at (Position of (Casting unit)) facing (Position of (Casting unit))
Unit - Create 1 Hypogriff Rider for Player 1 (Red) at (Position of (Casting unit)) facing (Position of (Casting unit))
Selection - Select (Last created unit) for (Owner of (Last created unit))
Hero - Set (Last created unit) experience to Xp, Hide level-up graphics
Hero - Set (Last created unit) Hero-level to Level, Hide level-up graphics
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Acid Bomb for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Acid Bomb
Unit - Set level of Acid Bomb for (Last created unit) to (Level of Acid Bomb for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Animate Dead for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Animate Dead
Unit - Set level of Animate Dead for (Last created unit) to (Level of Animate Dead for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Banish for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Banish
Unit - Set level of Banish for (Last created unit) to (Level of Banish for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Hypogrifo (Rexxar) for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Hypogrifo (Rexxar)
Unit - Set level of Hypogrifo (Rexxar) for (Last created unit) to (Level of Hypogrifo (Rexxar) for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Attribute Bonus for (Casting unit)) Greater than or equal to 1
Then - Actions
Hero - Learn skill for (Last created unit): Attribute Bonus
Unit - Set level of Attribute Bonus for (Last created unit) to (Level of Attribute Bonus for (Casting unit))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Pick up Archer for (Casting unit)) Greater than or equal to 1
Then - Actions
Unit - Add Dismount to (Last created unit)
Else - Actions
Do nothing
The third
give mount and dism
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Ability being cast) Equal to Hypogrifo (Rexxar)) and ((Unit-type of (Casting unit)) Equal to Hypogriff Rider)
Then - Actions
Unit - Add Pick up Archer to (Triggering unit)
Else - Actions
Do nothing
hope there are not many bugs ^^