- Joined
- Mar 5, 2011
- Messages
- 199
I think there is something wrong with my triggering...
Description of the ability
The troll increases every nearby allied unit's attack speed and gives a bonus damage. Lasts 10 seconds.
|cffffcc00Level 1|r - 15 bonus damage, 50% increase attack speed.
|cffffcc00Level 2|r - 30 bonus damage, 100% increase attack speed.
|cffffcc00Level 3|r - 45 bonus damage, 150% increase attack speed.
|cffffcc00Level 4|r - 60 bonus damage, 200% increase attack speed.
the problem is that the units within 350 only increases its damage not the attack speed, but the caster increases both its attack speed and damage.
Main Ability -(used by the caster) ,based on (Roar spell) - used to increase damage.
Dummy Ability -(used by the dummy) ,based on (Bloodlust spell) - used to increase attack speed.
Description of the ability
The troll increases every nearby allied unit's attack speed and gives a bonus damage. Lasts 10 seconds.
|cffffcc00Level 1|r - 15 bonus damage, 50% increase attack speed.
|cffffcc00Level 2|r - 30 bonus damage, 100% increase attack speed.
|cffffcc00Level 3|r - 45 bonus damage, 150% increase attack speed.
|cffffcc00Level 4|r - 60 bonus damage, 200% increase attack speed.
-
Events
-
Unit - A unit Starts the effect of an ability
-
Conditions
-
(Ability being cast) Equal to Ignite
-
Actions
-
Set Ignite_Caster = (Casting Unit)
-
Set Ignite_DummyAbility = Ignite_Atk_Speed
-
Set Ignite_Owner = (Owner of Ignite_Caster)
-
Set Ignite_Group = (Units within 350.00 of (Position of Ignite_Caster matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of Ignite_Owner) Equal to true)))
-
------------------
-
------------------
-
Unit - Create 1 Ignite Dummy for Ignite_Owner at (Position of Ignite_Caster) facing default building facing degrees
-
Set Ignite_Dummy = (Last Created unit)
-
Unit - Add Ignite_DummyAbility to Ignite_Dummy
-
Unit - Set level of Ignite_DummyAbility for Ignite_Dummy to (Level of Ignite for Ignite_Caster)
-
Unit - Add a 1.00 second Generic expiration timer to Ignite_Dummy
-
------------------
-
------------------
-
Unit Group - Pick every unit in Ignite_Group and do (Actions)
-
Loop - Actions
-
Unit - Order Ignite_Dummy to Orc Shaman - Bloodlust(Picked unit)
-
Custom script: call DestroyGroup(udg_Ignite_Group)
the problem is that the units within 350 only increases its damage not the attack speed, but the caster increases both its attack speed and damage.
Main Ability -(used by the caster) ,based on (Roar spell) - used to increase damage.
Dummy Ability -(used by the dummy) ,based on (Bloodlust spell) - used to increase attack speed.