#How to get the target of a friendly npc/summon

27 messages · Page 1 of 1 (latest)

buoyant marsh
#

Hello, for the Evoker spell "Time of Need", the player summons a duplicate of themselves. In the combat log, this entity is called "Past Self". In-game, the entity has the same name as the player.

This ability pops and heals the lowest health party member. I am looking for information on how to have the chat say, "Time of Need popped on (party member)".

The spell ID is 368415
The friendly summon is named "Past Self" in the combat log and PlayerName in the game world

The friendly summon only uses two spells, an initial “Verdant Embrace” followed by repeated “Living Flame”

In summary, I would like to retrieve and print the target of "Past Self"

rocky marlin
#

You can't get the target of a cast before it hits so you would only basically be able to get the same info that you're looking at there. The actual resulting heal

buoyant marsh
#

If not, is it possible to announce the name of the current lowest-health party or raid member? Given that the summon only appears when a player drops very low.

rocky marlin
#

The tooltip sounds like the first cast will definitely go on the player that procced it but then the guy stays and casts... on who? Random injured? Current lowest on each cast?

buoyant marsh
#

It continues on the same target and then Despawns. It does not change targets

rocky marlin
#

Really? That's really bad. Are you sure?

buoyant marsh
#

Yes, it acts as a rescue. When a player gets below X percentage of health, it appears, does verdant embrace, and attempts to heal them to full with living flame. It’s only active for a few seconds.

rocky marlin
#

8 seconds. In a raid people won't stay in danger past the initial VE

#

Since VE is instant you can just show the person that got healed by that

buoyant marsh
#

If I cannot know the target until the spell lands, how would I achieve that?

rocky marlin
#

The proc happens and VE lands immediately, right?
Then the same player gets cast on for 8 seconds, and during that time you want to see the player who's getting healed?
So just show who gets healed by that VE for 8 seconds.

buoyant marsh
#

The proc happens, a summon (Past Self) spawns, and then it casts Verdant Embrace. If that counts as immediately, then yes.

Does WA have a way to show the target of a given spell?

rocky marlin
#

As I said, when the spell lands, yes

#

Assuming the Past Self's VE is instant like the player one, just show that.

buoyant marsh
#

So I can have my weakaura trigger based off a spell landing on another player?

Sorry for so many questions. Do you know if I would base the trigger off the combat log, instead of the initial pet summon then? Since I need to wait for the first spell to land.

#

And how would I avoid picking up a player-cast Verdant Embrace?

rocky marlin
#

!events

lament grailBOT
#

See this message #pins message for info on tracking the various game events fired by the API

rocky marlin
#

See what fires. Maybe the Past Self version is a different spellID.

buoyant marsh
#

Thank you. I have been looking through /etrace but not with these additional tools. I’ll see what I can find.

buoyant marsh
# rocky marlin See what fires. Maybe the Past Self version is a different spellID.

I have found the version of Verdant Embrace that fires.
https://www.wowhead.com/spell=361195/verdant-embrace

Can you please let me know how I would get Weakauras to make note of this event and print out the target? It seems that the target is logged here. Is it possible?

buoyant marsh
#

I deeply apologize for the unecessary ping, I believe I have it working.

I have it set to trigger when a heal with Spell ID 361195 goes off. Upon trigger, it prints "Healing %destName", which has correctly shown the target in initial testing.
It also only looks for that Spell ID coming from the NPC "Past Self". Without that, it catches player casts too (though I do not understand why).

I have learned so much from this. Thank you kindly for your patience and resources.

buoyant marsh
foggy pendant
#

getting the target of someone who isn't your own target is.... unreliable at best

might have to read the line straight out of the combat log

rocky marlin
#

...did you read the thread?

#

Btw @buoyant marsh you should use [Source Affiliation = Mine] so you don't trigger from other group members with that proc.