- Joined
- Jun 2, 2015
- Messages
- 85
I have been trying to modify Cluster Rockets to deal more damage based on Agility times a number + 9. But so far I have lost my mind.
Trigger: A Unit Starts the Effect of an Ability
Condition: (Ability being Cast) Equal to Glaive Barrage
Then: VariableSet HealingWave (Integer) = ((Agility of (Casting Unit)) x5)+12)
Ability - Set Ability: (Unit: Casting Unit)'s Ability with Ability Code: Glaive Barrage - "R")'s Real Level Field: Damage Amount ('Ncs1') of level 0 to real (Real(HealingWave))
Ability - Set Ability: (Unit: Casting Unit)'s Ability with Ability Code: Glaive Barrage - "R")'s Real Level Field: Damage Amount ('Ncs1') of level 1 to real (Real(HealingWave))
Then: VariableSet HealingWave (Integer) = ((Agility of (Casting Unit)) x6)+18)
Ability - Set Ability: (Unit: Casting Unit)'s Ability with Ability Code: Glaive Barrage - "R")'s Real Level Field: Max Damage ('Ncs4') of level 0 to real (Real(HealingWave))
Ability - Set Ability: (Unit: Casting Unit)'s Ability with Ability Code: Glaive Barrage - "R")'s Real Level Field: Max Damage ('Ncs4') of level 1 to real (Real(HealingWave))
This ability to be exact is just a copy pasta of the OG Cluster Rocket's but instead of firing missiles it will fire glaives. But so far I get the damage amount, but it doesnt set. I have set it both as "A Unit Starts the Effect of an Ability" and "A Unit Begins casting an Ability"
I also have a picture of the other Spell being a Hero spell.
Please help :'<
Trigger: A Unit Starts the Effect of an Ability
Condition: (Ability being Cast) Equal to Glaive Barrage
Then: VariableSet HealingWave (Integer) = ((Agility of (Casting Unit)) x5)+12)
Ability - Set Ability: (Unit: Casting Unit)'s Ability with Ability Code: Glaive Barrage - "R")'s Real Level Field: Damage Amount ('Ncs1') of level 0 to real (Real(HealingWave))
Ability - Set Ability: (Unit: Casting Unit)'s Ability with Ability Code: Glaive Barrage - "R")'s Real Level Field: Damage Amount ('Ncs1') of level 1 to real (Real(HealingWave))
Then: VariableSet HealingWave (Integer) = ((Agility of (Casting Unit)) x6)+18)
Ability - Set Ability: (Unit: Casting Unit)'s Ability with Ability Code: Glaive Barrage - "R")'s Real Level Field: Max Damage ('Ncs4') of level 0 to real (Real(HealingWave))
Ability - Set Ability: (Unit: Casting Unit)'s Ability with Ability Code: Glaive Barrage - "R")'s Real Level Field: Max Damage ('Ncs4') of level 1 to real (Real(HealingWave))
This ability to be exact is just a copy pasta of the OG Cluster Rocket's but instead of firing missiles it will fire glaives. But so far I get the damage amount, but it doesnt set. I have set it both as "A Unit Starts the Effect of an Ability" and "A Unit Begins casting an Ability"
I also have a picture of the other Spell being a Hero spell.
Please help :'<