Skip to content

Commit 63bf540

Browse files
authored
Merge pull request #32 from Nelnamara/master
Fix SQL For creature_template and cleanup
2 parents 952533a + 4619906 commit 63bf540

File tree

3 files changed

+25
-41
lines changed

3 files changed

+25
-41
lines changed

data/sql/db-world/npc_buffer.sql

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
-- --------------------------------------------------------------------------------------
2+
-- BUFFER - 601016
3+
-- --------------------------------------------------------------------------------------
4+
-- Information
5+
-- Creature ID: 601016,
6+
-- Creature Model: 14612 -- Tauren Warmaster
7+
-- Name: Buffmaster Hasselhoof
8+
9+
DELETE FROM `creature_template` WHERE (`entry` = 601016);
10+
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `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`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
11+
(601016, 0, 0, 0, 0, 0, 'Buffmaster Hasselhoof', '', 'Speak', 0, 80, 80, 0, 35, 1, 1, 1.14286, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'SmartAI', 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 2, 'buff_npc', 0);
12+
13+
DELETE FROM `creature_template_model` WHERE (`CreatureID` = 601016);
14+
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
15+
(601016, 1, 14612, 1, 1, 12340);
16+
17+
DELETE FROM `creature_equip_template` WHERE (`CreatureID` = 601016);
18+
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES
19+
(601016, 1, 1906, 0, 0, 18019);
20+
21+
22+
DELETE FROM `creature_template_movement` WHERE (`CreatureId` = 601016);
23+
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
24+
(601016, 1, 1, 0, 0, 0, 0, NULL);
25+

data/sql/db-world/npc_buffer_00.sql

Lines changed: 0 additions & 40 deletions
This file was deleted.

data/sql/db-world/npc_buffer_01.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)