Skip to content

Commit

Permalink
Merge pull request #32 from Nelnamara/master
Browse files Browse the repository at this point in the history
Fix SQL For creature_template and cleanup
  • Loading branch information
Nyeriah authored Jul 23, 2024
2 parents 952533a + 4619906 commit 63bf540
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 41 deletions.
25 changes: 25 additions & 0 deletions data/sql/db-world/npc_buffer.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
-- --------------------------------------------------------------------------------------
-- BUFFER - 601016
-- --------------------------------------------------------------------------------------
-- Information
-- Creature ID: 601016,
-- Creature Model: 14612 -- Tauren Warmaster
-- Name: Buffmaster Hasselhoof

DELETE FROM `creature_template` WHERE (`entry` = 601016);
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
(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);

DELETE FROM `creature_template_model` WHERE (`CreatureID` = 601016);
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(601016, 1, 14612, 1, 1, 12340);

DELETE FROM `creature_equip_template` WHERE (`CreatureID` = 601016);
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES
(601016, 1, 1906, 0, 0, 18019);


DELETE FROM `creature_template_movement` WHERE (`CreatureId` = 601016);
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(601016, 1, 1, 0, 0, 0, 0, NULL);

40 changes: 0 additions & 40 deletions data/sql/db-world/npc_buffer_00.sql

This file was deleted.

1 change: 0 additions & 1 deletion data/sql/db-world/npc_buffer_01.sql

This file was deleted.

0 comments on commit 63bf540

Please sign in to comment.