Dark_Phoenix
New Member
- Reaction score
- 3
Code:
Critical Strikes
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) is A Hero) Equal to True
Actions
Set CritInteger = (Random integer number between 0 and 100)
Set CritInteger2 = (Agility of (Attacking unit) (Include bonuses))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((CritInteger2 / 30) + 5) Less than or equal to CritInteger
Then - Actions
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing [B](Damage taken)[/B] damage of attack type Hero and damage type Normal
Else - Actions
Do nothing
Is there a way to have a unit deal damage equal to its normal attack to a unit in a trigger?