I have an attribute, intelligence, which increases spell damage done by .8 at the moment, but I realize this causes problems if I made a spell do 5 damage per second for example because it scales too well with the attribute.
Now I need to find out how to make this attribute behave differently with every ability, so that I can edit the DoT spell to do 5 + [30%] of intelligence while another spell deals 150 + [80%] Intelligence. I know it's possible (because AoS has done it), but I can't seem to figure out how I can get it done. Anyone know anything about this?
If you need that specific damage pattern, I would suggest dealing the damage via trigger.
Otherwise, you can increase the damage fraction instead, for example make each point of intelligence increase spell damage by 1% or something, this would affect all spell damage instances equally, regardless of interval.
The other thing you could do is have the Intelligence attribute actually do nothing, but then scale the effects and such via catalog triggers whenever the unit's attribute increases or decreases. I'm using a combo of what Kueken suggested (damage fraction vs specific damage amount) and this method since abilities that don't use damage effects don't instinctively become stronger with attribute increases. For these abilities like heals or those that make use of buff behaviors, I update the ability's catalog entries to scale appropriately (5 points of intelligence increases the amount healed by 1%, shield buff ability gives +1 shield point and +0.1 shield armor per intelligence, etc.).
Do you wish to share how exactly you set up these catalog triggers? Otherwise I'll just stick to kueken's 2nd idea, because when I mess with triggers I usually mess everything up.
I have an attribute, intelligence, which increases spell damage done by .8 at the moment, but I realize this causes problems if I made a spell do 5 damage per second for example because it scales too well with the attribute.
Now I need to find out how to make this attribute behave differently with every ability, so that I can edit the DoT spell to do 5 + [30%] of intelligence while another spell deals 150 + [80%] Intelligence. I know it's possible (because AoS has done it), but I can't seem to figure out how I can get it done. Anyone know anything about this?
If you need that specific damage pattern, I would suggest dealing the damage via trigger.
Otherwise, you can increase the damage fraction instead, for example make each point of intelligence increase spell damage by 1% or something, this would affect all spell damage instances equally, regardless of interval.
The other thing you could do is have the Intelligence attribute actually do nothing, but then scale the effects and such via catalog triggers whenever the unit's attribute increases or decreases. I'm using a combo of what Kueken suggested (damage fraction vs specific damage amount) and this method since abilities that don't use damage effects don't instinctively become stronger with attribute increases. For these abilities like heals or those that make use of buff behaviors, I update the ability's catalog entries to scale appropriately (5 points of intelligence increases the amount healed by 1%, shield buff ability gives +1 shield point and +0.1 shield armor per intelligence, etc.).
Do you wish to share how exactly you set up these catalog triggers? Otherwise I'll just stick to kueken's 2nd idea, because when I mess with triggers I usually mess everything up.
Else use a complex system of requirements and counter buffs..
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