Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.3.5] Quest: Return to the Earth (12417) #15984

Closed
Treeston opened this issue Dec 11, 2015 · 5 comments
Closed

[3.3.5] Quest: Return to the Earth (12417) #15984

Treeston opened this issue Dec 11, 2015 · 5 comments

Comments

@Treeston
Copy link
Member

Branch 3.3.5, revision 01beba2
Quest Return to the Earth
Using Ruby Acorn works fine and gives credit for the first 5 uses, but does nothing once you are at 5/6 completed. This makes the quest uncompletable.

@Treeston Treeston changed the title [3.3.5] Return to the Earth (12417) [3.3.5] Quest: Return to the Earth (12417) Dec 11, 2015
@Killyana
Copy link
Member

You're using the item in a npc that already gives you a credit, there's a despawn action missing.

DELETE FROM `smart_scripts` WHERE `entryorguid`=27530 AND `source_type`=0 AND `id`=1;
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
(27530,0,1,0,8,0,100,1,49349,0,0,0,41,5000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ruby Keeper - On Spellhit - Despawn');

DELETE FROM `creature_addon` WHERE `guid` IN (108202,108203,108328,108329, 108330);
INSERT INTO `creature_addon` (`guid`, `bytes1`, `auras`) VALUES
(108202,33554432 ,""),(108203,33554432 ,""),(108328,33554432 ,""),(108329,33554432 ,""),(108330,33554432 ,"");
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=27530;
UPDATE `creature` SET `MovementType`=1, `spawndist`=10 WHERE `guid` IN (108202,108203,108328,108329, 108330);

SET @GUID := 48254;
DELETE FROM `creature` WHERE `guid` IN (@GUID,@GUID+1,@GUID+2,@GUID+3);
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`, `unit_flags`, `dynamicflags`) VALUES
(@GUID,27530,530,1,1,24137,0,3690.58, 1034.33, 55.7121, 1.43117,300,0,0,102820,0,0,537133568,32),
(@GUID+1,27530,530,1,1,24137,0,3690.58, 1034.33, 55.7121, 1.43117,300,0,0,102820,0,0,537133568,32),
(@GUID+2,27530,530,1,1,24137,0,3722.78, 872.282, 56.4471, 3.56587,300,0,0,102820,0,0,537133568,32),
(@GUID+3,27530,530,1,1,24137,0,3678.09, 938.621, 57.2201, 1.50971,300,0,0,102820,0,0,537133568,32);
UPDATE `creature` SET `unit_flags`=537133568 WHERE `id`=27530 AND `dynamicflags`=32;

@ghost
Copy link

ghost commented Dec 11, 2015

@Killyana that fixes the problem, but I believe the despawn is supposed to be slightly delayed.

The vines are also supposed to be pretty large and shrink over time before the despawn, Over 10 seconds I think? The dragon should also start to shrink half way though.

I also just noticed that creatures around the dragons are attacking the "dead" dragons, pretty sure that's not intended.

@Killyana
Copy link
Member

We don't have a mod scale SAI_action.
Edit: there's a Server-side script http://www.wowhead.com/spell=49349/planting-ruby-acorn it's used probably to modify the scale of the dragon.

Killyana added a commit that referenced this issue Dec 11, 2015
Add a despawn action when the item is used
Fix some creature_addon
Add some missing spawns
Add unit_flags immune to npc for dead drakes
Closes #15984
@Killyana
Copy link
Member

The dragon shrinks when the dbc spell 41935 is triggered periodically by the effect3 of http://www.wowhead.com/spell=49364/return-to-earth
But 41935 doesn't have any effect maybe wrong values on spell_dbc

@dr-j
Copy link
Contributor

dr-j commented Feb 28, 2016

yes probably know most wotlk spells in spell_dbc are fucked up, some tbc ones too but tbc ones more complete than wotlk ones p:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants