mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-05 18:20:24 -08:00
Compare commits
11 commits
a106449fe0
...
55989205e7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55989205e7 | ||
|
|
e93bb0d610 | ||
|
|
abfc645adf | ||
|
|
e6f68c34d4 | ||
|
|
9ac7966bae | ||
|
|
7b6088f114 | ||
|
|
12107cd0c2 | ||
|
|
eee2900082 | ||
|
|
afbf47c761 | ||
|
|
a8b50ec9bf | ||
|
|
ab23583e88 |
6 changed files with 46 additions and 2 deletions
3
data/sql/updates/db_world/2025_11_28_00.sql
Normal file
3
data/sql/updates/db_world/2025_11_28_00.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- DB update 2025_11_27_10 -> 2025_11_28_00
|
||||
--
|
||||
UPDATE `creature_template_addon` SET `bytes2` = 3, `auras` = '49132 55795 61204' WHERE `entry` = 27530;
|
||||
7
data/sql/updates/db_world/2025_11_28_01.sql
Normal file
7
data/sql/updates/db_world/2025_11_28_01.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- DB update 2025_11_28_00 -> 2025_11_28_01
|
||||
--
|
||||
-- Modify Target 9 - CREATURE_RANGE (can have multiple targets) to Target 19 - CLOSEST_CREATURE
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 18649100) AND (`source_type` = 9) AND (`id` IN (0, 2));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(18649100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 24035, 10, 0, 0, 0, 0, 0, 0, 'Gjalerbron Cage - Script - Set Data'),
|
||||
(18649100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 24035, 10, 0, 0, 0, 0, 0, 0, 'Gjalerbron Cage - Script - Send Targetlist');
|
||||
9
data/sql/updates/db_world/2025_11_28_02.sql
Normal file
9
data/sql/updates/db_world/2025_11_28_02.sql
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- DB update 2025_11_28_01 -> 2025_11_28_02
|
||||
-- update loot of Deep Sea Monsterbelly School (192053)
|
||||
-- Crystallized Water, Deep Sea Monsterbelly, Reinforced Crate
|
||||
UPDATE `gameobject_loot_template` SET `GroupId` = 1 WHERE (`Entry` = 25671) AND (`Item` IN (37705, 41800, 44475));
|
||||
-- Crystallized Water, Reinforced Crate
|
||||
UPDATE `gameobject_loot_template` SET `Chance` = 0 WHERE (`Entry` = 25671) AND (`Item` IN (37705, 44475));
|
||||
|
||||
-- Pygmy Suckerfish, Sea Turtle, Blacktip Shark
|
||||
UPDATE `gameobject_loot_template` SET `GroupId` = 2 WHERE (`Entry` = 25671) AND (`Item` IN (40199, 46109, 50289));
|
||||
8
data/sql/updates/db_world/2025_11_28_03.sql
Normal file
8
data/sql/updates/db_world/2025_11_28_03.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- DB update 2025_11_28_02 -> 2025_11_28_03
|
||||
--
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 18636) AND (`source_type` = 0) AND (`id` IN (1, 2, 3, 4));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(18636, 0, 1, 0, 10, 0, 100, 1, 0, 8, 4000, 8000, 0, 0, 11, 30986, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Assassin - Out of Combat LoS - Cast \'Cheap Shot\''),
|
||||
(18636, 0, 2, 0, 67, 0, 100, 0, 5000, 7000, 4500, 6500, 0, 5, 11, 30992, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Assassin - On Behind Target - Cast \'Backstab\''),
|
||||
(18636, 0, 3, 0, 0, 0, 100, 0, 2000, 4500, 12000, 20000, 0, 0, 11, 30981, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Assassin - In Combat - Cast \'Crippling Poison\''),
|
||||
(18636, 0, 4, 0, 0, 0, 100, 0, 8000, 11000, 22000, 25000, 0, 0, 11, 36974, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Assassin - In Combat - Cast \'Wound Poison\'');
|
||||
15
data/sql/updates/db_world/2025_11_28_04.sql
Normal file
15
data/sql/updates/db_world/2025_11_28_04.sql
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
-- DB update 2025_11_28_03 -> 2025_11_28_04
|
||||
|
||||
-- Morbidus send a set data to Dhakar on death.
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 30698;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 30698) AND (`source_type` = 0) AND (`id` IN (2));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(30698, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 10, 74974, 31306, 0, 0, 0, 0, 0, 0, 'Morbidus - On Just Died - Set Data 1 2');
|
||||
|
||||
-- Margrave Dhakar gives credit to stored target on data set.
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 31306;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 31306) AND (`source_type` = 0) AND (`id` IN (11));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(31306, 0, 11, 0, 38, 0, 100, 0, 1, 2, 0, 0, 0, 0, 33, 30698, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Margrave Dhakar - On Data Set 1 2 - Quest Credit \'Morbidus\'');
|
||||
|
|
@ -428,7 +428,7 @@ public:
|
|||
|
||||
struct npc_mageguard_dalaranAI : public ScriptedAI
|
||||
{
|
||||
npc_mageguard_dalaranAI(Creature* creature) : ScriptedAI(creature)
|
||||
explicit npc_mageguard_dalaranAI(Creature* creature) : ScriptedAI(creature)
|
||||
{
|
||||
creature->SetUnitFlag(UNIT_FLAG_NON_ATTACKABLE);
|
||||
creature->ApplySpellImmune(0, IMMUNITY_DAMAGE, SPELL_SCHOOL_NORMAL, true);
|
||||
|
|
@ -449,6 +449,9 @@ public:
|
|||
if (!me->IsWithinDist(who, 5.0f, false))
|
||||
return;
|
||||
|
||||
if (who->IsCreature() && who->GetCreatureType() == CREATURE_TYPE_NON_COMBAT_PET)
|
||||
return;
|
||||
|
||||
Player* player = who->GetCharmerOrOwnerPlayerOrPlayerItself();
|
||||
|
||||
if (!player || player->IsGameMaster() || player->IsBeingTeleported() || (player->GetPositionZ() > 670 && player->GetVehicle()) ||
|
||||
|
|
@ -484,7 +487,6 @@ public:
|
|||
break;
|
||||
}
|
||||
me->SetOrientation(me->GetHomePosition().GetOrientation());
|
||||
return;
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 /*diff*/) override {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue