- Joined
- Mar 13, 2013
- Messages
- 299
I'm trying to get soul burn to do more damage to heroes, but the same amount of damage it currently does to regular units. I suspect triggers are the only way of doing this. I don't want to use a DDS or anything... any ideas?
These are the triggers I have for it thus far:
The variable SoulBurn is a unit array.
These are the triggers I have for it thus far:
-
Soul Burn init
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Soul Burn
-
Actions
- Set SoulBurn[(Player number of (Owner of (Casting unit)))] = (Target unit of ability being cast)
-
Events
-
Soul Burn
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- (Ability being cast) Equal to Soul Burn
- (Unit-type of (Casting unit)) Equal to Firelord
- (SoulBurn[(Player number of (Owner of (Casting unit)))] is A Hero) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Unit - Remove Soul Burn buff from SoulBurn[(Player number of (Owner of (Casting unit)))]
- Unit - Create 1 GargoylePL for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Facing of (Casting unit)) degrees
- Unit - Set level of Soul BurnG for (Last created unit) to (Level of Soul Burn for (Casting unit))
- Unit - Order (Last created unit) to Neutral Fire Lord - Soul Burn SoulBurn[(Player number of (Owner of (Casting unit)))]
- Unit - Remove (Last created unit) from the game
-
Events
The variable SoulBurn is a unit array.