ultimate11
Active Member
- Reaction score
- 25
hi.i create a passive ability that when triggering unit cast a spell he create a number of illusions ,but the problem is that "the illusions" are heroes.
i tried to change unit clasification but wont work (
Trigger:
- pw of windsom
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Level of Power of Winsdom for (Triggering unit)) Greater than 0
- ((Triggering unit) is A Hero) Equal to True
- Actions
- For each (Integer A) from 1 to ((Level of Power of Winsdom for (Triggering unit)) + (Level of (Ability being cast) for (Triggering unit))), do (Actions)
- Loop - Actions
- Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by (Random real number between 100.00 and 400.00) towards (Random angle) degrees) facing (Facing of (Triggering unit)) degrees
- Hero - Modify Strength of (Last created unit): Set to (Strength of (Triggering unit) (Include bonuses))
- Hero - Modify Agility of (Last created unit): Set to (Agility of (Triggering unit) (Include bonuses))
- Hero - Modify Intelligence of (Last created unit): Set to (Intelligence of (Triggering unit) (Include bonuses))
- Hero - Set (Last created unit) Hero-level to (Level of (Triggering unit)), Hide level-up graphics
- Unit - Add Power of Winsdom to (Last created unit)
- Unit - Set level of Power of Winsdom for (Last created unit) to (Level of Power of Winsdom for (Triggering unit))
- Unit - Add classification of Summoned to (Last created unit)
- Animation - Change (Last created unit)'s vertex coloring to (50.00%, 50.00%, 50.00%) with 0.00% transparency
- Unit - Add a (3.00 x (Real((Level of Power of Winsdom for (Triggering unit))))) second Generic expiration timer to (Last created unit)
- Loop - Actions
- For each (Integer A) from 1 to ((Level of Power of Winsdom for (Triggering unit)) + (Level of (Ability being cast) for (Triggering unit))), do (Actions)
- Events
i tried to change unit clasification but wont work (