EVOWOW Forums

WOTLK => Bug Tracker => Fixed Bugs => Темата е започната от: shaem в Януари 30, 2013, 07:50:35 pm

Титла: [FIXED][quest][12707][Wooly Justice]
Публикувано от: shaem в Януари 30, 2013, 07:50:35 pm
За куеста (http://www.wowhead.com/quest=12707#comments) е необходимо да се използва куест айтъм (http://www.wowhead.com/item=39268) върху Enraged Mammoth (http://www.wowhead.com/npc=28851), след което мамута може да се язди и има спел (http://www.wowhead.com/spell=52603), с който трябва да се убият 12 Mam'toth Disciple (http://www.wowhead.com/npc=28861). След използването на куест айтъма не се случва нищо и мамутите не могат да се яздят.
Титла: Re: [quest][12707][Wooly Justice]
Публикувано от: maniak23 в Юли 07, 2013, 12:22:56 pm
И този още не е оправен
Титла: Re: [quest][12707][Wooly Justice]
Публикувано от: admin в Юли 15, 2013, 06:36:54 pm
Това че пишеш по няколко пъти в темата си няма да помогне.
Титла: Re: [quest][12707][Wooly Justice]
Публикувано от: untaught в Юли 15, 2013, 06:39:58 pm
Т'ва имаше fix някъде от Trista, но после ще го потърся.
Титла: Re: [quest][12707][Wooly Justice]
Публикувано от: maniak23 в Юли 22, 2013, 06:29:56 pm
Работи, много благодарности на Volodq и admina
Титла: Re: [Feedback][quest][12707][Wooly Justice]
Публикувано от: untaught в Юли 31, 2013, 12:05:24 pm
Мисля, че всичко е наред така:
SET @Medallion := 52596;
SET @Mammoth :=   28851;
SET @Trample :=   52603;
SET @TAura :=     52607;
SET @Desciple :=  28861;
SET @Credit :=    28876;
UPDATE `creature_template` SET `AIName`='SmartAI',`spell1`=52601,`spell2`=52603 WHERE `entry`=@Mammoth;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@Mammoth AND `source_type`=0;
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
(@Mammoth,0,0,1,8,0,100,0,52596,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,'Enraged Mammoth - On hit by spell from medallion - Change faction to friendly'),
(@Mammoth,0,1,0,61,0,100,0,0,0,0,0,81,16777216,0,0,0,0,0,1,0,0,0,0,0,0,0,'Enraged Mammoth - Link With Previous Event - Set flags to 16777216'),
(@Mammoth,0,2,3,1,0,100,0,10000,10000,10000,10000,2,1924,0,0,0,0,0,1,0,0,0,0,0,0,0,'Enraged Mammoth - On OOC for 10 sec - Change faction to back to normal'),
(@Mammoth,0,3,0,61,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Enraged Mammoth - Link With Previous Event - Restore flags');
-- Add SAI for Mam'toth desciple
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Desciple;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@Desciple AND `source_type`=0;
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
(@Desciple,0,0,0,6,0,100,0,0,0,0,0,33,@Credit,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Mam''toth desciple - On death - Give credit to invoker, if Tampered'),
(@Desciple,0,1,0,25,0,100,0,0,0,0,0,28,@TAura,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mam''toth desciple - On reset - Remove aura from trample');
-- Add conditions for spell Medallion of Mam'toth
DELETE FROM `conditions` WHERE `SourceEntry`=@Medallion AND `SourceTypeOrReferenceId`=17;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17,0,@Medallion,0,0,31,1,3,@Mammoth,0,0,0,'', 'Medallion of Mam''toth can hit only Enraged Mammoths');
-- Add conditions for spell Trample
DELETE FROM `conditions` WHERE `SourceEntry`=@Trample AND `SourceTypeOrReferenceId`=13;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,@Trample,0,0,31,0,3,@Desciple,0,0,0,'', 'Trample effect 1 can hit only hit Desciple of Mam''toth'),
(13,2,@Trample,0,0,31,0,3,@Desciple,0,0,0,'', 'Trample effect 2 can hit only hit Desciple of Mam''toth');
-- Add conditions for smart_event 0 of Mam'toth desciple
DELETE FROM `conditions` WHERE `SourceEntry`=@Desciple AND `SourceTypeOrReferenceId`=22;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,1,@Desciple,0,0,1,1,@TAura,0,0,0,0,'', 'Mam''toth desciple 1st event is valid only, if has Tampered aura credit');
-- Add conditions for spell Trample Aura
DELETE FROM `conditions` WHERE `SourceEntry`=@TAura AND `SourceTypeOrReferenceId`=13;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,@TAura,0,0,31,0,3,@Desciple,0,0,0,'', 'TAura effect can hit only Desciple of Mam''toth');
Титла: Re: [Feedback][quest][12707][Wooly Justice]
Публикувано от: admin в Юли 31, 2013, 01:54:12 pm
Ще трябва обаче рестарт според мен. Някои флагове на smart_scripts не ги чете с релоад.
Титла: Re: [Feedback][quest][12707][Wooly Justice]
Публикувано от: untaught в Юли 31, 2013, 02:37:13 pm
Ще трябва обаче рестарт според мен. Някои флагове на smart_scripts не ги чете с релоад.
И аз това съм го забелязал, но когато крашне - тогава. ;)