[Quest]Helboar, The Other White Meat

The spell 29200 doesn t create Purified Helboar Meat (23248), but consumes Helboar Meat (23270).

This is my try to solve it, but somehow nothing changed, though the spell has effect DUMMY…

[CODE]–Helboar, the Other White Meat

INSERT INTO spell_scripts (id, effIndex, delay, command, datalong, datalong2) VALUES

(29200, 3, 0, 17, 23248, 1); --creating 23248 [/CODE]

This is easier to read.

[CODE]–Quest fix for “Helboar, the Other White Meat”
INSERT INTO spell_scripts (id,effIndex,delay,command,datalong,datalong2) VALUES
(29200,3,0,17,23248,1); – Create item 23248 when cast spell[/sql]

This is correct:

[sql]–Quest fix for “Helboar, the Other White Meat”
DELETE FROM spell_scripts WHERE id=29200;
INSERT INTO spell_scripts (id,effIndex,delay,command,datalong,datalong2) VALUES
(29200,3,0,17,23248,1); – Create item 23248 when cast spell
[/CODE]

ok, sry /emoticons/default_biggrin.png I ve got probs to correctly post sth I think /emoticons/default_biggrin.png, I hop sbdy can tell me, what I did wrong, or other possible reasons /emoticons/default_wink.png

If i understood it on the right way, there isnt a effIndex 3.

Theres only 2,1 and 0

So i guess its related to that?

still, doesn t work, somehow ;/

This is wrong, the spell has a chance to trigger spell 29277 OR 29278.

Couldn’t edit for some reason.

Temp hackfix:

case 29200: spellInfo->EffectImplicitTargetA[0] = TARGET_CASTER; break;

Still cant edit but it seems to edit. strange bug.

Anyways, should be TARGET_UNIT_CASTER.

[/CODE]