Is it possible to have a weapon, that gets bonus damage from how much energy the unit has? For example, Let's say I have a High templar, and give him a weapon called "psi blast". The damage does a base of 5 damage, with a cool down of 1.2 seconds. is it possible to have a bonus damage occur if, "High Templars Remaining Energy is at 50% or lower, no bonus to weapon damage, if 51% to 70% (Add 5 damage to base), if 71% to 100%(add 10 damage to base). I'm not entierley sure how to do this, or if its possible. if anyone has suggestions, it'd be greatly appreciated.
Created validators that return true when youre percentages are where you want them, then create behaviors (of type buff) for each percentage range and add the validator to its "validator (disable)" field, open modifications +, go to combat, increase their damage dealt (make sure its not spell or you'll increase psi storm/feedback damage as well), then set the duration of the behavior to -1 and add all of em to the HT.
Unit Compare Vital. Although if you look up "Energy" in the search bar in the Validator tab, you will see that they are already there....
Caster Energy LT50 / Caster Energy GE50.
These however are CURRENT energy compares, you could copy/duplicate them, and change Validator - Type from Current to Fraction, and that will make it a check for Less Than 50% or Greater Than or Equal To 50%.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible to have a weapon, that gets bonus damage from how much energy the unit has? For example, Let's say I have a High templar, and give him a weapon called "psi blast". The damage does a base of 5 damage, with a cool down of 1.2 seconds. is it possible to have a bonus damage occur if, "High Templars Remaining Energy is at 50% or lower, no bonus to weapon damage, if 51% to 70% (Add 5 damage to base), if 71% to 100%(add 10 damage to base). I'm not entierley sure how to do this, or if its possible. if anyone has suggestions, it'd be greatly appreciated.
Created validators that return true when youre percentages are where you want them, then create behaviors (of type buff) for each percentage range and add the validator to its "validator (disable)" field, open modifications +, go to combat, increase their damage dealt (make sure its not spell or you'll increase psi storm/feedback damage as well), then set the duration of the behavior to -1 and add all of em to the HT.
Which type of validator do i create? (Note this is the first time i'd be playing with validators)
@cstorm15: Go
Unit Compare Vital. Although if you look up "Energy" in the search bar in the Validator tab, you will see that they are already there....
Caster Energy LT50 / Caster Energy GE50.
These however are CURRENT energy compares, you could copy/duplicate them, and change Validator - Type from Current to Fraction, and that will make it a check for Less Than 50% or Greater Than or Equal To 50%.