Основная тема: Ссылка Недавно разрабатывал фан сервер и переписал охрану под тринити Протестировал, робит нормально, кастует бьет...
Охрана Альянса UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '180000'; DELETE FROM `creature_ai_scripts` WHERE (`id`='90000'); INSERT INTO `creature_ai_scripts` VALUES ('90000', '180000', '4', '0', '100', '1', '0', '0', '0', '0', '11', '38603', '1', '2', '11', '27415', '0', '2', '11', '20217', '0', '2', 'ytdb'); UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '180000'; DELETE FROM `creature_ai_scripts` WHERE (`id`='91000'); INSERT INTO `creature_ai_scripts` VALUES ('91000', '180000', '2', '0', '40', '1', '25', '5', '10000', '35000', '11', '642', '0', '2', '11', '25292', '0', '2', '11', '33076', '0', '2', 'ytdb'); UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '180000'; DELETE FROM `creature_ai_scripts` WHERE (`id`='92000'); INSERT INTO `creature_ai_scripts` VALUES ('92000', '180000', '2', '0', '100', '1', '25', '5', '10000', '35000', '11', '13005', '1', '2', '11', '20271', '1', '2', '11', '35395', '1', '2', 'ytdb'); UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '180000'; DELETE FROM `creature_ai_scripts` WHERE (`id`='93000'); INSERT INTO `creature_ai_scripts` VALUES ('93000', '180000', '0', '0', '100', '1', '10000', '60000', '7000', '15000', '11', '676', '1', '2', '11', '45524', '1', '2', '11', '51723', '1', '2', 'ytdb'); UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '180000'; DELETE FROM `creature_ai_scripts` WHERE (`id`='94000'); INSERT INTO `creature_ai_scripts` VALUES ('94000', '180000', '12', '0', '100', '1', '60', '10', '15000', '30000', '11', '31884', '0', '2', '11', '31801', '0', '2', '11', '24275', '1', '2', 'ytdb'); UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '180000'; DELETE FROM `creature_ai_scripts` WHERE (`id`='95000'); INSERT INTO `creature_ai_scripts` VALUES ('95000', '180000', '2', '0', '100', '1', '80', '50', '10000', '15000', '11', '20697', '0', '2', '11', '53385', '1', '2', '11', '53595', '1', '2', 'ytdb'); REPLACE INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `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`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (180000, 0, 0, 0, 0, 0, 22852, 0, 22852, 0, 'Защитник Альянса', '', '', 0, 83, 85, 534000, 534000, 0, 0, 2, 11, 11, 33554432, 2, 2, 1.2, 1, 4000, 12000, 0, 2000, 2.5, 2000, 1500, 1, 8, 0, 0, 0, 0, 0, 0, 150, 250, 1000, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 10000, 'EventAI', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 200501, 0, 1, '');
Охрана Орды: DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=130000); INSERT INTO `creature_ai_scripts` VALUES ( 81000, 130000, 2, 0, 100, 1, 95, 55, 10000, 40000, 11, 25264, 1, 2, 13, 5, 1, 0, 0, 0, 0, 0, 'ytdb'), ( 82000, 130000, 12, 0, 100, 1, 20, 5, 5000, 15000, 11, 20660, 2, 2, 13, 90, 1, 0, 0, 0, 0, 0, 'ytdb'), ( 83000, 130000, 0, 0, 100, 0, 10000, 30000, 10000, 20000, 11, 46924, 1, 2, 11, 26662, 0, 2, 0, 0, 0, 0, 'ytdb'), ( 84000, 130000, 0, 0, 100, 1, 5000, 10000, 5000, 10000, 11, 45902, 1, 2, 11, 47476, 5, 2, 0, 0, 0, 0, 'ytdb'), ( 85000, 130000, 10, 0, 100, 0, 0, 30, 0, 0, 11, 19834, 0, 2, 11, 469, 0, 2, 0, 0, 0, 0, 'ytdb'), ( 86000, 130000, 2, 0, 100, 1, 30, 10, 10000, 30000, 11, 55694, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'ytdb'), (87000, 130000, 2, 0, 100, 1, 50, 20, 15000, 20000, 11, 31970, 1, 2, 13, 5, 1, 0, 0, 0, 0, 0, 'ytdb'); INSERT INTO `creature_ai_scripts` VALUES ('87001', '130000', '2', '0', '100', '1', '50', '20', '15000', '20000', '11', '12730', '1', '2', '13', '5', '1', '0', '0', '0', '0', '0', 'ytdb'); REPLACE INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `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`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (130000, 0, 0, 0, 0, 0, 30475, 0, 30475, 0, 'Берсерк Орды', '', '', 0, 83, 85, 534000, 534000, 0, 0, 2, 11, 11, 33554432, 2, 2, 1.2, 1, 4000, 12000, 0, 2000, 2.5, 2000, 1500, 1, 8, 0, 0, 0, 0, 0, 0, 150, 250, 1000, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 1000, 'EventAI', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 200501, 0, 1, '');
[blizz] Внимание заливать в кодировке 1251 (ANSI-Cyrilic) [/blizz]
От + не откажусь
Сообщение # 1 написано 30.09.2011 в 11:11
|