YTDB

YTDB (http://ytdb.ru/index.php)
-   Квесты / Quests (http://ytdb.ru/forumdisplay.php?f=44)
-   -   Возмездие природы (13946) (http://ytdb.ru/showthread.php?t=15637)

Offside 23.01.2016 22:05

Возмездие природы (13946)
 
http://ru.wowhead.com/quest=13946

Квеститем юзается, на моба вешается дебафф, но при убийстве моба условие квеста не выполняется.


P.S. Рядом с пещерой цветок висит в воздухе. Спустил на землю.

Код:

UPDATE `gameobject` SET `position_x` = '9969.45', `position_y` = '1103.76', `position_z` = '1322.54' WHERE `guid` = '14979';

NeatElves 26.01.2016 11:24

Используем dbscripts_on_creature_death
ставим
1 пункт проверка на ауру по кондиции
2 каст кредита
по идее должно работать(пример в базе - не ката, нпц 25793)

Offside 17.02.2016 21:10

Код:

#Condition
INSERT INTO `conditions` (`condition_entry`, `type`, `value1`) VALUES ('4000', '32', '65455');
#Check Aura
INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `data_flags`, `comments`) VALUES ('2002', '1', '34', '4000', '8', 'terminate script target without aura');
INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `data_flags`, `comments`) VALUES ('2003', '1', '34', '4000', '8', 'terminate script target without aura');
INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `data_flags`, `comments`) VALUES ('2004', '1', '34', '4000', '8', 'terminate script target without aura');
INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `data_flags`, `comments`) VALUES ('2005', '1', '34', '4000', '8', 'terminate script target without aura');
#killcredit
INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `comments`) VALUES ('2002', '2', '8', '34440', 'killcredit');
INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `comments`) VALUES ('2003', '2', '8', '34440', 'killcredit');
INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `comments`) VALUES ('2004', '2', '8', '34440', 'killcredit');
INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `comments`) VALUES ('2005', '2', '8', '34440', 'killcredit');

Осталось реализовать: После применения ауры спелла 65455 на НПЦ 2002, 2003, 2004 или 2005 они должны умереть.

NeatElves 17.02.2016 22:58

Возможно этот спелл
http://ru.wowhead.com/spell=65467/


Текущее время: 21:50. Часовой пояс GMT +4.

YTDB - MaNGOS DataBase