[Spell] Burning Oil alternate effect

Status
Not open for further replies.
Level 5
Joined
Oct 2, 2015
Messages
74
What is the best way (if there is any) to make burning oil slow down units' movement and attack speed?

Thanks in advance.
 
1) Trigger the entire effect of burning oil yourself, this would include both the damage over time and slow.

2) Use a Damage Engine. Then detect whenever a unit takes damage from burning oil and use a Dummy unit to slow it.

I would go with #2, seems the easiest.

Edit: Here's the trigger along with an example map. Using Bribe's latest version of Damage Engine.
  • Burning Oil
    • Events
      • Game - DamageEvent becomes Equal to 1.00
    • Conditions
      • (Unit-type of DamageEventSource) Equal to Demolisher
      • IsDamageSpell Equal to True
    • Actions
      • Set VariableSet bo_Point = (Position of DamageEventTarget)
      • Unit - Create 1 Dummy for (Owner of DamageEventSource) at bo_Point facing Default building facing degrees
      • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
      • Unit - Add Burning Oil (Dummy - Slow) to (Last created unit)
      • Unit - Order (Last created unit) to Undead Necromancer - Cripple DamageEventTarget
      • Custom script: call RemoveLocation (udg_bo_Point)
 

Attachments

Last edited:
Maybe you could also try using Meat Wagon's Disease Cloud ability to drop dummy units that slow enemies with a negative Endurance Aura.

Is it possible to make a negative endurance aura? it won't let me insert a negative value to the movement and speed increases.
 
So i have successfully made the aura slow down it's target units, and it works for a split second, but then my game crashes due to a fatal error.

wc3error.png

What have i done wrong?

EDIT: it appears that it was related to a buff effect.
 
Last edited:
Status
Not open for further replies.
Back
Top