What about this thx for ur help it gave me how to do it
but what about this for the hole trigger
but what about this for the hole trigger
Code:
pulverize blade spell
Events
Unit - A unit Is attacked
Conditions
((Owner of (Triggering unit)) is an enemy of (Owner of (Attacking unit))) Equal to True
(Level of pulverize bm for (Attacking unit)) Not equal to 0
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 100) Less than or equal to 15
Then - Actions
Unit Group - Pick every unit in (Units within 250.00 of (Position of (Attacking unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True)) and do (Actions)
Loop - Actions
Unit - Cause (Attacking unit) to damage (Picked unit), dealing (100.00 + (25.00 x (Real((Level of Pulverize bm for (Attacking unit)))))) damage of attack type Hero and damage type Normal
Animation - Play (Attacking unit)'s Spin animation
Else - Actions