Автор Тема: [FIXED][quest][12707][Wooly Justice]  (Прочетена 3231 пъти)

0 Потребители и 1 Гост преглежда(т) тази тема.

Неактивен shaem

  • Crusader
  • **
  • Публикации: 52
  • EVO Karma: 0
  • wow user
[FIXED][quest][12707][Wooly Justice]
« -: Януари 30, 2013, 07:50:35 pm »
За куеста е необходимо да се използва куест айтъм върху Enraged Mammoth, след което мамута може да се язди и има спел, с който трябва да се убият 12 Mam'toth Disciple. След използването на куест айтъма не се случва нищо и мамутите не могат да се яздят.
« Последна редакция: Август 09, 2013, 10:20:16 am от untaught »

Неактивен maniak23

  • Knight
  • *
  • Публикации: 41
  • EVO Karma: -5
  • wow user
Re: [quest][12707][Wooly Justice]
« Отговор #1 -: Юли 07, 2013, 12:22:56 pm »
И този още не е оправен

Неактивен admin

  • Owner
  • Challenger
  • *****
  • Публикации: 11572
  • EVO Karma: 316
  • Think of will!
    • Peycho's Blog - Think of will!
  • ISP: AWS
  • Герой: Alein
Re: [quest][12707][Wooly Justice]
« Отговор #2 -: Юли 15, 2013, 06:36:54 pm »
Това че пишеш по няколко пъти в темата си няма да помогне.
A systems programmer will know what to do when society breaks down, because the systems programmer already lives in a world without laws.

EVOWOW Private Wow Server
WOTLK Database

Неактивен untaught

  • Duelist
  • *****
  • Публикации: 1045
  • EVO Karma: 96
  • wow user
  • ISP: Vivacom
  • Герой: Volodq
Re: [quest][12707][Wooly Justice]
« Отговор #3 -: Юли 15, 2013, 06:39:58 pm »
Т'ва имаше fix някъде от Trista, но после ще го потърся.


Неактивен maniak23

  • Knight
  • *
  • Публикации: 41
  • EVO Karma: -5
  • wow user
Re: [quest][12707][Wooly Justice]
« Отговор #4 -: Юли 22, 2013, 06:29:56 pm »
Работи, много благодарности на Volodq и admina

Неактивен untaught

  • Duelist
  • *****
  • Публикации: 1045
  • EVO Karma: 96
  • wow user
  • ISP: Vivacom
  • Герой: Volodq
Re: [Feedback][quest][12707][Wooly Justice]
« Отговор #5 -: Юли 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');
« Последна редакция: Юли 31, 2013, 12:10:06 pm от untaught »


Неактивен admin

  • Owner
  • Challenger
  • *****
  • Публикации: 11572
  • EVO Karma: 316
  • Think of will!
    • Peycho's Blog - Think of will!
  • ISP: AWS
  • Герой: Alein
Re: [Feedback][quest][12707][Wooly Justice]
« Отговор #6 -: Юли 31, 2013, 01:54:12 pm »
Ще трябва обаче рестарт според мен. Някои флагове на smart_scripts не ги чете с релоад.
A systems programmer will know what to do when society breaks down, because the systems programmer already lives in a world without laws.

EVOWOW Private Wow Server
WOTLK Database

Неактивен untaught

  • Duelist
  • *****
  • Публикации: 1045
  • EVO Karma: 96
  • wow user
  • ISP: Vivacom
  • Герой: Volodq
Re: [Feedback][quest][12707][Wooly Justice]
« Отговор #7 -: Юли 31, 2013, 02:37:13 pm »
Ще трябва обаче рестарт според мен. Някои флагове на smart_scripts не ги чете с релоад.
И аз това съм го забелязал, но когато крашне - тогава. ;)