Vyskusal som ale nechc to niekto skontroluje ci to je spravne som si neni isty.
NPC:
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `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`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (999965, 0, 0, 0, 0, 0, 'NPC name', 'Trainer', '', 0, 40, 40, 1638, 1638, 48, 1.125, 1.14286, 1, 0, 0, 0, 0, 0, 1, 2000, 0, 1, 0, 8, 0, 0, 0, 1, 0, 0, 0, 14, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, '');
UCENIE:
DELETE FROM `npc_trainer` WHERE (`entry`=999965);
INSERT INTO `npc_trainer` (entry, spell, spellcost, reqskill, reqskillvalue, reqlevel) VALUES
(999965, 12678, 0, 0, 0, 0),
(999965, 1066, 0, 0, 0, 0),
(999965, 5487, 0, 0, 0, 0),
(999965, 768, 0, 0, 0, 0),
(999965, 9634, 0, 0, 0, 0),
(999965, 33943, 0, 0, 0, 0),
(999965, 783, 0, 0, 0, 0),
(999965, 33891, 0, 0, 0, 0);