You could try a behavior's damage response, Location set to Attacker and only affecting the damage type of your weapons. The Handled effect applys a slow to the target. This requires your weapons to use other damage types than your abilities, otherwise all damaging abilities would slow, as well.
Just have that "frost orb" to apply a specific behavior on the unit. Then as Kueken531 mentioned, use the "Handled" effect field of that behavior ( also set chance to 1 and location to attacker ), there's no need for a distinct damage type.
But I cannot apply search effects?!?! why is that? How can I apply something like area cleave with weapon attack :/ (handled cannot use search effects?)
I have zealot with psi blade weapon. The zealot gets item (axe, which deals 30extra damage with 30% chance).
I give the zealot item, which carries behaviour(axe). The behaviour has handled effect axe(damage), and location of behaviour is attacker, behaviour chance 0.3, The effect(axe) has impact location as target unit/point. AND THIS WORKS
Then I give the zealot item (cleaver, deals 50 damage around hero)
I give the zealot item, which carries behaviour(cleaver). The behaviour has handled effect cleaver(search), and location of behaviour is attacker, behaviour chance 1, The effect(cleaver) has impact location as target unit/point. and as search effect it also has cleaver(damage) effect impact location target unit/point. AND THIS DOESNT WORK
So basically same stuff with SEARCH instead of DAMAGE and it doesnt work...what am I doing wrong? Still need more info?! I also tried the search fields from damage effect, but I got no results no matter what I tried.
How is this done? Like lets say I want every unit that has frost orb to slow attacked enemies by 10%.
I hope only way isnt just setting set effects to all weapons (induvitually) and controlling the effects by validators.
You could try a behavior's damage response, Location set to Attacker and only affecting the damage type of your weapons. The Handled effect applys a slow to the target. This requires your weapons to use other damage types than your abilities, otherwise all damaging abilities would slow, as well.
Just have that "frost orb" to apply a specific behavior on the unit. Then as Kueken531 mentioned, use the "Handled" effect field of that behavior ( also set chance to 1 and location to attacker ), there's no need for a distinct damage type.
@Kueken531: Go
Or just put those damage effects in the exclude array.
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
And I was refering the "frost orb" as item.
Im not quite following if the behaviours can detect when units weapon hits?
forgot to check out the handled stuff, but I suppose Ill look into that.
Just look at the wiki page on the Buff behaviour.
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
Kuekens advice worked!
But I cannot apply search effects?!?! why is that? How can I apply something like area cleave with weapon attack :/ (handled cannot use search effects?)
Depends on how you are applying them.
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
Well how am I suppose to apply them?
Again. I want the item carrier apply effect at weapon impact(point/unit) to apply the effect (wheter its search or slow shouldnt matter)?
so why does the damage work, but not search....
Upload the offending map so we can see what you have done.
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
Kueken help! :(
Search can work, you just aren't doing it right. You better post more information or no one will be able to help.
@StragusMapster: Go
Seconded!
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
Well ill try to explain it one more time.
I have zealot with psi blade weapon. The zealot gets item (axe, which deals 30extra damage with 30% chance).
I give the zealot item, which carries behaviour(axe). The behaviour has handled effect axe(damage), and location of behaviour is attacker, behaviour chance 0.3, The effect(axe) has impact location as target unit/point. AND THIS WORKS
Then I give the zealot item (cleaver, deals 50 damage around hero)
I give the zealot item, which carries behaviour(cleaver). The behaviour has handled effect cleaver(search), and location of behaviour is attacker, behaviour chance 1, The effect(cleaver) has impact location as target unit/point. and as search effect it also has cleaver(damage) effect impact location target unit/point. AND THIS DOESNT WORK
So basically same stuff with SEARCH instead of DAMAGE and it doesnt work...what am I doing wrong? Still need more info?! I also tried the search fields from damage effect, but I got no results no matter what I tried.
Curious, the general setup looks right.
Could you select all the relevant effects, and do a "Copy as text", and paste the result here? We can probably spot the mistake.