There are 3 triggers in the map + support folder triggers.
Support folder "TEST FOLDER" contains the "INIT" trigger and "HOW TO IMPORT" trigger.
These both triggers are used only for the test map.
The main folder named "BEAR GRASP" contains 3 main triggers.
"BEAR GRASP CONFIGURATION" - the trigger where You can set the ability parameters.
"BEAR GRASP USE" - the trigger which of the ability using.
"BEAR GRASP LOOP" - the trigger supports loop actions.
All parameters can be set in the "BEAR GRASP CONFIGURATION":
CREATE GROUPS, SETTING DAMAGES, SETTING CUSTOM BUFFS AND ABILITIES - Here you can set all starting parameters, but You may find prefix "_BASH" it means that the Bear damages grabbed unit by damage type without the prefix, but uses the grabbed body for ram attack which deals damage with the prefix "_BASH". So you have 2 different damage types.
PERIOD OF DAMAGING DEVOURED UNIT, SEC - While mount bear grabs unit the first starts to eat the lester and deal damage. This is the period of damage.
DAMAGE THE DEVOURED UNIT, PTS - Like it mentioned before it sets the damage to the grabbed unit.
HEAL WHILE DEALS DAMAGE TO THE DEVOURED UNIT, PTS - The grabbed unit is devoured. It means the bear heals itself.
STARTING DELAY, SEC - This parameter is important, because then the caster starts using the ability it instantly must move to not remove the Bear Grasp buff. This timer allows to give you a time to start moving after the using ability, grabbing the unit or bashing unit with the grabbed unit.
DISTANCE TO HOLD THE DEVOURED UNIT ON FRONT OF THE BEAR - Visual parameter. The bear holds the grabbed unit. This parameters sets the distance between the caster and the grabbed unit.
HEIGHT OF DEVOURED UNIT TO BE HOLD BY THE BEAR, PTS + HEIGHT OF THE BEAR ITSELF - The same like previous parameter, but it sets the height.
CATCH THE UNIT ANGLE, DEGREE - To grab an unit it must be on the front of the caster. This parameter sets the range of angle to grab unit. If you set, for example 120, it means that the bear grab unit in range (Facing Angle of bear +/- 120/2) or (Facing Angle of bear +/- 60))
CATCH THE UNIT DISTANCE, PTS - The same parameter, but it sets the distance to allow the grabbing.
RAM ATTACK DAMAGE BY BASHING ENEMIES WITH DEVOURED UNIT, PTS - The grabbed unit is used for the ram attack to deal damage to frontal enemies. This is basic damage.
RAM ATTACK DAMAGE BY BASHING ENEMIES WITH DEVOURED UNIT (DAMAGE DEPENDS ON LEVEL OF CATCHED UNIT (HERO), PTS/LEVEL - The stronger the enemy the larger additional damage will done. This value increases basic damage depending on level of the grabbed unit. For example, I set basic damage 25 and this value as 5, then ram attack damage will (25 + 5xlevel of unit)
KNOCKBACK SPEEDRATE (0=NO KNOCKBACK) - The ram attack causes knockback. It sets how fast knockbacked units will move. Set 0 to disable knockback.
KNOCKBACK DURATION, SEC (0=NO KNOCKBACK) - The ram attack causes knockback. It sets how long knockbacked units will move. Set 0 to disable knockback.
IMMUNE TO BEAR GRASP RAM ATTACK, SEC - Enable immune to unit after getting caused by the ram attack. This parameter must be slightly higher (or higher) than the KNOCKBACK DURATION value.
KNOCKBACK BASH DISTANCE, PTS - The ram attack knockbacks only frontal units. It sets the distance between the caster and enemy (not the grabbed enemy) to knockback it.
KNOCKBACK BASH ANGLE, DEGREE - The ram attack knockbacks only frontal units. This parameter sets the range of angle to knockback unit. If you set, for example 120, it means that the ram attacks knockback all units in range (Facing Angle of bear +/- 120/2) or (Facing Angle of bear +/- 60)).
-------------------------------------CONDITIONS--------------------------------------
Of course some units are hard to grab in a bear chew. So here are some parameters which allows the caster to set available targets to grab. This spell doesn't work against buildings.
MAX LEVEL OF CREATURE (-1=DISABLE GRASP 0=TAKE ALL LEVELS) IF NOT GIANT, MECHANISM OR HERO - set max parameter of non-mech, non-giant, non-hero unit. As You can see if You set -1 that disable grabbing for non-mech, non-giant, non-hero units; if you set 0 - it allows to grab all levels. If you set more than 0 it sets the max available level to grab.
CONDITION: GIANTS ALLOWED (-1=NO, 0=ANY LEVEL ELSE SET MAX ALLOWED LEVEL) - The same, but special condition for GIANT types.
CONDITION: HEROES ALLOWED (-1=NO, 0=ANY LEVEL ELSE SET MAX ALLOWED LEVEL) - The same, but special condition for HERO types.
CONDITION: MECHANISMS ALLOWED (-1=NO, 0=ANY LEVEL ELSE SET MAX ALLOWED LEVEL) - The same, but special condition for MECH types.
THE BONUS MOVEMENT SPEED AND DURATION OF THE EFFECT IS SET IN THE OBJECT EDITOR - This commentary told You to set bonus movement speed and duration of the effect in the Bear Grasp ability in the object editor.