I want to have a fatal damage response, so that if fatal damage is dealt by an attacker, a temporary buff is applied, (very short time like 0.25 seconds) to delay the final death blow. Im using an ignore damage on the temporary buff so it delays the units death by 0.25 seconds. after the buff expires, I want to have a damage effect that finally kills the unit, but I want the damage credit to come from the original attacker who dealt the fatal blow.
Look at the Stats: Kill Credit - Value field. You will need to get your damage response to use a Set effect on the attacker so it can be referenced by the Stats: Kill Credit - Effect field which then applies the Create Persistent timer that as a final effect applies the kill credit buff to the caster and then the suicide damage effect.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Could I use this same field to give kill credit to the player who killed his clones? (Lets say that you want the hero to die if his hallucinations die, and you want the killing player to get the kill credit)
How would you set that up exactly?
I am not sure how to get the SET effect onto the attacking unit, the one that deals the killing blow.
That is how the brood lord gets kill credit for kills made by the broodlings. As the illusion creating unit is the caster you can always use that as the reference for applying the kill credit buff.
You simple have the damage response set to defender. When the attacker attacks the unit the defender will apply the effect to the attacker.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
What effect should the defender apply to the attacker? A behavior, a set effect? how exactly does this then go back to the caster. I'm just not able to visualize the effect tree the way you're describing it.
EDIT:
So Here is what I've tried that doesn't work.
Clone Ability SET Effect
1st the Caster Applies a Caster Buff which has the Kill - credit: Effect set to Target and the Kill - Credit: Effect field set to Kill Caster SET
2nd, the clones are Created and they have another damage response behavior.
The clones behavior is set to Fatal Damage Response with 100% chance. Location set to Defender. The Handled effect is the Kill Caster SET.
Inside the kill Caster SET Ive included the damage effect of 10,000 with an impact location set to Caster Unit and a launch location value set to Target Unit.
The caster still gets credit for killing himself when a clone dies.
No, the caster gets credit for the kill. Kills himself....
Its a hallucination that dies and the effect on either behavior to kill Caster doesn't change the kill credit to target.
Basically any hero player should get credit for killing the heros Hallucinations. As in he kills the hero but the kill credit doesn't work with current settings. It just suicides.
I have literally put the kill credit effect reference on the Target units buff exactly as you have described. If I am doing it incorrectly then there is a step you are not explaining. Also I have checked the buffs to make sure they are all being applied properly. Everything is working through the effect tree except for the kill credit, which always gives it to the caster regardless of settings.
Here are the complete details.
Ability: Shadow Clone
Effect: Shadow Clone (SET)
Create Hallucinations (Spawn Unit)
Effect: Spawn: Apply Timed life behavior
Timed Life Behavior (This is used to auto kill the hallucinations and has the combat damage response)
Duration: 15
Damage response Chance: 1
Fatal: Enabled
Handled: Target Kill Credit (SET)
Apply Target Buff: Target (Attacking) unit
Apply Caster Buff: caster unit
Target Buff Settings:
Kill Credit Value: Target
Kill Credit Effect: Target Kill Credit (SET)
Caster Buff Settings:
Kill Caster<br /> Impact Location: Caster Unit<br /> Launch Location: Target Unit
Isn’t that supposed to be the case? In any case I’ve tested it numerous times. I have 2 buffs that get successfully applied. One on the target (the unit that attacks the hallucination with the damage response behavior) and one on the caster.
BTW I’ve tried the kill credit settings on the caster buff as well to no avail.
The kill credit gives the kills of the unit with the buff to the designated unit. In the case of the buff on brood lord broodlings it gives their kills to the caster (brood lord).
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Yes, that makes sense, however for some reason it still does not work even when I put it on the caster. I've even made sure that the kill happens after the buff has been applied, even with a timer which can be seen.
I've set the kill credit settings on the caster to no avail, it still does not give proper kill credit. The broodlord setup is far simpler then my complex hallucination ability. I've been over it time and time again. Only way I've been able to give the kill credit to the killing player is with triggers. But the Triggers is crude and I'd like to be able to solve this with DATA. If you like, I can create a DEMO map with the problem and you can try it out for yourself.
Here's a test map file. In it I've also included a simple trigger which will state who is getting kill credit. I recreated the ability which is nearly identical to the one I have in my map. You'll notice I am careful to apply the caster buff first with the kill credit settings before I apply it to the target in the Kill Credit SET. Since the Target buff also has the initial suicide damage set to kill caster. You will notice however that Caster always gets credit for the kill.
So let me get this straight you are creating a unit and then applying a buff to the unit that uses the ability. As the Set effect is not targeting a unit (as would be the case for a damage response) there is no valid target to give the kill credit to. The Set effect referenced is in a sister branch of the effect tree so the buff is not a direct descendent and therefore not valid. Also since this is an ability the caster is not the unit with the damage response which would be the source so it is being applied to the wrong unit.
I mentioned earlier that it is hallucinations being cast and that I need the caster to die if his hallucinations die and I need the attacker to get the credit.
Damage response buff on hallucinations applied by the ability that apply a Set effect to the target (attacker) which then applies a kill credit buff to the caster which gives kill credit to the target of the set effect.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
So the issue is the damage response buff is being applied by the Spawn Effect rather then the ability and that is how I'm losing the point of reference?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I want to have a fatal damage response, so that if fatal damage is dealt by an attacker, a temporary buff is applied, (very short time like 0.25 seconds) to delay the final death blow. Im using an ignore damage on the temporary buff so it delays the units death by 0.25 seconds. after the buff expires, I want to have a damage effect that finally kills the unit, but I want the damage credit to come from the original attacker who dealt the fatal blow.
Look at the Stats: Kill Credit - Value field. You will need to get your damage response to use a Set effect on the attacker so it can be referenced by the Stats: Kill Credit - Effect field which then applies the Create Persistent timer that as a final effect applies the kill credit buff to the caster and then the suicide damage effect.
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
I see....
Could I use this same field to give kill credit to the player who killed his clones? (Lets say that you want the hero to die if his hallucinations die, and you want the killing player to get the kill credit)
How would you set that up exactly?
I am not sure how to get the SET effect onto the attacking unit, the one that deals the killing blow.
That is how the brood lord gets kill credit for kills made by the broodlings. As the illusion creating unit is the caster you can always use that as the reference for applying the kill credit buff.
You simple have the damage response set to defender. When the attacker attacks the unit the defender will apply the effect to the attacker.
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
Sorry,
What effect should the defender apply to the attacker? A behavior, a set effect? how exactly does this then go back to the caster. I'm just not able to visualize the effect tree the way you're describing it.
EDIT:
So Here is what I've tried that doesn't work.
Clone Ability SET Effect
1st the Caster Applies a Caster Buff which has the Kill - credit: Effect set to Target and the Kill - Credit: Effect field set to Kill Caster SET
2nd, the clones are Created and they have another damage response behavior.
The clones behavior is set to Fatal Damage Response with 100% chance. Location set to Defender. The Handled effect is the Kill Caster SET.
Inside the kill Caster SET Ive included the damage effect of 10,000 with an impact location set to Caster Unit and a launch location value set to Target Unit.
The caster still gets credit for killing himself when a clone dies.
A set effect that applies a buff back to the caster and the second buff applies the kill credit to the target of the set.
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
Sorry, it doesn't work.
I've done as you have said. Again, the SET effect on the handled field has apply behavior to caster and target.
IT applies the target buff first with the Credit Field set to Target and then it applies a caster buff which initiates the suicide damage.
The caster is still getting credit for killing himself..
So while alive kills the caster makes goes to the target?
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
No, the caster gets credit for the kill. Kills himself....
Its a hallucination that dies and the effect on either behavior to kill Caster doesn't change the kill credit to target.
Basically any hero player should get credit for killing the heros Hallucinations. As in he kills the hero but the kill credit doesn't work with current settings. It just suicides.
Then you have set it up incorrectly. You should be using the set effect as a reference for the target of the kill credit.
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
I have literally put the kill credit effect reference on the Target units buff exactly as you have described. If I am doing it incorrectly then there is a step you are not explaining. Also I have checked the buffs to make sure they are all being applied properly. Everything is working through the effect tree except for the kill credit, which always gives it to the caster regardless of settings.
Here are the complete details.
Ok your target buff is being applied to the target and not the caster.
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
Isn’t that supposed to be the case? In any case I’ve tested it numerous times. I have 2 buffs that get successfully applied. One on the target (the unit that attacks the hallucination with the damage response behavior) and one on the caster.
BTW I’ve tried the kill credit settings on the caster buff as well to no avail.
The kill credit gives the kills of the unit with the buff to the designated unit. In the case of the buff on brood lord broodlings it gives their kills to the caster (brood lord).
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
Yes, that makes sense, however for some reason it still does not work even when I put it on the caster. I've even made sure that the kill happens after the buff has been applied, even with a timer which can be seen.
I've set the kill credit settings on the caster to no avail, it still does not give proper kill credit. The broodlord setup is far simpler then my complex hallucination ability. I've been over it time and time again. Only way I've been able to give the kill credit to the killing player is with triggers. But the Triggers is crude and I'd like to be able to solve this with DATA. If you like, I can create a DEMO map with the problem and you can try it out for yourself.
Here's a test map file. In it I've also included a simple trigger which will state who is getting kill credit. I recreated the ability which is nearly identical to the one I have in my map. You'll notice I am careful to apply the caster buff first with the kill credit settings before I apply it to the target in the Kill Credit SET. Since the Target buff also has the initial suicide damage set to kill caster. You will notice however that Caster always gets credit for the kill.
Thanks for checking out the test map.
So let me get this straight you are creating a unit and then applying a buff to the unit that uses the ability. As the Set effect is not targeting a unit (as would be the case for a damage response) there is no valid target to give the kill credit to. The Set effect referenced is in a sister branch of the effect tree so the buff is not a direct descendent and therefore not valid. Also since this is an ability the caster is not the unit with the damage response which would be the source so it is being applied to the wrong unit.
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
Sure,
I mentioned earlier that it is hallucinations being cast and that I need the caster to die if his hallucinations die and I need the attacker to get the credit.
Any ideas how to do that then?
Damage response buff on hallucinations applied by the ability that apply a Set effect to the target (attacker) which then applies a kill credit buff to the caster which gives kill credit to the target of the set effect.
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
I see,
So the issue is the damage response buff is being applied by the Spawn Effect rather then the ability and that is how I'm losing the point of reference?