Credit Issue| How To Trigger Specific Kill Credit

Hi Everyone! /emoticons/default_smile.png

Please help me with this

The Quest “Neutralizing the Cauldrons” gives an item that can be used near 3 objects in a diffrents locations

When I use the quest item near one of the objects i can see NPC spawned which to normal players is unseen and his ID is the kill credit i need to get for quest from that object

Now I need to know how to trigger the credit kill on the specific spawned unit

I tried to trigger the credit kill by spell but when i use the quest item near one of the objects I get all three of them

This is what I did:


DELETE FROM `spell_scripts` WHERE id='45653';

INSERT INTO `spell_scripts` (`id`, `effIndex`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) VALUES

('45653', '0', '1', '8', '25493', '0', '0', '0.0', '0.0', '0.0', '0.0'),

('45653', '0', '1', '8', '25490', '0', '0', '0.0', '0.0', '0.0', '0.0'),

('45653', '0', '1', '8', '25492', '0', '0', '0.0', '0.0', '0.0', '0.0');

Any idea what can slove this?

Quest Info:

Name: Neutralizing the Cauldrons

Quest ID: 11647

Kill Credit 1 ID: 25490

Kill Credit 2 ID: 25492

Kill Credit 3 ID: 25493

Item Quest SpellID: 45653

Links:

http://old.wowhead.com/quest=11647

http://old.wowhead.com/spell=45653

http://old.wowhead.com/npc=25490

http://old.wowhead.com/npc=25492

http://old.wowhead.com/npc=25493

Thank to the helpers!

You want to use smart_scripts on the 3 trigger npc’s to give kill credit on spell hit. I have an old EAI script that i can convert over…

thx for the idea, ill try that

edit:

can’t still dont understand, i thought wrong will you show me how is done?

this is not a “please give me a fix” section, try yourself or show patience