Commit Graph

13602 Commits

Author SHA1 Message Date
megamage
ffdfd9252b More clean up of grid system. 2011-10-18 11:51:30 -04:00
megamage
e27ef59548 Clean up grid system: allow directly creating Cell from x, y. 2011-10-18 11:18:49 -04:00
megamage
e0d933fed8 Use method IsCoordValid() to replace explicit checks. 2011-10-18 11:05:32 -04:00
megamage
c29ff41001 Rename some classes in grid system.
Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
2011-10-18 10:53:34 -04:00
Spp
e3f8588a22 Minor changes here and there:
- Cosmetic changes
- 'Engrish fix'
- Initialization of some vars
- Remove some not needed includes
2011-10-18 14:59:23 +02:00
Spp
b5e8a192b1 Core/Calendar: Send map raid reset only once
Also some minor changes here and there
2011-10-18 14:23:08 +02:00
Spp
bc023c6dfb Core: Fix some warnings 2011-10-18 12:39:01 +02:00
Spp
805e14a463 Core/Grid: Replaced ambiguous operator overloads with functions (Makes it clear to read) 2011-10-18 11:42:40 +02:00
Spp
e5fb7f093f Minor cleanups here and there 2011-10-18 11:13:56 +02:00
Spp
ee69fc940e Core/Items: Split SetSoulboundTradeable in two functions (Set and Clear)
Note: this is mostly for clarify action being done: ClearSoulboundTradeable better than SetSoulboundTradeable(..., ..., false)
2011-10-18 10:44:45 +02:00
Spp
be34ae68bb Core/GameObject: Fixed memory leak in GameObject AI handling 2011-10-18 09:51:55 +02:00
Spp
8a448c5d91 Core/GameObject: Fix compile warning (Note: bg->GetTypeID(true) will always return the Bg type being played, never Random) 2011-10-18 09:48:11 +02:00
kaelima
27e1a5d7b6 Core/Mechanic: Fix spell penetration from items. 2011-10-17 15:54:19 +01:00
Machiavelli
512503c2b8 Merge pull request #3560 from Fredi/cleanup2
Core/Misc: Added 'f' after float values
2011-10-17 05:41:10 -07:00
Fredi Machado
97142102e0 Core/Misc: Added 'f' after float values 2011-10-17 07:38:27 -03:00
Liberate
04bb2f4a17 Core/Movement: Fix Point Movement after a stun/root. The NPC should now correctly start moving again. 2011-10-17 03:06:35 +02:00
megamage
a56f89ab1b Fix a crashed caused by mob_mistress_of_pain. Fix #3527. 2011-10-16 16:52:06 -04:00
Shauren
46e00ad037 Merge pull request #3539 from dracosvk/DeathwhisperTiming 2011-10-16 05:39:28 -07:00
Shauren
2ccf6ae297 Core/Auras: Fixed another proc crash
Closes #3537
2011-10-16 14:33:48 +02:00
draco
bba6b4200c Scripts/Icecrown Citadel
* Lady Deathwhisper : Correction in timers for summoning waves of adds in heroic mode
2011-10-16 14:01:27 +02:00
Shauren
96cf810ca2 Scripts/Icecrown Citadel: Stinky should only have his damage aura in combat
Closes #3519
2011-10-15 19:47:09 +02:00
kaelima
97e5140a1d Core/WaypointMgr: Allow to set orientation to waypoints.
- Instead of the need to use a waypoint_script to change orientation on waypoint arrival.
2011-10-15 18:38:27 +02:00
Shauren
83a3da2630 Scripts/Icecrown Citadel: Corrected timer on Death and Decay
Closes #3512
2011-10-15 12:06:07 +02:00
Nay
521c3fc656 Core/Scripts: Fix Build.
Closes #3500
Closes #3503
Thanks @raelik
2011-10-14 10:16:20 +01:00
megamage
c8251bc619 Remove some "_" from private methods as required by TC standards. Thanks to Shauren for pointing out. 2011-10-13 17:01:55 -04:00
megamage
0e65e94f40 Merge pull request #3467 from Studioworks/master
Core: Style cleanup in boss_illidan.cpp
2011-10-13 13:53:00 -07:00
megamage
bcc55489f8 More cleanup of CanSeeOrDetect 2011-10-13 14:02:07 -04:00
megamage
5912e2444d Some cleanup of CanSeeOrDetect code. 2011-10-13 13:26:27 -04:00
Studioworks
2a494f1551 Fix the sequence of some lines because of my previous changes. 2011-10-13 00:08:41 +03:00
Studioworks
bb94ffc8fd Readd accidentally removed line in my previous commit. 2011-10-12 22:14:30 +03:00
megamage
dc2bdb8e13 Merge pull request #3445 from Bootz/master
Scriptwork/Clean-up (Av,Brd,Brs)
2011-10-12 12:01:05 -07:00
megamage
fd9bab9d89 Add a missing break in AuraEffect::CalculateSpellMod. Thanks to vlad852 for pointing out. 2011-10-12 14:48:22 -04:00
Shauren
f7d06a14f5 Scripts/Icecrown Citadel
* Corrected Shadow Prison (Prince Keleseth casts it)
* Fixed spell_putricide_slime_puddle second effect hook
2011-10-12 18:11:00 +02:00
megamage
481d16af13 Merge pull request #3430 from Havenard/fix0007
Scripts/ICC: Fix Shadow Prison
2011-10-12 08:45:14 -07:00
megamage
0184720df6 Merge pull request #3444 from Havenard/fix0008
Fix Elemental Oath
2011-10-12 08:44:47 -07:00
megamage
d2e8237d23 Merge pull request #3469 from Chaplain/cleanup3
Core/Spells: SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT improvement
2011-10-12 08:39:45 -07:00
megamage
69414ed065 Add MX lock to InstanceSave::Add/RemovePlayer. Because BindToInstance can be called within Player::Update.
Try to fix crashes #2514 and #2177. May also fix #3466, #2862 and #2239.
2011-10-12 11:36:03 -04:00
Shauren
10d0a250ef Build fix 2011-10-12 14:24:25 +02:00
Shauren
12c30b0c98 Scripts/Icecrown Citadel: Adjusted Ooze Puddle spell effect radius after correcting its size 2011-10-12 10:38:42 +02:00
Chaplain
3e9611578c Core/Spells: SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT improvement
*Now it'll correctly increase\decrease % of power
*Added helper function for modify power with percent ammount
2011-10-12 01:11:52 +03:00
kaelima
801ab6dd37 Core/MapScripts: Fixed SCRIPT_COMMAND_QUEST_EXPLORED again after 26869bda30. 2011-10-11 23:40:04 +02:00
megamage
44c55f78e0 Fix crash caused by FlameLeviathanPursuedTargetSelector 2011-10-11 17:19:57 -04:00
kaelima
3fd58b7b30 Core/Group: Fix recent issues with displaying group members on minimap.
Update GroupMemberOnlineStatus enum (creds to TOMRUS)
Also fix reduant GetVehicle() check in BuildPartyMemberStatsChangedPacket
2011-10-11 23:09:49 +02:00
Studioworks
c7251a2b39 Core: Style cleanup in boss_illidan.cpp 2011-10-11 22:25:08 +03:00
megamage
11bb9bfdb3 Fix compile error in gcc. 2011-10-11 08:56:44 -04:00
megamage
edc46d5606 Fix a crash caused by my previous commit. 2011-10-11 08:47:36 -04:00
Shauren
8540b367de Scripts/Icecrown Citadel: Fixed Professor Putricide's ooze puddle growth 2011-10-11 09:33:33 +02:00
megamage
8ce5177f74 Pass low guid instead of guid to DeleteCharaceterNameData.
Thanks to Studioworks for pointing out.
2011-10-10 18:03:19 -04:00
megamage
3569121d80 Remove/Add creature from/to map when it changes map.
Note: creatures was never supposed to change map, but now the core allows them to move with transports...
2011-10-10 17:59:52 -04:00
megamage
3ba22d0d06 Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management. 2011-10-10 17:39:34 -04:00