- Joined
- Mar 24, 2020
- Messages
- 80
Hi guys,
I've been trying to change ability data using triggers. I think this is quite a new function?
Anyways, basically I want the ability to deal damage based on the Hero's attributes.
This spell is based on flame strike, and the damage is based on the Hero's intelligence. How do I set up triggers to change the data just as the spell is being cast?
This is what i've got so far, and it doesn't work.
I've been trying to change ability data using triggers. I think this is quite a new function?
Anyways, basically I want the ability to deal damage based on the Hero's attributes.
This spell is based on flame strike, and the damage is based on the Hero's intelligence. How do I set up triggers to change the data just as the spell is being cast?
This is what i've got so far, and it doesn't work.
-
Set Damage
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Pyromage - [|cffffcc00Flame Strike|r]
-
-
Actions
-
Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Pyromage - [|cffffcc00Flame Strike|r] )'s Real Level Field: Maximum Damage ('Hfs6') of Level: 1 to ((Real((Intelligence of (Triggering unit) (Include bonuses)))) x 3.00)
-
Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Pyromage - [|cffffcc00Flame Strike|r] )'s Real Level Field: Half Damage Dealt ('Hfs3') of Level: 1 to ((Real((Intelligence of (Triggering unit) (Include bonuses)))) x 1.00)
-
Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Pyromage - [|cffffcc00Flame Strike|r] )'s Real Level Field: Full Damage Dealt ('Hfs1') of Level: 1 to ((Real((Intelligence of (Triggering unit) (Include bonuses)))) x 2.00)
-
-