I want to make a stackable version of bloodlust. I've made it an aoe spell, so whenever a unit casts "giant strength" i summon a bunch of invisible casters and have them case bloodlust on all melee units within range.
Everything works fine, except for the visual scaling of the units. No matter what values I place in the Data - Scaling Factor slot, the results seem to be the same. I put the scaling value as high as 6.0 (the original bloodlust is .3) but they always grow to the same size. The size is slightly higher with each level of bloodlust, but it's very hard to notice. You have to zoom in and look at where his head is, for example, to see the difference.
I've pasted the trigger below, but it's not the problem. Like I said, everything is working fine:
- the unit gets the appropriate level of bloodlust (the attack speed modifier is working, the buff is correctly labeled by level)
- the unit does grow slightly larger based on the level of bloodlust
Everything works fine, except for the visual scaling of the units. No matter what values I place in the Data - Scaling Factor slot, the results seem to be the same. I put the scaling value as high as 6.0 (the original bloodlust is .3) but they always grow to the same size. The size is slightly higher with each level of bloodlust, but it's very hard to notice. You have to zoom in and look at where his head is, for example, to see the difference.
I've pasted the trigger below, but it's not the problem. Like I said, everything is working fine:
- the unit gets the appropriate level of bloodlust (the attack speed modifier is working, the buff is correctly labeled by level)
- the unit does grow slightly larger based on the level of bloodlust
-
Giant Strength
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Giant Strength (Neutral Hostile)
-
Actions
- Set tempPoint = (Position of (Triggering unit))
- Set tempUnitGroup = (Units within 600.00 of tempPoint matching ((((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is A melee attacker) Equal to True)))
- -------- (grab all allies, minus ranged) --------
-
Unit Group - Pick every unit in tempUnitGroup and do (Actions)
-
Loop - Actions
- Unit - Create 1 Arcane Armaments Provider for (Owner of (Triggering unit)) at tempPoint facing Default building facing degrees
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Giant Strength - Level 1 ) Equal to True
-
Then - Actions
- Unit - Remove Giant Strength - Level 1 buff from (Picked unit)
- Unit - Set level of Bloodlust (Giant Strength) for (Last created unit) to 2
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff 2 ) Equal to True
-
Then - Actions
- Unit - Remove 2 buff from (Picked unit)
- Unit - Set level of Bloodlust (Giant Strength) for (Last created unit) to 3
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- ((Picked unit) has buff 3 ) Equal to True
- ((Picked unit) has buff 4 ) Equal to True
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Unit - Remove 3 buff from (Picked unit)
- Unit - Remove 4 buff from (Picked unit)
- Unit - Set level of Bloodlust (Giant Strength) for (Last created unit) to 4
- Else - Actions
-
If - Conditions
- Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)
-
Loop - Actions
- Custom script: call RemoveLocation (udg_tempPoint)
- Custom script: call DestroyGroup(udg_tempUnitGroup)
-
Events