Zdravím. Mám problém s castením creatur. Udělal jsem si tuhle creaturu :
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`, `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`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES (922000, 0, 0, 0, 0, 0, 26623, 0, 0, 0, 'Karazhan Guard', 'Undead Warrior', '', 0, 82, 82, 0, 103, 103, 0, 1.6, 1.42857, 0.8, 1, 3573, 4531, 0, 2000, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 72, 0, 0, 0, 20, 20, 20, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 0, 3, 120, 10, 2, 0, 0, 0, 0, 0, 0, 0, 150, 1, 523, 133888, 0, '', 12340);
A k ní tenhle EventAI script:
DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=922000);
INSERT INTO `creature_ai_scripts` VALUES
( 932001, 922000, 0, 0, 100, 1, 15000, 15500, 15000, 16000, 11, 67663, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Karazhan Guard (warrior) - Cast Whirl'),
(932000, 922000, 0, 0, 100, 1, 8000, 8800, 8000, 9000, 11, 13737, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Karazhan Guard (warrior) - Cast Mortal Strike');
Když si to NPC hodím mimo instanci tak normálně castí tak jak má. Ale když si ho dám do vnitř Karazhanu tak nezacástí vůbec nic. Stejné to je i s ostatnímy NPC co jsem udělal. Nevíte někdo proč to tak je ? A jak to opravit ??
Předem díky.