Skip to content

Commit

Permalink
Merge pull request #26 from MoPSource/master
Browse files Browse the repository at this point in the history
b
  • Loading branch information
mygithome002 authored Sep 18, 2017
2 parents 8185130 + 59f5934 commit 5319ba6
Show file tree
Hide file tree
Showing 10 changed files with 2,443 additions and 120 deletions.
1 change: 0 additions & 1 deletion docs/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Mists of Pandaria SmartAI Scripts TODO:

Pandaria Zones:

-- Dread Wastes
-- Krasarang Wilds
-- Kun-Lai Summit
-- Townlong Steppes
Expand Down
36 changes: 36 additions & 0 deletions issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!--- (**********************************)
(** Fill in the following fields **)
(**********************************) --->

**Description:**

Description of the problem or issue here.

**Current behaviour:**

CHANGEME Tell us what happens.
If this is a crash, post the crashlog (upload to https://gist.github.com/).

**Expected behaviour:**

Tell us what should happen instead.

**Steps to reproduce the problem:**

1. Step 1 include entries of affected creatures / items / quests with a link to the relevant wowhead page.
2. Step 2
3. Step 3



**Rev. hash/commit:**

Copy the first line of the `worldserver`, `authserver` startup.
For example: MopCore547 rev. 0000000000 2000-01-09 11:31:41 +0100 (my branch) (Win64, RelWithDebInfo, Static) (bnetserver)



<!--- Notes
- This template is for problem reports. For other types of report, edit it accordingly.
- For fixes containing C++ changes, create a Pull Request.
--->
1,133 changes: 1,133 additions & 0 deletions sql/SmartAI/patch/Development/Locations/Pandaria/Dread Wastes.sql

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -178,27 +178,6 @@ DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,2,0,100,0,0,40,22000,25000,11,223971,2,0,0,0,0,5,0,0,0,0,0,0,0,'Cast Hunter\'s Rush at 40% HP');

-- Young Primal Devilsaur
SET @ENTRY := 70005;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,2,0,100,0,0,40,22000,25000,11,223971,2,0,0,0,0,5,0,0,0,0,0,0,0,'Cast Hunter\'s Rush at 40% HP');

-- Young Primal Devilsaur
SET @ENTRY := 70004;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,2,0,100,0,0,40,22000,25000,11,223971,2,0,0,0,0,5,0,0,0,0,0,0,0,'Cast Hunter\'s Rush at 40% HP');

-- Young Primal Devilsaur
SET @ENTRY := 69993;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,2,0,100,0,0,40,22000,25000,11,223971,2,0,0,0,0,5,0,0,0,0,0,0,0,'Cast Hunter\'s Rush at 40% HP');

-- Zandalari Dinomancer
SET @ENTRY := 69925;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
Expand Down
1 change: 1 addition & 0 deletions sql/updates/world/2017_09_14_world_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UPDATE `creature` SET `phaseMask`='1024' WHERE `guid`='1004330';
6 changes: 6 additions & 0 deletions sql/updates/world/2017_09_14_world_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DELETE FROM `creature` WHERE `zoneId`='876';

DELETE FROM `gameobject` WHERE `zoneId`='876';

-- add the mailbox xD
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `protect_anti_doublet`) VALUES ('173422', '191948', '1', '876', '876', '1', '65535', '16219.2', '16271.3', '13.0077', '4.99032', '0', '0', '0.602342', '-0.798238', '300', '0', '1', '0', NULL);
2 changes: 2 additions & 0 deletions sql/updates/world/2017_09_17_world_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=108212 AND `ScriptName`='spell_rog_burst_of_speed';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (108212, 'spell_rog_burst_of_speed');
Loading

0 comments on commit 5319ba6

Please sign in to comment.