Commit Graph

5097 Commits

Author SHA1 Message Date
Kudlaty
91f3d69edf Merge [SD2]
r1314 Correct some spellId's and apply SD2 code style
r1315 Correct more spells and apply SD2 code style
r1316 Replace magic number with enum type name UNIT_DYNFLAG_DEAD
r1317 Add support for quest 1249. Patch by jotapdiez
r1318 Move AI's implementation from headers. Original patch/idea by DasBlub
r1319 Convert script related to quest 938 to use followerAI
r1320 Add new virtual function WaypointStart() to escortAI.

--HG--
branch : trunk
2009-08-16 21:46:31 +02:00
Kudlaty
81ee07fa2a Merge [SD2]
r1313 Implement new class SystemMgr for storage and management of script data.
      Move database load to new class and instead use functions in class to retrieve data from storage.

--HG--
branch : trunk
2009-08-16 19:38:18 +02:00
QAston
ec5515ee49 *Remove hack in Brain Freeze code.
*Update Improved Mend Pet to 3.1.3.

--HG--
branch : trunk
2009-08-16 19:13:02 +02:00
Kudlaty
a4b91e2cc4 Merge [SD2]
r1311 Move SetData from Reset to JustReachedHome for channelers and boss.
r1312 Added class for FollowerAI. Note this is under development and may have issues in some situations.
      FollowerAI is generally to be used for escort quests where NPC follow leader instead of using a predefined path.

--HG--
branch : trunk
2009-08-16 18:34:45 +02:00
Kudlaty
9ddfd5bf22 Merge [SD2]
r1307 Add gossip for npc_tracy_proudwell. Patch by hoshie
r1308 Fixed one not initialized array.
r1309 Correct typo in folder name. - skip
r1310 Enable faction change and remove unitState at attackStart for script related to quest 1560

--HG--
branch : trunk
2009-08-16 17:54:31 +02:00
Kudlaty
6838486796 Merge [SD2]
r1306 Remove now empty zone folder and complete re-organize file/folder structure. Thanks to DasBlub, Zor and others for inspiration, help and suggestions.

--HG--
branch : trunk
2009-08-16 17:30:05 +02:00
Kudlaty
982dcc9eaa Merge [SD2]
r1305 Move source files to continent folder, part 3

--HG--
branch : trunk
2009-08-16 17:22:17 +02:00
Kudlaty
6e9ee95bb7 Merge [SD2]
r1304 Move source files to continent folder, part 2

--HG--
branch : trunk
2009-08-16 16:29:41 +02:00
Kudlaty
2c663c945a Merge [SD2]
r1302 Create folder structure for sorting instance by continent and move empty folders. - skip
r1303 Start move source files to new folders, sorted by continent.

--HG--
branch : trunk
2009-08-16 15:49:51 +02:00
Anubisss
b3d381791e *Dont allow function CompletedAchievement() for GMs if GM.AllowAchievementGain disabled in conf.
--HG--
branch : trunk
2009-08-16 14:30:40 +02:00
maximius
eb125d11b6 *Quicksort
--HG--
branch : trunk
2009-08-16 04:27:21 -07:00
maximius
2ffcd76b43 *Merge rockzOr and oc_redfox's talent lists, it seems they both missed some.. resorted with quicksort
--HG--
branch : trunk
2009-08-16 04:24:02 -07:00
maximius
f74e8473a1 *Added oc_redfox's dual spec talent cleanup fix, run sql/updates/5084_character_updates_dual_spec.sql manually to cleanup talents, see file for details
--HG--
branch : trunk
2009-08-16 03:50:12 -07:00
megamage
90ed27059d *Script of quest Massacre at light's point. Original author nevan.
*primary bugs:
*you may fall below the deck of ship after exiting mine car and have to try again.
*mobs spawn too slow (part of it is db issue)
*there is no cannon on ship (db issue, you can add some 28833 by yourself or ask your db dev to do it)

