Commit Graph

4545 Commits

Author SHA1 Message Date
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
megamage
b8222df247 *Make sure spell 52479 (gift of the harvester) always works.
--HG--
branch : trunk
2009-08-14 21:45:54 -05:00
megamage
026659565d *Some cleanup of script vcproj (according to SD2)
--HG--
branch : trunk
2009-08-14 21:26:14 -05:00
Kudlaty
de8eb15699 Fix compile under windows. Thx for test Sundark
--HG--
branch : trunk
2009-08-15 04:02:48 +02:00
Nevan
0515533fcd *Fix Compile Error "../../npc/npc_escortAI.h"
--HG--
branch : trunk
2009-08-15 03:11:22 +02:00
Kudlaty
a30cc63d27 Merge [SD2]
r1287 Move all non-instance scripts that are not related to any special continent to new world folder.
Windows users pls wait until vcproj will be fixed

--HG--
branch : trunk
2009-08-15 02:34:43 +02:00
megamage
a65bb438a8 *Skarvald and Dalronn - Utgarde Keep: To make ghost versions not attackable. By tlexii
--HG--
branch : trunk
2009-08-14 19:27:53 -05:00
maximius
2fd68eab44 *Add Dual Spec support, original by EnderGT, thanks to Thyros and XTElite1 for helping me test :)
--HG--
branch : trunk
2009-08-14 17:24:52 -07:00
Chaz Brown
c7aa2f64e3 Fix typo in AHBot
--HG--
branch : trunk
2009-08-14 20:10:17 -04:00
megamage
271238a8e0 *Do not allow player to delete COD mails.
--HG--
branch : trunk
2009-08-14 19:00:12 -05:00
megamage
6890d8aedb *Log old name for customize request
--HG--
branch : trunk
2009-08-14 18:55:35 -05:00
megamage
cbcaba2e31 *Fix a typo in script [Quest] - Escape from Umbrafen By bigjohnson4
--HG--
branch : trunk
2009-08-14 18:38:03 -05:00
megamage
c40be3e50a *Script of Netherspite. By Iskander
--HG--
branch : trunk
2009-08-14 18:34:16 -05:00
Anubisss
227a1dc0be Show player's race and class in command .pinfo
--HG--
branch : trunk
2009-08-15 01:20:18 +02:00
megamage
1b056afaab *Fix broken script.vcproj files.
--HG--
branch : trunk
2009-08-14 17:56:25 -05:00
Kudlaty
68c015af44 Merge [SD2]
r1284 Apply SD2 code style to all uint32 arguments in gossip related functions.
r1285 Replace all remains of _GO with proper pointer style.
Aslo some other code style.
Fix typo in world_scripts_full.sql. thx Sundark

--HG--
branch : trunk
2009-08-15 00:32:04 +02:00
Rat
ce84190b5c *stop combat on battleground end, so creatures won't kill players
*added enum from BGCreatures

--HG--
branch : trunk
2009-08-14 22:09:06 +02:00
Kudlaty
f37885c086 Merge [SD2]
r1281 Added support for quest 12247. Patch by Azuritus
r1282 Added support for quest 11708. Patch by Azuritus.
      Additional cleanup and code style applied.
r1283 Add support for quest 12807. Patch by Azuritus

--HG--
branch : trunk
2009-08-14 21:58:29 +02:00