Files
AzerothCore-Converted-Modul…/SQL/TrinityCoreNPCCritterTemplate.sql
Maximilian Unsinn 407ccf7fef Initial Release
2021-04-11 13:38:56 +02:00

54 lines
2.5 KiB
SQL

/*
-- ############################################################################################################# --
--
-- ____ __ ______ __ ____ __
-- /\ _`\ /\ \__ __ /\__ _\/\ \ /\ _`\ /\ \__
-- \ \,\L\_\ \ ,_\ __ __ __ /\_\ __ ___\/_/\ \/\ \ \___ __\ \ \L\ \ __ ____\ \ ,_\
-- \/_\__ \\ \ \/ /\ \/\ \ /'_ `\/\ \ /'__`\ /' _ `\ \ \ \ \ \ _ `\ /'__`\ \ _ <' /'__`\ /',__\\ \ \/
-- /\ \L\ \ \ \_\ \ \_\ \/\ \L\ \ \ \/\ \L\.\_/\ \/\ \ \ \ \ \ \ \ \ \/\ __/\ \ \L\ \/\ __//\__, `\\ \ \_
-- \ `\____\ \__\\/`____ \ \____ \ \_\ \__/.\_\ \_\ \_\ \ \_\ \ \_\ \_\ \____\\ \____/\ \____\/\____/ \ \__\
-- \/_____/\/__/ `/___/> \/___L\ \/_/\/__/\/_/\/_/\/_/ \/_/ \/_/\/_/\/____/ \/___/ \/____/\/___/ \/__/
-- /\___/ /\____/
-- \/__/ \_/__/ http://stygianthebest.github.io
--
-- ############################################################################################################# --
--
-- NPC Critter Template
-- By StygianTheBest
--
-- This is a template I use for creating Critter NPCs.
--
-- ############################################################################################################# --
*/
USE world;
-- ######################################################--
-- NPC CRITTER TEMPLATE - 604000
-- ######################################################--
SET
@Entry := 604000,
@Model := 1060, -- Cow
@Name := "Cowlie",
@Title := "The Milker",
@Icon := NULL,
@GossipMenu := 0,
@MinLevel := 1,
@MaxLevel := 1,
@Faction := 190,
@NPCFlag := 0,
@Scale := 1.0,
@Rank := 0,
@Type := 8, -- Critter
@TypeFlags := 0,
@FlagsExtra := 0,
@AIName := "SmartAI",
@Script := "";
-- NPC
DELETE FROM creature_template WHERE entry = @Entry;
INSERT INTO creature_template (entry, modelid1, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, faction, npcflag, speed_walk, speed_run, scale, rank, unit_class, unit_flags, type, type_flags, RegenHealth, flags_extra, AiName, ScriptName) VALUES
(@Entry, @Model, @Name, @Title, @Icon, @GossipMenu, @MinLevel, @MaxLevel, @Faction, @NPCFlag, 1, 1.14286, @Scale, @Rank, 1, 2, @Type, @TypeFlags, 1, @FlagsExtra, @AIName, @Script);
-- END OF LINE