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] DB/Quest: It Rolls Downhill #17945
Comments
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `phaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
(@CGUID+300, 28751, 571, 1, 1, '', 6129.368, -2015.601, 231.8592, 5.532694, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+301, 28751, 571, 1, 1, '', 6124.152, -2007.818, 232.2949, 4.729842, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+306, 28751, 571, 1, 1, '', 6123.972, -2021.866, 231.8847, 5.235988, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+307, 28751, 571, 1, 1, '', 6145.535, -2016.273, 241.1688, 4.991642, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+309, 28751, 571, 1, 1, '', 6174.213, -2046.936, 241.1631, 3.944444, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+310, 28751, 571, 1, 1, '', 6176.545, -1970.191, 232.2983, 2.80998, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+312, 28751, 571, 1, 1, '', 6161.737, -2067.135, 233.2621, 1.850049, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+313, 28751, 571, 1, 1, '', 6176.255, -1987.595, 241.1641, 4.433136, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+317, 28751, 571, 1, 1, '', 6175.281, -2017.28, 245.1609, 1.989675, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+320, 28751, 571, 1, 1, '', 6171.421, -2062.37, 231.7733, 1.605703, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+321, 28751, 571, 1, 1, '', 6166.295, -1965.434, 233.2561, 0.6283185, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+329, 28751, 571, 1, 1, '', 6189.294, -1966.913, 232.8602, 3.054326, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+330, 28751, 571, 1, 1, '', 6180.967, -2067.945, 232.525, 0.2094395, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+336, 28751, 571, 1, 1, '', 6223.343, -2029.306, 232.0312, 1.53589, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+337, 28751, 571, 1, 1, '', 6223.972, -2008.706, 232.3687, 4.572762, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+340, 28751, 571, 1, 1, '', 6219.575, -2018.262, 231.7784, 6.021386, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+342, 28751, 571, 1, 1, '', 6204.822, -2018.329, 241.1961, 5.078908, 120, 0, 0), -- 28751 (Area: 66) |
Ok have done a little work on this but still not working as intended, DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=52245;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 52245, 0, 0, 29, 0, 28751, 40, 0, 0, 0, 0, "", "Spell 'Harvest Blight Crystal' requires NPC 'Geist WP Bunny' within 10 yards");
SET @GUID := XXX; -- Need 17
DELETE FROM `creature` WHERE `id`=28751;
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
(@CGUID+0, 28751, 571, 1, 1, 6129.368, -2015.601, 231.8592, 5.532694, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+1, 28751, 571, 1, 1, 6124.152, -2007.818, 232.2949, 4.729842, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+2, 28751, 571, 1, 1, 6123.972, -2021.866, 231.8847, 5.235988, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+3, 28751, 571, 1, 1, 6145.535, -2016.273, 241.1688, 4.991642, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+4, 28751, 571, 1, 1, 6174.213, -2046.936, 241.1631, 3.944444, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+5, 28751, 571, 1, 1, 6176.545, -1970.191, 232.2983, 2.80998, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+6, 28751, 571, 1, 1, 6161.737, -2067.135, 233.2621, 1.850049, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+7, 28751, 571, 1, 1, 6176.255, -1987.595, 241.1641, 4.433136, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+8, 28751, 571, 1, 1, 6175.281, -2017.28, 245.1609, 1.989675, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+9, 28751, 571, 1, 1, 6171.421, -2062.37, 231.7733, 1.605703, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+10, 28751, 571, 1, 1, 6166.295, -1965.434, 233.2561, 0.6283185, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+11, 28751, 571, 1, 1, 6189.294, -1966.913, 232.8602, 3.054326, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+12, 28751, 571, 1, 1, 6180.967, -2067.945, 232.525, 0.2094395, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+13, 28751, 571, 1, 1, 6223.343, -2029.306, 232.0312, 1.53589, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+14, 28751, 571, 1, 1, 6223.972, -2008.706, 232.3687, 4.572762, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+15, 28751, 571, 1, 1, 6219.575, -2018.262, 231.7784, 6.021386, 120, 0, 0), -- 28751 (Area: 66)
(@CGUID+16, 28751, 571, 1, 1, 6204.822, -2018.329, 241.1961, 5.078908, 120, 0, 0); -- 28751 (Area: 66)
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (28750, 2875000, 2875001);
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
(28750, 0, 0, 0, 8, 0, 100, 512, 52245, 0, 0, 0, 69, 1, 0, 1, 0, 0, 0, 11, 28751, 10, 0, 0, 0, 0, 0, "Blight Geist - On Spellhit 'Harvest Blight Crystal' - Move To Closest Gameobject 'Crystallized Blight'"),
(28750, 0, 1, 2, 8, 0, 100, 512, 52244, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Spellhit 'Charm Geist' - Say Line 0"),
(28750, 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Spellhit 'Charm Geist' - Follow Invoker"),
(28750, 0, 3, 0, 8, 0, 100, 512, 52252, 0, 0, 0, 11, 52243, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Spellhit 'Charm Channel' - Cast 'Orange Radiation, Small'"),
(28750, 0, 4, 0, 34, 0, 100, 512, 0, 1, 0, 0, 80, 2875000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On MovePoint 1 Reached - Run Script"),
(28750, 0, 5, 0, 34, 0, 100, 512, 0, 2, 0, 0, 80, 2875001, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On MovePoint 2 Reached - Run Script"),
(28750, 0, 6, 7, 29, 0, 100, 512, 1, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Charm Removed - Stop Follow"),
(28750, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Charm Removed - Evade"),
(2875000, 9, 0, 0, 0, 0, 100, 512, 4000, 4000, 4000, 4000, 11, 52247, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Script - Cast 'Target Crystal'"),
(2875000, 9, 1, 0, 0, 0, 100, 512, 1000, 1000, 1000, 1000, 69, 2, 0, 0, 0, 0, 0, 8, 0, 0, 0, 6174.28, -2017.25, 245.116, 0, "Blight Geist - On Script - Move to Target Position"),
(2875001, 9, 0, 0, 0, 0, 100, 512, 4000, 4000, 4000, 4000, 11, 61456, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Script - Cast 'Evil Teleport Visual Only'"),
(2875001, 9, 1, 0, 0, 0, 100, 513, 2000, 2000, 2000, 2000, 11, 52248, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Script - Cast 'Kill Credit - Blighted Geist'"),
(2875001, 9, 2, 0, 0, 0, 100, 512, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Script - Evade"),
(2875001, 9, 3, 0, 0, 0, 100, 512, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blight Geist - On Script - Despawn in 5 seconds"); Geists still attack after 60 seconds of being charmed, tried a few things to prevent this but still now working |
That's strange. If there are no bunnies for the crystalized blight harvest positions, then it is probably calculated based on the geist's orientation. That would require a c++ script for the targeting spells, as I guess that is the one used. |
http://www.wowhead.com/spell=52247/target-crystal
|
Current gameplay of the quest. It seems like every geist, no matter where it happens to be when you use the Scepter of Suggestion, runs straight to south, falls through the ground, collects a Blight Crystal, and then doesn't come back unless you click "follow me" in the pet bar. Also when the control effect wears off, the geist engages in combat immediately before despawning. |
That is generic issue i think - has this not been fixed yet? |
It's fixed |
Description: the quest currently doesn't work very well. This aims to fix that.
Current issues:
Branch(es): 3.3.5
TC hash/commit: 025002b
TDB version: 335.61
Suggested fix (WIP):
The text was updated successfully, but these errors were encountered: