-- v2 prototype only, see PLAN.md "v2: vehicle-based full transform" -- a clone of the real Ruby
-- Drake (27756) into this module's reserved creature range, to test whether cloning works and
-- whether the display model can be freely swapped independent of the source creature. Given the
-- Enslaved Proto-Drake's display (24874, ModelId 2650 -- a genuinely different mesh, the
-- skeletal/armored Storm Peaks proto-drake style) instead of the Ruby Drake's own (25854,
-- ModelId 2858). First attempt used the Wyrmrest Skytalon's display (25835) -- looked like no
-- change in-game because Skytalon turned out to share the exact same ModelId 2858 as every
-- Wyrmrest-family drake (Ruby/Emerald/Amber too), just a different texture variant, not a
-- different mesh -- confirmed by parsing CreatureDisplayInfo.dbc directly. Throwaway test content
-- -- expect this to be reworked once the real v2 design (art, name, flight color) is settled.
DELETE FROM `creature_template` WHERE `entry` = 901001;
INSERT INTO `creature_template`
    (`entry`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`,
     `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `rank`,
     `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`,
     `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `type`, `type_flags`,
     `VehicleId`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`,
     `ExperienceModifier`, `movementId`, `RegenHealth`)
VALUES
    (901001, 'Dragon Legacy Test Clone', '', 'vehichleCursor', 0, 80, 80, 2, 35,
     0, 1.2, 1, 1, 1, 20, 0,
     0, 1, 2000, 2000, 1, 1,
     1, 0, 2048, 8, 0, 2, 72,
     70, 0, 1, 5.95238, 1, 1,
     1, 113, 0);

DELETE FROM `creature_template_model` WHERE `CreatureID` = 901001;
INSERT INTO `creature_template_model`
    (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`)
VALUES
    (901001, 0, 24874, 1, 1);

DELETE FROM `creature_template_spell` WHERE `CreatureID` = 901001;
INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`) VALUES
    (901001, 0, 50232),
    (901001, 1, 50240);

DELETE FROM `creature_template_addon` WHERE `entry` = 901001;
INSERT INTO `creature_template_addon`
    (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`)
VALUES
    (901001, 0, 0, 50331648, 1, 0, 0, '50248 59553');
