- Joined
- Jun 18, 2007
- Messages
- 214
-
Beast Rage
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Beast Rage
-
Actions
- Set BRCaster = (Casting unit)
- Set BRTarget = (Target unit of ability being cast)
- Special Effect - Create a special effect attached to the weapon of BRCaster using Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
- Set BRSF = (Last created special effect)
- Unit - Pause BRTarget
- Unit - Pause BRCaster
- Animation - Change BRCaster's animation speed to 200.00% of its original speed
- Animation - Change BRTarget's animation speed to 150.00% of its original speed
- Animation - Change BRCaster's vertex coloring to (100.00%, 100.00%, 100.00%) with 40.00% transparency
- Set BlowCountera = 0
-
For each (Integer A) from 1 to 7, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (BRCaster is alive) Equal to True
-
Then - Actions
- Set TempPoint1 = (Position of BRCaster)
- Set TempPoint2 = (Position of BRTarget)
- Unit - Create 1 Beast Rage for (Owner of BRCaster) at TempPoint1 facing (Angle from TempPoint1 to TempPoint2) degrees
- Custom script: call RemoveLocation(udg_TempPoint1)
- Custom script: call RemoveLocation(udg_TempPoint2)
- Animation - Change (Last created unit)'s animation speed to 100.00% of its original speed
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 40.00% transparency
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Animation - Play (Last created unit)'s attack animation
- Special Effect - Create a special effect at TempPoint2 using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.10 seconds
- Unit - Cause BRCaster to damage BRTarget, dealing 10.00 damage of attack type Hero and damage type Normal
- Special Effect - Create a special effect attached to the origin of BRTarget using Objects\Spawnmodels\Critters\Albatross\CritterBloodAlbatross.mdl
- Special Effect - Destroy (Last created special effect)
- Animation - Play BRCaster's attack animation
- Animation - Play BRTarget's death animation
- Set BlowCountera = (BlowCountera + 1)
- Floating Text - Create floating text that reads ((String(BlowCountera)) + !) above BRTarget with Z offset 2.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Change the lifespan of (Last created floating text) to 0.20 seconds
-
Else - Actions
- Unit - Unpause BRCaster
- Unit - Unpause BRTarget
- Animation - Change BRCaster's animation speed to 100.00% of its original speed
- Animation - Change BRTarget's animation speed to 100.00% of its original speed
- Animation - Change BRCaster's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
- Special Effect - Destroy BRSF
- Set BRCaster = No unit
- Set BRTarget = No unit
- Set BlowCountera = 0
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- BlowCountera Equal to 7
-
Then - Actions
- Unit - Make BRCaster Invulnerable
- Floating Text - Create floating text that reads INVULNERABLE! above BRTarget with Z offset 10.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Change the lifespan of (Last created floating text) to 0.20 seconds
-
For each (Integer A) from 1 to (13 x (Level of Beast Rage for BRCaster)), do (Actions)
-
Loop - Actions
- Set TempPoint1 = (Position of BRCaster)
- Set TempPoint2 = (Position of BRTarget)
- Unit - Create 1 Beast Rage for (Owner of BRCaster) at TempPoint1 facing (Angle from TempPoint1 to TempPoint2) degrees
- Custom script: call RemoveLocation(udg_TempPoint1)
- Custom script: call RemoveLocation(udg_TempPoint2)
- Animation - Change (Last created unit)'s animation speed to 100.00% of its original speed
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 40.00% transparency
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Animation - Play (Last created unit)'s attack animation
- Special Effect - Create a special effect at TempPoint1 using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 0.10 seconds
- Animation - Play BRCaster's attack animation
- Animation - Play BRTarget's death animation
- Unit - Cause BRCaster to damage BRTarget, dealing 10.00 damage of attack type Hero and damage type Normal
- Special Effect - Create a special effect attached to the origin of BRTarget using Objects\Spawnmodels\Critters\Albatross\CritterBloodAlbatross.mdl
- Special Effect - Destroy (Last created special effect)
- Set BlowCountera = (BlowCountera + 1)
- Floating Text - Create floating text that reads ((String(BlowCountera)) + !) above BRTarget with Z offset 2.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Change the lifespan of (Last created floating text) to 0.20 seconds
-
Loop - Actions
- Unit - Make BRCaster Vulnerable
- Unit - Unpause BRCaster
- Unit - Unpause BRTarget
- Animation - Change BRCaster's animation speed to 100.00% of its original speed
- Animation - Change BRCaster's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
- Animation - Change BRTarget's animation speed to 100.00% of its original speed
- Set BRCaster = No unit
- Set BRTarget = No unit
- Special Effect - Destroy BRSF
- Set BlowCountera = 0
-
Else - Actions
- Do nothing
-
If - Conditions
-
Events