Help With Targeting Sai

Guys please help

im trying to fix quest “Among the Champions”

it require to be in a mount and talk to npc and fight with him

at the end of the battle when npc reach 10% hp it need to cast 2 spells on player

achievement kill credit

create quest item

i can not target the player it always cast on the mount and the player dont get item or the credit for the achievement…

when i kill him without the mount it is working awsome… but this is not blizzlike and cant be done without a mount…

tried to use target 22 (SMART_TARGET_ACTION_INVOKER_VEHICLE) doesnt work…

anyone can help?

show me how it’s done please…


(@Entry,0,7,0,2,0,100,0x1,0,10,0,0,11,@SpellCredit,2,0,0,0,0,22,0,0,0,0,0,0,0, 'Darnassus Champion - On 10% HP - Kill Credit Achievement'),

(@Entry,0,8,0,2,0,100,0x1,0,10,0,0,11,63596,2,0,0,0,0,22,0,0,0,0,0,0,0, 'Darnassus Champion - On 10% HP - Add Quest Item');

No idea how to make this work, but you should use link here.

CODE,
(@Entry,0,8,0,61,0,100,0,0,0,0,0,11,63596,2,0,0,0,0,22,0,0,0,0,0,0,0, ‘Darnassus Champion - On 10% HP - Add Quest Item’);[/sql]
[/CODE]

SMART_TARGET_ACTION_INVOKER_VEHICLE specifically tells it to target the vehicle.

theory workaround.

Leave it how you have it

Vehicle’s sai.

SMART_EVENT_SPELLHIT

SMART_ACTION_CAST

SMART_TARGET_OWNER_OR_SUMMONER


Would probably need something like SMART_TARGET_VEHICLE_OWNER added to SAI for it to be able to be done properly.

thanks for the idea but when i added SAI to the mount

He get killed soon as he attack or get damage…

please help me think on a any way it will work…

as a temp fix until we will have SMART_TARGET_VEHICLE_OWNER

I have a sniff of this. I’ll look for it.

thanks you so much [SIZE=12px]Malcrom[/SIZE]!

This was not the quest I thought it was. why don’t you check the flags on the vehicle and rider.

can you not speak in codes im not the king of fixes yet…

what to check if the flags?