Skip to content

Commit

Permalink
next part of quest fix in zone_the_scarlet_enclave
Browse files Browse the repository at this point in the history
  • Loading branch information
gpn39f committed Aug 21, 2015
1 parent 423b560 commit bdfa45e
Show file tree
Hide file tree
Showing 8 changed files with 660 additions and 403 deletions.
8 changes: 8 additions & 0 deletions sql/updates/world/2015_08_14_00_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@


update creature_template set InhabitType=4 where entry in (52025, 25161);
delete from smart_scripts where entryorguid in (4845, 5225, 5243, 5253, 5261, 5263, 14445, 44311, 46068, 46424, 46656);

delete from creature_equip_template where entry=1191;


46 changes: 46 additions & 0 deletions sql/updates/world/2015_08_14_01_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

UPDATE quest_template SET RequiredNpcOrGoCount1=5, RequiredSourceItemId1=39253, RequiredSourceItemId4=0, RequiredSourceItemCount1=1, RequiredSourceItemCount4=0 WHERE Id=12698;

update creature_template set AIName="", ScriptName="npc_gothik_the_harvester_28658" where entry=28658;

DELETE FROM spell_bonus_data WHERE entry=85692;
INSERT INTO `spell_bonus_data` VALUES (85692, 1.36, 0, 0, 0, 'Warlock - Doomguard Doom Bolt');

update creature_addon set emote=0, auras=52147 where guid in (237731, 237732, 237733, 237734, 237735, 237740, 237741, 237742, 237743, 237744);
update creature_addon set auras=52147 where guid in (237745, 237746, 237747, 237748, 237749, 237750, 237751, 237752);

UPDATE locales_quest SET EndText_loc3="", QuestGiverTextWindow_loc3="Naja.. nicht alle sehen gleich aus, aber es ist die gleiche Uniform! Tötet sie alle!", QuestGiverTargetName_loc3="Scharlachroter Flottenverteidiger" WHERE Id=12701;

update creature_template set AIName="", ScriptName="npc_scarlet_ghoul_28845" where entry=28845;
update creature_template set AIName="", ScriptName="npc_scarlet_miner_cart_28817" where entry=28817;
update creature_template set AIName="", ScriptName="npc_scarlet_miner_28841" where entry=28841;

update creature_text set BroadcastTextID=29048 where entry=28907 and groupid=0 and id=0;
update creature_text set BroadcastTextID=29049 where entry=28907 and groupid=1 and id=0;
update creature_text set BroadcastTextID=29051 where entry=28907 and groupid=3 and id=0;
update creature_text set BroadcastTextID=29052 where entry=28907 and groupid=4 and id=0;
update creature_text set BroadcastTextID=29058 where entry=28907 and groupid=8 and id=0;
update creature_text set BroadcastTextID=29059 where entry=28907 and groupid=9 and id=0;
update creature_text set BroadcastTextID=29056 where entry=28907 and groupid=10 and id=0;
update creature_text set BroadcastTextID=29061 where entry=28907 and groupid=12 and id=0;
update creature_text set BroadcastTextID=29057 where entry=28907 and groupid=13 and id=0;
update creature_text set BroadcastTextID=29060 where entry=28907 and groupid=14 and id=0;

update creature_template set faction=16, unit_class=2, Exp=3 where entry in (41948, 51119, 51120, 51121);
update creature_template set Exp=3 where entry in (41576, 49973, 49979, 49985);
update creature_template set Exp=3 where entry in (52409, 53797, 53798, 53799);

UPDATE creature_template SET pickpocketloot=20051 WHERE entry=20051;

update skinning_loot_template set ChanceOrQuestChance=50 where entry=12899 and item=4304;

update creature set position_x=2319.13, position_y=-5736.79, position_z=153.92, orientation=0.669 where guid=238562;
delete from smart_scripts where entryorguid in (28907, 2890700);
update creature_template set AIName="", ScriptName="npc_prince_valanar_28907" where entry=28907;







21 changes: 21 additions & 0 deletions sql/updates/world/2015_08_19_00_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


