Ru-MaNGOS

Вернуться   Ru-MaNGOS > Ядро > Патчи > Принятые патчи

Важная информация

Принятые патчи Иногда выкладывают патчи, которые потом в итоге все-таки принимают в ядро.

Повод для гордости.

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 07.04.2013, 11:49   #1
NeatElves
YTDB Dev
 
Аватар для NeatElves
 
Регистрация: 06.03.2010
Сообщений: 259
Сказал(а) спасибо: 28
Поблагодарили 280 раз(а) в 136 сообщениях
NeatElves Как самоцвет среди гранитаNeatElves Как самоцвет среди гранитаNeatElves Как самоцвет среди гранита
По умолчанию [patch] Spell 50574

Его нет в дбц, но он аналог следующих:
http://www.wowhead.com/spell=50634
http://www.wowhead.com/spell=51233
http://www.wowhead.com/spell=51232
вот как вариант:
Код:
DELETE FROM spell_template WHERE id = 50574;
INSERT INTO `spell_template` (`id`, `attr`, `attr_ex`, `attr_ex2`, `proc_flags`, `proc_chance`, `duration_index`, `effect0`, `effect0_implicit_target_a`, `effect0_implicit_target_b`, `effect0_radius_idx`, `effect0_apply_aura_name`, `effect0_misc_value`, `effect0_misc_value_b`, `effect0_trigger_spell`, `comments`) VALUES
(50574, 0x00000100, 0x00000000, 0x00000000, 0x00000000, 101, 0, 90, 25, 0, 11, 0, 28042, 0, 0, 'Captain Brandon Kill Credit');

Последний раз редактировалось NeatElves; 07.04.2013 в 20:06.
NeatElves вне форума  
Старый 07.04.2013, 17:25   #2
schmoozerd
MaNGOS Dev
 
Регистрация: 17.11.2011
Сообщений: 99
Сказал(а) спасибо: 35
Поблагодарили 80 раз(а) в 26 сообщениях
schmoozerd Скоро придёт к известности
По умолчанию

Hmm, do you have any source that a spell 50574 is used for the quest-credit?
Afaik the both related quests (12596, 12587) have simple quest-credit requirements.

We can give these directly via gosisp, quest_accept, quest_complete or whatever we require.
schmoozerd вне форума  
Старый 07.04.2013, 19:51   #3
NeatElves
YTDB Dev
 
Аватар для NeatElves
 
Регистрация: 06.03.2010
Сообщений: 259
Сказал(а) спасибо: 28
Поблагодарили 280 раз(а) в 136 сообщениях
NeatElves Как самоцвет среди гранитаNeatElves Как самоцвет среди гранитаNeatElves Как самоцвет среди гранита
По умолчанию

Spell completing another quest, WDB:
Цитата:
('enGB', 12564, 1057, 12564, 2, 76, 74, 66, 0, 0, 0, 0, 0, 0, 0, 2, 15800, 31800, 0, 50574, 0, 0, 0, 4232, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Troll Patrol: Something for the Pain', 'Captain Brandon at Drak\'Sotra wants you to collect 5 Mature Water-Poppies from Drak\'Sotra Fields.', 'Gritty as my men are, they\'re still mortal.$b$bWounds and pain diminish their ability to perform their missions. No amount of training changes that simple fact of life.$b$bThankfully, one of our alchemists has developed a recipe for a salve that binds to our bandages and greatly reduces the pain our soldiers experience.$b$bThe salve requires a special poppy these trolls cultivate just west of here. Go to Drak\'Sotra Fields and harvest some of them to keep our stockpiles from running out.', '', 'Return to Captain Brandon at Drak\'Sotra in Zul\'Drak.', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38552, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', '')
Analog:
Цитата:
('enGB', 12568, 889, 12568, 2, 76, 74, 66, 0, 0, 0, 0, 0, 0, 0, 2, 15800, 31800, 0, 50634, 0, 0, 38556, 4224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Troll Patrol: Done to Death', 'Captain Rupert wants you to use the Incinerating Oil on 5 Defeated Argent Footmen in Drak\'Sotra.', 'Trust me, $r. I know....$b$bThe smell of burnt flesh has become sickening to even me, a Forsaken. Nevertheless, it is our solemn duty to ensure that our brethren never walk with the Scourge.$b$bPour this oil on the corpses of our fallen to ensure that we never face them on the battlefield as enemies.', '', 'Return to Captain Rupert at Drak\'Sotra in Zul\'Drak.', 28316, 5, 38556, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Argent Footman Corpse Incinerated', '', '', '')
('enGB', 12585, 979, 12585, 2, 76, 74, 66, 0, 0, 0, 0, 0, 0, 0, 2, 15800, 31800, 0, 51233, 0, 0, 0, 4224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Troll Patrol: Creature Comforts', 'Captain Grondel at Drak\'Agal wants you to bring him 20 pieces of Dead Thornwood.', 'Well, it ain\'t glamorous, but it needs doin\'.$b$bMy troops have been fightin\' their hearts out while knee-deep in stagnant water for days on end. That just can\'t be good fer ya.$b$bWhat they need is a nice fire to dry \'em out and lighten their spirits.$b$bThis part of the city\'s soaked, but the dead roots of these thornwood trees have a way of resistin\' the moisture.$b$bRound us up some fuel for burnin\' and we\'ll be mighty grateful.', '', 'Return to Captain Grondel at Drak\'Agal in Zul\'Drak.', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38563, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', '')
('enGB', 12601, 1142, 12601, 2, 76, 74, 66, 0, 0, 0, 0, 0, 0, 0, 2, 15800, 31800, 0, 51232, 0, 0, 0, 4232, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1106, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Alchemist\'s Apprentice', 'Alchemist Finklestein at Heb\'valok wants you to assist him in the creation of a truth serum.$b$bWhen you are ready to begin, you are to speak to him and follow his instructions.', 'Ahh, you must be the promised patrol. Your timing couldn\'t be better. I have urgent need of an extra pair of hands.$b$bWe have a Drakkari prisoner who\'s been sent here to undergo questioning. Before the interrogation begins, I require assistance in the creation of a truth serum.$b$bCreating a truth serum is tricky business, demanding keen instincts, perfect timing, and improvisation at every step.$b$bLet me know when you\'re ready, $r. And remember, timing is everything!', '', 'Return to Alchemist Finklestein at Reliquary of Pain in Zul\'Drak.', 28248, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Truth Serum Created', '', '', '')
example
The player takes http://www.wowhead.com/quest=12587, goes to the NPC http://www.wowhead.com/npc=28044, it performs a random assignment(http://www.wowhead.com/quest=12568, http://www.wowhead.com/quest=12509, http://www.wowhead.com/quest=12591) and the player cast killkredit http://www.wowhead.com/spell=50634.))

And we need the following
The player takes http://www.wowhead.com/quest=12587, goes to the NPC http://www.wowhead.com/npc=28042, it performs a random assignment(http://www.wowhead.com/quest=12588, http://www.wowhead.com/quest=12502, http://www.wowhead.com/quest=12564) and the player cast killkredit http://www.wowhead.com/spell=50574(not in DBC).))

Последний раз редактировалось NeatElves; 07.04.2013 в 20:11.
NeatElves вне форума  
Старый 21.04.2013, 00:53   #4
schmoozerd
MaNGOS Dev
 
Регистрация: 17.11.2011
Сообщений: 99
Сказал(а) спасибо: 35
Поблагодарили 80 раз(а) в 26 сообщениях
schmoozerd Скоро придёт к известности
По умолчанию

In [12465]. Thank you
schmoozerd вне форума  
 

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.


Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
[patch][spell=50918,50894] virusav Принятые патчи 1 17.02.2011 14:14
[patch][spell=52090]Нож Ауне virusav Отвергнутые патчи 1 16.02.2011 18:39
[10570] Store spell entry of triggering spell on triggered, original patch provided by insider42 newsbot CMaNGOS Commits 0 01.10.2010 14:20
[patch] PvP Trinket (boss spell) Insider42 Принятые патчи 1 03.07.2010 12:18
[patch] fix spell 38736 KiriX Принятые патчи 1 03.05.2010 00:20


Текущее время: 18:08. Часовой пояс GMT +3.


ru-mangos.ru - Русское сообщество MaNGOS
Главная цель проекта MaNGOS - обучающая, поэтому разрешается использовать исходный код и собранную программу только для образовательных целей.
Вы не можете использовать MaNGOS в коммерческих целях, а также не разрешается устанавливать публичные серверы на базе MaNGOS.
Любое копирование материалов, информации в любом виде без указания источника - форума Ru-MaNGOS будет считаться нарушением авторских прав и нарушением Уголовного Кодекса РФ, ст. 146 ст. 147.
Перевод vBulletin: zCarot