after some further digging and getting the correct info, i finally found the issue and have corrected my script to fix it properly.
this script does just as on retail with ONE exception now… on alliance version, when you use the salve on the sickly deer, it transforms into a cured deer… BUT is modeled dead (laying down) and moving around until it despawns… i checked the model id of the sickly and the cured deer by morphing and the models are ok… so why is the damn cured deer laying down as dead?
anybody have a clue as to what i have missed there.
-- q6124 & q6129 Curing the Sick (alliance & horde versions)
-- issue: using item changes deer to cured and does give credit... but cured animals still have sick aura
-- =======================================
SET @GAZELLE := 12296; -- Sickly Gazelle
SET @DEER := 12298; -- Sickly Deer
SET @SPELLHIT := 19512; -- Apply Salve
SET @AURA := 19502; -- Sickly Critter Aura
-- =======================================
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@GAZELLE,@DEER);
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@GAZELLE,@DEER);
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
-- Horde Quest Support
(@GAZELLE,0,0,0,8,0,100,0,@SPELLHIT,0,0,0,28,@AURA,0,0,0,0,0,1,0,0,0,0,0,0,0, 'remove aura on spellhit'),
-- Alliance Quest Support
-- ****** issue here, when appling salve, everything works now, but, the cured deer is dead and moving around.
-- models for creature ids 883=347, 12298=10091 (models check out ok when morph on self)
(@DEER,0,0,0,8,0,100,0,@SPELLHIT,0,0,0,28,@AURA,0,0,0,0,0,1,0,0,0,0,0,0,0, 'remove aura on spellhit');
[/sql]