SET @GUID=237626;
UPDATE creature SET MovementType=2 WHERE guid=@GUID;
INSERT IGNORE INTO creature_addon (guid) values (@GUID);
UPDATE creature_addon SET path_id=@GUID WHERE guid=@GUID;
DELETE FROM waypoint_data WHERE id=@GUID;
INSERT INTO waypoint_data (id, point, position_x, position_y, position_z, orientation, delay, move_flag) values
(@GUID, 0, 2183.191406, -5689.578125, 109.733292, 0.746484, 0, 0),
(@GUID, 1, 2192.921875, -5677.048340, 113.118568, 0.848586, 0, 0),
(@GUID, 2, 2206.051025, -5666.557617, 118.931892, 0.703287, 0, 0),
(@GUID, 3, 2227.589355, -5652.996582, 128.202026, 0.561915, 0, 0),
(@GUID, 4, 2253.625732, -5644.694824, 136.487289, 0.306661, 0, 0),
(@GUID, 5, 2282.129395, -5646.794922, 144.115707, 6.185367, 0, 0),
(@GUID, 6, 2255.646240, -5641.776367, 137.653137, 2.973089, 0, 0),
(@GUID, 7, 2222.079590, -5649.440430, 127.569901, 3.369715, 0, 0),
(@GUID, 8, 2195.364990, -5668.073730, 116.191498, 3.750634, 0, 0),
(@GUID, 9, 2185.313721, -5679.595215, 111.941681, 3.986252, 0, 0),
(@GUID, 10, 2185.674805, -5705.628418, 107.291809, 4.732376, 0, 0);


32 changes: 32 additions & 0 deletions sql/updates/world/2015_08_20_00_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

UPDATE quest_template SET SourceSpellId=52275 WHERE Id=12687;

delete from creature_text where entry=28788;
insert into creature_text values
(28788, 0, 0, "Impressive, death knight. Return to me in the world of the living for your reward.", 12, 0, 100, 0, 0, 0, "",28835);

update creature_template set AIName="", ScriptName="npc_salanar_the_horseman_28653" where entry=28653;
update creature_template set AIName="", ScriptName="npc_salanar_the_horseman_28788" where entry=28788;
update creature_template set AIName="", ScriptName="npc_dark_rider_of_acherus_28768" where entry=28768;

delete from npc_spellclick_spells where npc_entry=28782;
insert into npc_spellclick_spells values
(28782, 52280, 1, 0);

delete from quest_poi where questid=12687 and id=0 and objIndex=-1;

update creature_text set BroadcastTextID=29266 where entry=28406 and groupid=0 and id=7;
update creature_text set BroadcastTextID=29263 where entry=28406 and groupid=0 and id=3;
update creature_text set BroadcastTextID=29267 where entry=28406 and groupid=0 and id=8;

UPDATE locales_quest SET EndText_loc3="", QuestGiverTextWindow_loc3="Scharlachroter Ghul", QuestGiverTargetName_loc3="Scharlachroter Ghul" WHERE Id=12698;

delete from creature where guid=237877;

update creature_text set BroadcastTextID=28899 where entry=28841 and groupid=1 and id=0;

UPDATE locales_quest SET EndText_loc3="", QuestGiverTextWindow_loc3="Bürgermeister Quimby", QuestGiverTargetName_loc3="Bürgermeister Quimby" WHERE Id=12719;
UPDATE quest_template SET RequiredItemId1=39362, RequiredItemId2=0, RequiredItemCount1=1, RequiredItemCount2=0 WHERE Id=12719;



5 changes: 0 additions & 5 deletions src/server/game/Entities/Unit/Unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18243,11 +18243,6 @@ bool Unit::SetWalk(bool enable)
return true;
}

bool Unit::SetRun(bool enable)
{
return SetWalk(!enable);
}

bool Unit::SetDisableGravity(bool disable, bool packetOnly /*= false*/)
{
if (!packetOnly)
Expand Down
1 change: 0 additions & 1 deletion src/server/game/Entities/Unit/Unit.h
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,6 @@ class Unit : public WorldObject
bool IsLevitating() const { return m_movementInfo.HasMovementFlag(MOVEMENTFLAG_DISABLE_GRAVITY); }
bool IsWalking() const { return m_movementInfo.HasMovementFlag(MOVEMENTFLAG_WALKING); }
bool SetWalk(bool enable);
bool SetRun(bool enable);
bool SetDisableGravity(bool disable, bool packetOnly = false);
bool SetFall(bool enable);
bool SetSwim(bool enable);
Expand Down
Loading

0 comments on commit bdfa45e

Please sign in to comment.