Hi everybody,
I’ve a problem with a custom npc trainer of profession. I’ve created a custom npc trainer, but i don’t understand Oo, It’s impossible to learn my profession…
This is my script :
–My custom trainer
DELETE FROM creature_template
WHERE (entry = 200025);
INSERT 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
, npcflag
, speed_walk
, speed_run
, scale
, rank
, dmgschool
, BaseAttackTime
, RangeAttackTime
, BaseVariance
, RangeVariance
, unit_class
, unit_flags
, unit_flags2
, dynamicflags
, family
, trainer_type
, trainer_spell
, trainer_class
, trainer_race
, 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
, HealthModifier
, ManaModifier
, ArmorModifier
, DamageModifier
, ExperienceModifier
, RacialLeader
, movementId
, RegenHealth
, mechanic_immune_mask
, flags_extra
, ScriptName
, VerifiedBuild
) VALUES
(200025, 0, 0, 0, 0, 0, 3449, 0, 0, 0, ‘Tanneur’, ‘Travailleur Cuir’, NULL, 0, 80, 80, 0, 35, 81, 1, 1.14286, 0.8, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘’, 0, 3, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, ‘’, 0);
DELETE FROM npc_trainer
WHERE (ID = 200025);
INSERT INTO npc_trainer
(ID
, SpellID
, MoneyCost
, ReqSkillLine
, ReqSkillRank
, ReqLevel
) VALUES
(200025, -201029, 0, 0, 0, 0);
Have you any idea ?
Thank’s for replies
See yah’