Вечер Добрый Всем. Проблема в коде, а точнее в ласт коде "16", когда босса убиваешь он говорит текст и после текста должен сумонуть NPC по координатам, но Npc не после фразы не сумонится, искала целый день где ошибка , но без результатов Надеюсь на вашу помощь! Сам код босса и Npc который сумонится, а после открывает двери(активирует обьект)
DELETE FROM `smart_scripts` WHERE (`entryorguid`=1696 AND `source_type`=0); REPLACE 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 (1696, 0, 1, 0, 4, 0, 100, 3, 0, 0, 0, 0, 11, 674, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Targorr the Dread - On Aggro - Cast \'Dual Wield\' (No Repeat)"), (1696, 0, 2, 0, 0, 0, 100, 2, 3500, 9100, 69100, 85500, 11, 53746, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Wrath Elixir"), (1696, 0, 3, 4, 2, 0, 100, 3, 0, 80, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "say_text1"), (1696, 0, 4, 0, 52, 0, 100, 0, 1, 1696, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Enrage"), (1696, 0, 5, 6, 2, 0, 100, 3, 0, 60, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "say_text1"), (1696, 0, 6, 0, 52, 0, 100, 0, 1, 1696, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Enrage"), (1696, 0, 7, 8, 2, 0, 100, 3, 0, 40, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "say_text1"), (1696, 0, 8, 0, 52, 0, 100, 0, 1, 1696, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Enrage"), (1696, 0, 9, 10, 2, 0, 100, 3, 0, 20, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "say_text1"), (1696, 0, 10, 0, 52, 0, 100, 0, 1, 1696, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Enrage"), (1696, 0, 11, 0, 0, 0, 100, 2, 8000, 10000, 8000, 10000, 11, 72494, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Cleave"), (1696, 0, 12, 0, 0, 0, 100, 2, 28000, 30000, 28000, 30000, 11, 62325, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Ground Tremor"), (1696, 0, 13, 0, 0, 0, 100, 2, 18000, 20000, 18000, 20000, 11, 69933, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Baleful Strike"), (1696, 0, 14, 0, 5, 0, 100, 0, 0, 0, 1, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "kill_player_say_text2"), (1696, 0, 15, 0, 6, 0, 100, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "death_say_text3"); (1696, 0, 16, 0, 52, 0, 100, 0, 3, 1696, 0, 0, 12, 10021, 5, 0, 0, 0, 0, 8, 0, 0, 0, 129.131622, -2.938792, -25.606226, 4.711967, "summ_npc"); DELETE FROM `creature_text` WHERE `entry` IN (1696); REPLACE INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) values ('1696', '0', '0', 'Я величайший с сыновей своего отца, пришел, ваш конец!', '14', '0', '100', '0', '0', '14149', 'agro'), ('1696', '1', '0', 'ГРАААААХ! Узрите же ярость железа и стали!', '14', '0', '100', '0', '0', '14152', 'Cast_buff'), ('1696', '2', '0', 'Освобождаю тебя от проклятья жизни.', '14', '0', '100', '0', '0', '14153', 'Kill_player'), ('1696', '3', '0', 'Это невозможно? Плоть неможет быть... сильнее!', '14', '0', '100', '0', '0', '14156', 'death'); REPLACE INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (10021, 0, 0, 0, 0, 0, 1126, 0, 0, 0, 'Steam Burst', '', '', 0, 1, 1, 2, 0, 1, 1.14286, 0.5, 0, 2, 2, 0, 24, 1, 2000, 0, 1, 33555200, 2048, 8, 0, 0, 0, 0, 0, 1, 1, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'SmartAI', 0, 4, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 128, ''); DELETE FROM `smart_scripts` WHERE (`entryorguid`=10021 AND `source_type`=0); REPLACE 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 (10021, 0, 0, 0, 5, 0, 100, 1, 1000, 1000, 0, 1696, 9, 0, 0, 0, 0, 0, 0, 14, 10016610, 175946, 0, 0, 0, 0, 0, "open_left_door");
Рисовщица, выполняю любые заказы, босы, итемы, квесты, вендоры, кастомные нпс, ворлд ивенты (платно)
Сообщение #
1 отредактировано
Low -
Четверг, 05.06.2014, 20:38