PDA

View Full Version : Updated Professions NPC c++



Wise
31-10-14, 10:30 PM
Hello guys today i've been update the Professions NPC script to newest trinty core. and it works perfect!

Source Code:
[C++] C++ Profession Script created by AddeDev updated by JadaDev - Pastebin.com (http://pastebin.com/SAVvfekH)

Credits:
AddeDev (http://www.ac-web.org/forums/member.php?268752-AddeDev):Fixed scripts errors
Made By??

SQL:

INSERT INTO `creature_template` (`entry`,`difficulty_entry_1`,`difficulty_entry_2` ,`difficulty_entry_3`,`KillCredit1`,`KillCredit2`, `modelid1`,`modelid2`,`modelid3`,`modelid4`,`Profe ssion NPC`,`Server Name Here`,`IconName`,`gossip_menu_id`,`minlevel`,`maxl evel`,`exp`,`faction`,`npcflag`,`speed_walk`,`spee d_run`,`scale`,`rank`,`mindmg`,`maxdmg`,`dmgschool `,`attackpower`,`dmg_multiplier`,`baseattacktime`, `rangeattacktime`,`unit_class`,`unit_flags`,`unit_ flags2`,`dynamicflags`,`family`,`trainer_type`,`tr ainer_spell`,`trainer_class`,`trainer_race`,`minra ngedmg`,`maxrangedmg`,`rangedattackpower`,`type`,` type_flags`,`lootid`,`pickpocketloot`,`skinloot`,` resistance1`,`resistance2`,`resistance3`,`resistan ce4`,`resistance5`,`resistance6`,`spell1`,`spell2` ,`spell3`,`spell4`,`spell5`,`spell6`,`spell7`,`spe ll8`,`PetSpellDataId`,`VehicleId`,`mingold`,`maxgo ld`,`AIName`,`MovementType`,`InhabitType`,`HoverHe ight`,`Health_mod`,`Mana_mod`,`Armor_mod`,`RacialL eader`,`questItem1`,`questItem2`,`questItem3`,`que stItem4`,`questItem5`,`questItem6`,`movementId`,`R egenHealth`,`mechanic_immune_mask`,`flags_extra`,` ScriptName`,`VerifiedBuild`) VALUES (151511, 0, 0, 0, 0, 0, 23445, 0, 0, 0, 'Profession Teacher', '<Made by AddeDev>', '', 0, 80, 80, 0, 35, 1, 1, 1, 0.18, 0, 2, 3, 0, 0, 1, 2000, 2000, 0, 0, 0, 8, 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, 0, 0, 0, 0, '', 1, 1, 1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'Professions_NPC', 1);

Screenshot:
http://i61.tinypic.com/2z4bw3p.jpg