I can't seem to find an effect or data field for this. Does anyone have a suggestion on how one might go about accomplishing it?
I'd like for a weapon's attack to do extra damage per point of energy. All I was able to find were fields pertaining to the target's vitals, not the attacker's.
Use a variable that equals to the attacker's mana/energy (or rather the wielder of the weapon, if it's a specific unit even that'd do, just track that darn energy), call up the value of the variable and add it as bonus damage.
Edit -> you can of course use sums to calculate the bonus damage, the bonus damage, for example might be: If [Variable] > 20 then +25 damage, and then another sum saying, if [Variable] > 50 then [Variable]*0.2 +70 damage
Of course i haven't tested it, so it's just theory work, please do tell when you find a way of doing it :p
I can't seem to find an effect or data field for this.Does anyone have a suggestion on how one might go about accomplishing it?
I'd like for a weapon's attack to do extra damage per point of energy.All I was able to find were fields pertaining to the target's vitals, not the attacker's.
After fiddling around a little bit I found a working solution. Just copy and paste the trigger in this map to yours and it should work the same way as it does in this test map. Enjoy!
If your looking for a purely behavioral solution you might have to make a tiered system of damage upgrades with validators that are based on total mana. Think 5 behaviors that enhance damage by a % and each one is triggered by another % of mana missing by the character.
If your looking for a purely behavioral solution you might have to make a tiered system of damage upgrades with validators that are based on total mana. Think 5 behaviors that enhance damage by a % and each one is triggered by another % of mana missing by the character.
I was hoping their was a field somewhere I was missing.
I'm nervous to use triggers, as certain damage responses or behaviors seem to be incompatible with units modified via triggers.
I suppose I could make a simple damage effect, and apply it iteratively to the attacked unit for each point of energy the attacker has using a trigger.
Thanks for the suggestions.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I mean energy.
I can't seem to find an effect or data field for this. Does anyone have a suggestion on how one might go about accomplishing it?
I'd like for a weapon's attack to do extra damage per point of energy. All I was able to find were fields pertaining to the target's vitals, not the attacker's.
Use a variable that equals to the attacker's mana/energy (or rather the wielder of the weapon, if it's a specific unit even that'd do, just track that darn energy), call up the value of the variable and add it as bonus damage.
Edit -> you can of course use sums to calculate the bonus damage, the bonus damage, for example might be: If [Variable] > 20 then +25 damage, and then another sum saying, if [Variable] > 50 then [Variable]*0.2 +70 damage
Of course i haven't tested it, so it's just theory work, please do tell when you find a way of doing it :p
After fiddling around a little bit I found a working solution. Just copy and paste the trigger in this map to yours and it should work the same way as it does in this test map. Enjoy!
If your looking for a purely behavioral solution you might have to make a tiered system of damage upgrades with validators that are based on total mana. Think 5 behaviors that enhance damage by a % and each one is triggered by another % of mana missing by the character.
1 Trigger > 5 Validators.
I was hoping their was a field somewhere I was missing.
I'm nervous to use triggers, as certain damage responses or behaviors seem to be incompatible with units modified via triggers.
I suppose I could make a simple damage effect, and apply it iteratively to the attacked unit for each point of energy the attacker has using a trigger.
Thanks for the suggestions.