Advertisement
Rochet2

Valkov - Result

Aug 6th, 2012
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.51 KB | None | 0 0
  1. local check = WorldDBQuery('SELECT entry FROM creature_names WHERE name = "war1" LIMIT 1;')
  2. if(not check) then
  3. WorldDBQuery('INSERT INTO `creature_names` (`entry`,`name`,`subname`,`info_str`,`flags1`,`type`,`family`,`rank`,`killcredit1`,`killcredit2`,`male_displayid`,`female_displayid`,`male_displayid2`,`female_displayid2`,`unknown_float1`,`unknown_float2`,`leader`,`questitem1`,`questitem2`,`questitem3`,`questitem4`,`questitem5`,`questitem6`,`waypointid`) VALUES ("war2", "war1", "Dark-Apotheracy Warriors", "", "14", "10", "0", "3", "0", "0", "war3", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0")')
  4.  
  5. WorldDBQuery('INSERT INTO `creature_proto` (`entry`,`minlevel`,`maxlevel`,`faction`,`minhealth`,`maxhealth`,`mana`,`scale`,`npcflags`,`attacktime`,`attacktype`,`mindamage`,`maxdamage`,`can_ranged`,`rangedattacktime`,`rangedmindamage`,`rangedmaxdamage`,`respawntime`,`armor`,`resistance1`,`resistance2`,`resistance3`,`resistance4`,`resistance5`,`resistance6`,`combat_reach`,`bounding_radius`,`auras`,`boss`,`money`,`invisibility_type`,`death_state`,`walk_speed`,`run_speed`,`fly_speed`,`extra_a9_flags`,`spell1`,`spell2`,`spell3`,`spell4`,`spell_flags`,`modImmunities`,`isTrainingDummy`,`guardtype`,`summonguard`) VALUES ("war4", "war5", war6", "14", "war7", "war8", "100000", "1", "1", "2100", "0", "war9", "war10", "0", "0", "0", "0", "300000", "100000", "5000", "5000", "5000", "5000", "5000", "5000", "0", "0", "0", "1", "0", "0", "0", "2.5", "8", "14", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0")')
  6.  
  7. else
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement