Can anyone explain to me (or even screenshot tutorialize me) how to make the current value of a custom attribute.... let's call it "Intelligence"... translate as a percentage bonus to spell damage? I.E. Each point in intelligence increases spell damage done by 1%. I don't know if it can be done globally or if it has to be done for each individual spell, but if anyone can show me how to do this (triggers, requirements, behaviors, all that is needed) I would be eternally grateful. I'm making a custom hero map to kill time while on deployment... really want to get over this hump.
go to your attribute, open modifications +, go to the combat tab, there's gonna be a few boxes for damage, find the one that has "Fraction" in its name and its values set to 1, then modify spell to 1.01
go to your attribute, open modifications +, go to the combat tab, there's gonna be a few boxes for damage, find the one that has "Fraction" in its name and its values set to 1, then modify spell to 1.01
I will give it a shot... but isn't the only percentage value in combat one that affects the target's total hp (like "Death and Decay")? I will post when I find out.
He means the Combat - Modification - Damage Dealt Fraction field of the Attribute behaviour. You are thinking of the Effect - Vital Fraction Maximum field of the Damage effect. Just set this field to 1.01 for spell damage. add the behaviour to your unit and then increase it through the various means.
The tooltip for Combat - Modification - Damage Dealt Fraction field of the Attribute behaviour displays (for me) "Damage dealt based on maximum hit points of the unit attacked". I tested it out by making it 1.02 in my attibute, put a mothership on the map, and sure enough... one-shotted it with an ability that normally does 300 damage. Either the version of my editor is different (which is possible... because I cannot plug in my personal laptop into the ship's internet) or you only saw the "fraction" part and assumed it meant the damage that the unit was putting out. If either of you can verify that your tooltip for Damage Dealt Fraction is different than mine, I should be able to tell if it is just the version of the editor that I am using or if dealing increased % damage cannot be done in the behavior tab.
Perhaps I should re-evaluate my question... how do I do this with a trigger? My variable knowledge is very limited... but how do I make a variable that represents the value of "attribute" for a given unit, create a trigger with action "Change unit damage", and cause the value of the variable for "attribute" to increase spell damage by %?
The percentage damage increase values work flawlessly. I use exactly what you want to do (1% ability damage increase per point of intelligence) exactly the way TheAlmaity and DrSuperEvil described, and well, it works.
Just make sure intelligence increases Spell damage and all your spells also use Spell damage type.
I did test it. It did 102% of the mothership's total health instead of 2% extra damage to the spell. Perhaps there is no way to accomplish this without scripting...
The percentage damage increase values work flawlessly. I use exactly what you want to do (1% ability damage increase per point of intelligence) exactly the way TheAlmaity and DrSuperEvil described, and well, it works.
Just make sure intelligence increases Spell damage and all your spells also use Spell damage type.
If this is true, I have my answer: the version of editor I am using is different, then. My test dealt damage based on unit's total health as reflected by the tooltip. I guess I will just have to wait until I can patch my editor, then. But thank you for clearing that up for me.
I set my ability modifier for Damage Dealt Fraction to 1.02. Are you suggesting that I test it for 0.02? 1.02 is the entry I put in for another attribute to affect attack speed, and that one works just fine (i.e. 1.02 modifier with 32 in the stat did not mutliply attack speed by 32.64).
YAY! Ok, the tooltip is wrong, my editor version is the same, and setting the value per point of the intelligence attribute to 0.02 does infact increase spell damage by 2% per attribute point! Thank you all very much.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Can anyone explain to me (or even screenshot tutorialize me) how to make the current value of a custom attribute.... let's call it "Intelligence"... translate as a percentage bonus to spell damage? I.E. Each point in intelligence increases spell damage done by 1%. I don't know if it can be done globally or if it has to be done for each individual spell, but if anyone can show me how to do this (triggers, requirements, behaviors, all that is needed) I would be eternally grateful. I'm making a custom hero map to kill time while on deployment... really want to get over this hump.
go to your attribute, open modifications +, go to the combat tab, there's gonna be a few boxes for damage, find the one that has "Fraction" in its name and its values set to 1, then modify spell to 1.01
I will give it a shot... but isn't the only percentage value in combat one that affects the target's total hp (like "Death and Decay")? I will post when I find out.
He means the Combat - Modification - Damage Dealt Fraction field of the Attribute behaviour. You are thinking of the Effect - Vital Fraction Maximum field of the Damage effect. Just set this field to 1.01 for spell damage. add the behaviour to your unit and then increase it through the various means.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
The tooltip for Combat - Modification - Damage Dealt Fraction field of the Attribute behaviour displays (for me) "Damage dealt based on maximum hit points of the unit attacked". I tested it out by making it 1.02 in my attibute, put a mothership on the map, and sure enough... one-shotted it with an ability that normally does 300 damage. Either the version of my editor is different (which is possible... because I cannot plug in my personal laptop into the ship's internet) or you only saw the "fraction" part and assumed it meant the damage that the unit was putting out. If either of you can verify that your tooltip for Damage Dealt Fraction is different than mine, I should be able to tell if it is just the version of the editor that I am using or if dealing increased % damage cannot be done in the behavior tab.
Perhaps I should re-evaluate my question... how do I do this with a trigger? My variable knowledge is very limited... but how do I make a variable that represents the value of "attribute" for a given unit, create a trigger with action "Change unit damage", and cause the value of the variable for "attribute" to increase spell damage by %?
Just test it, the tooltip is wrong. Well at least for the buff behaviour it is.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
The percentage damage increase values work flawlessly. I use exactly what you want to do (1% ability damage increase per point of intelligence) exactly the way TheAlmaity and DrSuperEvil described, and well, it works.
Just make sure intelligence increases Spell damage and all your spells also use Spell damage type.
@DrSuperEvil: Go
I did test it. It did 102% of the mothership's total health instead of 2% extra damage to the spell. Perhaps there is no way to accomplish this without scripting...
If this is true, I have my answer: the version of editor I am using is different, then. My test dealt damage based on unit's total health as reflected by the tooltip. I guess I will just have to wait until I can patch my editor, then. But thank you for clearing that up for me.
What value did you set it to? Just so you know 1 = 100%
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
I set my ability modifier for Damage Dealt Fraction to 1.02. Are you suggesting that I test it for 0.02? 1.02 is the entry I put in for another attribute to affect attack speed, and that one works just fine (i.e. 1.02 modifier with 32 in the stat did not mutliply attack speed by 32.64).
@LSSNAwesomeface: Go
YAY! Ok, the tooltip is wrong, my editor version is the same, and setting the value per point of the intelligence attribute to 0.02 does infact increase spell damage by 2% per attribute point! Thank you all very much.