trigger it by using blood lust.
Just make a dummy unit for each unit in the area and order each to bloodlust a single unit.
Thanks alot +rep for you :thup:here i did it for you fast, i not sure if it works but it should, create a bloodlust ability first for your dummy unit to cast, and then create a base ability to activate this trigger such as "roar scroll" for your hero ability.
Trigger:
- mass bloodlust
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Mass Bloodlust
- Actions
- Set BL_Caster = (Casting unit)
- Set BL_Casterpoint = (Position of BL_Caster)
- Set BL_Group = (Units within 800.00 of BL_Casterpoint matching (((Matching unit) belongs to an ally of (Owner of BL_Caster)) Equal to True))
- Unit Group - Pick every unit in BL_Group and do (Actions)
- Loop - Actions
- Set BL_Point = (Position of (Picked unit))
- Unit - Create 1 Bloodlust Dummy for (Owner of BL_Caster) at BL_Point facing (default building facing degrees)
- Unit - Set level of Bloodlust (Dummy) for (Last created unit) to (Level of Mass Bloodlust for BL_Caster)
- Unit - Order (Last created unit) to Orc Shamen - Bloodlust (Picked unit)
- Custom script: call RemoveLocation(udg_BL_Point)
- Custom script: call DestroyGroup(udg_BL_Group)
- Custom script: call RemoveLocation(udg_BL_Casterpoint)
okay u will notice something here, that i dont actually kill the dummy units with any triggers , cause i not sure how to, basically go into the dummy unit stats, and set the dummy unit to have a negative degen hp to self kill himself pretty fast. So this trigger does not leak.