--HG--
branch : trunk
2009-08-15 23:04:21 -05:00
megamage
95a79b2815 *Restore the work of escortAI::AddWaypoint.
--HG--
branch : trunk
2009-08-15 22:58:17 -05:00
megamage
9f3d1a4a3b *Fix the bug that player sometimes take fall damage when exit vehicle.
--HG--
branch : trunk
2009-08-15 22:48:52 -05:00
maximius
f2a22871a2 *More cleanup :)
--HG--
branch : trunk
2009-08-15 19:18:30 -07:00
maximius
53bc13fad8 *Cleanup
--HG--
branch : trunk
2009-08-15 19:16:47 -07:00
maximius
e581351794 *Replace every tab with 4 spaces, checked by hand
--HG--
branch : trunk
2009-08-15 19:08:39 -07:00
megamage
c88304af95 *Add some vehicle ai functions.
--HG--
branch : trunk
2009-08-15 20:36:54 -05:00
megamage
917bf34a98 *better handle effect 140. do not consider bp > 0 as custom damage.
--HG--
branch : trunk
2009-08-15 20:36:21 -05:00
megamage
cbe2f63d42 *Remove inline because it is not necessary. VC++ will set all functions defined in class declaration as inline automatically.
--HG--
branch : trunk
2009-08-15 20:35:16 -05:00
Machiavelli
bcd0656b0d *Merge
--HG--
branch : trunk
2009-08-16 03:25:27 +02:00
Machiavelli
2844937850 * Clear m_actionsButtons regardless of DB data for other spec when switching specs.
--HG--
branch : trunk
2009-08-16 03:23:51 +02:00
maximius
71c69e3460 *Remove offhand after switching specs if the player can no longer equip that item (ie: Titan's Grip)
--HG--
branch : trunk
2009-08-15 18:21:04 -07:00
Kudlaty
61ed8f90df Merge [SD2]
r1296 Fix typo and check for IN_PROGRESS instead of NOT_STARTED and also return after force EnterEvadeMode in UpdateAI - skip
r1297 Set sysconfdir path in different way for linux compile, to avoid possible DOTCONF++ error at start. Patch by Saeldur - skip
r1298 Fix typo in MC instance script.
r1299 Clean up one MC boss script and remove old workarounds. Patch by Reve
r1300 Add gossip to npc_naladu. Patch by hoshie
r1301 Some minor cleanup and move one folder+source file

--HG--
branch : trunk
2009-08-16 02:46:55 +02:00
Kudlaty
93709273ec Merge [SD2]
r1294 Let EscortAI fill waypoint list at Start(). Scripts using escortAI then no longer need to call FillPointMovementListForCreature().
r1295 Move one misplaced source file.

--HG--
branch : trunk
2009-08-16 02:12:14 +02:00
Anubisss
32078e0624 *Merge. :(
--HG--
branch : trunk
2009-08-16 01:55:22 +02:00
Anubisss
4b31577eb3 *Implement Championing system. More info about this patch at http://www.wowwiki.com/Championing
*Dont forget that this system can only works fine if has a DB support with level 80 instances' reputations(so need some data to creature_onkill_reputation).

--HG--
branch : trunk
2009-08-16 01:54:50 +02:00
Kudlaty
5b42daa7bf Merge [SD2]
r1291 Move one misplaced script in yesterday commits.
r1292 Make own folder for tool, not needed for general work of SD2. - skip
r1293 Add script loader to simplify maintenance of scripts. The scripts must now be added to system/ScriptLoader.cpp instead of old way directly in ScriptMgr.

--HG--
branch : trunk
2009-08-16 01:45:49 +02:00
Kudlaty
6337c3adfb Merge [SD2]
r1288 Update include guards with better naming.
r1289 Fix typo in makefile.am - skip
r1290 Move AI remaining in misc folders to own folder base.
      Rename file to same as others for consistency and update includes accordingly.

--HG--
branch : trunk
2009-08-16 00:53:16 +02:00
Kudlaty
e00175d23b Merge [SD2]
r1287 Move all non-instance scripts that are not related to any special continent to new world folder.
sorry about mistake in last sd2 merge. there should be:
r1286 Restructure file layout and move all non-instance source files to a logical continental single folder.

--HG--
branch : trunk
2009-08-16 00:10:26 +02:00
Machiavelli
340a206f05 *Merge
--HG--
branch : trunk
2009-08-15 23:32:53 +02:00
Machiavelli
00d53460c8 * Better way to toggle between action bars for duel speccing, with help from thenecromancer's patch, thank you.
* Correctly adopt spec 1's action bars into spec 2 when learning a new spec.
* Correct handling for UpdateSpecCount where count == 1.
* Other small cleanup and consistency variables.

--HG--
branch : trunk
2009-08-15 23:31:58 +02:00
Chaz Brown
8387e8a4fd This should fix readline on OSX and shouldn't break anything for other OS's - submitted by Curuad
--HG--
branch : trunk
2009-08-15 17:00:08 -04:00
maximius
b6e7065d41 *Add config option to change minimum level required to Dual Spec
--HG--
branch : trunk
2009-08-15 13:39:40 -07:00
megamage
3269f47b5b *Update Emalon the Storm Watcher script. By riddick
--HG--
branch : trunk
2009-08-15 14:36:15 -05:00
megamage
e03b7cd4d7 *Change react state of guardian back to aggressive. Instead check threat radius in canstartattack to prevent them attack too far target.
--HG--
branch : trunk
2009-08-15 14:30:14 -05:00
megamage
bc7f37fe1c *Fix a crash caused by ItemExpire though the reason is unknown.
--HG--
branch : trunk
2009-08-15 13:47:05 -05:00
Machiavelli
eb9d9ff071 *Merge
--HG--
branch : trunk
2009-08-15 20:25:28 +02:00
Machiavelli
b3a363cc4f *Correctly calculate spent talent points upon switching to primary/secondary talent spec. By thenecromancer.
--HG--
branch : trunk
2009-08-15 20:24:23 +02:00
Chaz Brown
db31023cc5 Reintroduce spell categories for Food and drink removed in 4904 (bd5ef2d4ac26) and change code that used hard coded numbers to use them instead - Thanks, Peldor
--HG--
branch : trunk
2009-08-15 14:10:50 -04:00
Machiavelli
ab744808c7 *Forgot to move delete result after fetch function.
Note: Dual speccing isn't working fully, going past rev 5037 is not recommended.

--HG--
branch : trunk
2009-08-15 18:48:25 +02:00
Machiavelli
2057f7d01d *Fix logical error in Player::LoadFromDB regarding dual speccing, and relocate code for consistency
--HG--
branch : trunk
2009-08-15 17:05:34 +02:00
Rat
230d112282 *fix shapeshift bonus auras, hope i didnt brake anything
--HG--
branch : trunk
2009-08-15 14:26:49 +02:00
maximius
49990e3fee *Better, but this needs work.
--HG--
branch : trunk
2009-08-14 23:38:51 -07:00
megamage
5983558bcc *Let all controlled entercombat when owner/charmer enters combat.
--HG--
branch : trunk
2009-08-14 22:36:32 -05:00
megamage
47735056cf *Set react as defensive for guardians. Otherwise you cannot finish quest "the gift keeps giving" until kill all mobs on map.
--HG--
branch : trunk
2009-08-14 22:26:49 -05:00
megamage
e94295fe42 *Fix function disappearanddie to make creature disappear immediately without death visual.
--HG--
branch : trunk
2009-08-14 22:26:07 -05:00
megamage
43d35de4ff *Fix the bug that summoner cannot attack summoned creatures. This bug was introduced in 4481. Note the difference between "summoner" and "owner".
*Valkyr script updated.

--HG--
branch : trunk
2009-08-14 22:25:12 -05:00