rafaxik
New Member
- Reaction score
- 2
Help me please!
I'm tired to try a lot of different ways and it ain't still working...
The Idea of this spell is In its highest level:
Whenever he gets surrounded by enemies, he becomes more and more dangerous, having 20 % chance to deal 16 damage per (enemy) unit all nearby enemies in 600 AoE.
See the spell definition:
I got a Damage Detection System and it's working fine...
GDD_Damage = Damage detected]
Here's the trigger that's not working:
I'm tired to try a lot of different ways and it ain't still working...
The Idea of this spell is In its highest level:
Whenever he gets surrounded by enemies, he becomes more and more dangerous, having 20 % chance to deal 16 damage per (enemy) unit all nearby enemies in 600 AoE.
See the spell definition:
Hero has chance to damage units in AoE by the amount enemy units around him.
Level 1 - 5 % chance to deal 4 AoE Damage for each unit in 150 AoE
Level 2 - 10 % chance to deal 8 AoE Damage for each unit in 300 AoE
Level 3 - 15 % chance to deal 12 AoE Damage for each unit in 450 AoE
Level 4 - 20 % chance to deal 16 AoE Damage for each unit in 600 AoE
Level 1 - 5 % chance to deal 4 AoE Damage for each unit in 150 AoE
Level 2 - 10 % chance to deal 8 AoE Damage for each unit in 300 AoE
Level 3 - 15 % chance to deal 12 AoE Damage for each unit in 450 AoE
Level 4 - 20 % chance to deal 16 AoE Damage for each unit in 600 AoE
GDD_Damage = Damage detected]
Here's the trigger that's not working:
Trigger:
- Combat Mastery
- Events
- Game - GDD_Damage becomes Equal to 0.00
- Conditions
- (GDD_DamageSource has buff Combat Mastery ) Equal to True
- Actions
- Set CombatMasteryPoint = (Position of GDD_DamageSource)
- Unit Group - Pick every unit in (Units within (175.00 x (Real((Level of Combat Mastery Main for GDD_DamageSource)))) of CombatMasteryPoint matching (((Matching unit) belongs to an enemy of (Owner of GDD_DamageSource)) Equal to True)) and do (Actions)
- Loop - Actions
- Set CombatMasteryUnits = (Last created unit group)
- Unit - Cause GDD_DamageSource to damage (Picked unit), dealing (4.00 x ((Real((Level of Combat Mastery Main for GDD_DamageSource))) x (Real((Number of units in CombatMasteryUnits))))) damage of attack type Hero and damage type Normal
- Custom script: call RemoveLocation(udg_CombatMasteryPoint)
- Custom script: call DestroyGroup (udg_CombatMasteryUnits)
- Loop - Actions
- Events