I want to add a buff that gives 50 or 100% increase in experience when killing specific units. The specific units all have a behavior marker I can use to identify them.
Yes, but I want the combat experience to provide bonus only for units that have "Specified behavior".
I.E. My map has neutral minions, some of them are the same as other spawning minions. I am aware of the above fields but modifying those will change XP bonus for killing all units, not specific units with behaviors.
My neutral minions have a behavior that marks them as "neutral". And also marks them as different from other units of the same type that may be roaming around the map.
Furthermore, the hero needs to have "normal" experience when killing the nuetrals, and then have the % bonus buff ONLY against the "nuetral" minions after he has purchased his special item / buff. You can't simply just modify XP Bonus and get a bonus against only nuetrals.
So you want a unit to have a buff with a damage response on attacker that applies the buff to the target if fatal damage is dealt via a damage response on defender?
I want to add a buff that gives 50 or 100% increase in experience when killing specific units. The specific units all have a behavior marker I can use to identify them.
Any data solutions? Trigger solutions?
1. you can define exp amount provided for killing such unit in Unit field Combat: Kill Experience
2. Behaviour Buff fields Xp multiplier, XP scaled and Xp unscaled also change field Combat: Kill Experience
Yes, but I want the combat experience to provide bonus only for units that have "Specified behavior".
I.E. My map has neutral minions, some of them are the same as other spawning minions. I am aware of the above fields but modifying those will change XP bonus for killing all units, not specific units with behaviors.
My neutral minions have a behavior that marks them as "neutral". And also marks them as different from other units of the same type that may be roaming around the map.
Furthermore, the hero needs to have "normal" experience when killing the nuetrals, and then have the % bonus buff ONLY against the "nuetral" minions after he has purchased his special item / buff. You can't simply just modify XP Bonus and get a bonus against only nuetrals.
So you want a unit to have a buff with a damage response on attacker that applies the buff to the target if fatal damage is dealt via a damage response on defender?
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
Ah yes! That would do the trick. Good idea!