Commit Graph

3044 Commits

Author SHA1 Message Date
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
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
Shauren
2ccf6ae297 Core/Auras: Fixed another proc crash
Closes #3537
2011-10-16 14:33:48 +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
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
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
megamage
fd9bab9d89 Add a missing break in AuraEffect::CalculateSpellMod. Thanks to vlad852 for pointing out. 2011-10-12 14:48:22 -04: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
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
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
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
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
megamage
d156e066cf Rename "SetPosition" to "UpdatePosition".
Replace CreatureRelocation in scripts with new Creature::SetPosition.
2011-10-10 17:08:01 -04:00
Havenard
61f468d5a1 Fix Elemental Oath
Remove hacky implementation of Elemental Oath
Properly fix it by correcting DBC data
Fix Clearcasting from Elemental Oath damage bonus being displayed twice in Spell ToolTips by damage Addons like DrDamage (displaying 10.25% instead of 5%, 21% instead of 10%)
2011-10-10 18:01:02 -03:00
megamage
76c9c30c2b Merge pull request #3399 from megamage/master
Fix the relocation of creatures across cells. Try to fix #3054.
2011-10-10 13:12:15 -07:00
megamage
00f5366029 Fix the bug that CC AOE spells do not remove stealth aura if the target is behind the caster. 2011-10-10 12:56:14 -04:00
megamage
765a6f2e19 Remove duplicated code for SendNameQueryOpcode 2011-10-10 12:47:33 -04:00
megamage
f9fc12650b Merge pull request #3259 from Souler/pull
Traps and Basic Campfire ignoring unattackable flags.
2011-10-08 13:36:05 -07:00
megamage
45de1f01e0 Update char name data when create/delete char. 2011-10-08 16:24:07 -04:00
megamage
0bb86a3e97 Update code related to character name data.
Note: need to add/delete data when character is created/deleted.
2011-10-08 16:09:12 -04:00
Shauren
72fc756bff Scripts/Icecrown Citadel
* Minor corrections to Sister Svalna event
* Removed unneeded workarounds for Deathbringer Saurfang procs
* Changed GM check to use account level (makes no sense to check isGameMaster as that does not allow entering combat at all)
2011-10-08 17:39:03 +02:00
Shocker
0b243dfd9b Core/PlayerDump: Add config to disallow overwriting existing files and usage of paths in player dump write to prevent local exploits 2011-10-08 16:56:04 +03:00
Machiavelli
40ed37c1e7 Core/GameObects: Fix a crash in GameObject::Delete 2011-10-08 15:06:31 +02:00
Machiavelli
f266d3d957 One last culprit... 2011-10-08 14:36:38 +02:00
Machiavelli
26869bda30 Core: Fix a boatload of crashes after the mass cleanup... Thanks to Broodwyrm for spotting the culprits 2011-10-08 14:33:53 +02:00
Machiavelli
ddfd8e5510 Core: Build fix for linux after code style cleanup 2011-10-08 13:36:27 +02:00
Machiavelli
82dbe7bc17 Core: Fix some build errors after code style cleanup 2011-10-08 13:20:04 +02:00
Machiavelli
680fce6fd8 Core/GameObjects: Fix infinite respawning of chest gameobjects that are summoned trough spells with ie. SPELL_EFFECT_SUMMON_OBJECT_WILD
Closes #1618
Closes #2486
2011-10-08 13:17:43 +02:00
3kids
35126d3c5e Core/Spells: Restore work of Unrelenting Assault after 341d22ff91 2011-10-08 15:50:50 +07:00
megamage
679802ecf4 Merge pull request #3400 from Bootz/master
REPO: Code-Style fixes... (Part duece)
2011-10-07 17:56:47 -07:00
Bootz
5b4c7783c2 REPO: Code-style clean-ups
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go

~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
megamage
1e44044a8f Merge pull request #3281 from n4ndo/master
Fix Crash in ProcessQueryCallbacks
2011-10-07 15:19:21 -07:00
megamage
341d22ff91 Fix incorrect logic in Unit::IsNonMeleeSpellCasted
Author: kerhong
2011-10-07 18:16:32 -04:00
megamage
24b5ec1e39 Fix the broken logic in NearestHostileUnitInAttackDistanceCheck 2011-10-07 18:11:24 -04:00
megamage
8c9bd67fe9 Fix crash #3274 in Unit::HandleDummyAuraProc 2011-10-07 18:06:33 -04:00
megamage
47994f82d7 Fix crash #3306 in Unit::HandleDummyAuraProc 2011-10-07 18:01:41 -04:00
megamage
ba8cade780 Fix crash #3297 in Unit::HandleDummyAuraProc 2011-10-07 17:58:23 -04:00
megamage
eb8cbae0d5 Fix the relocation of creatures across cells. Try to fix #3054. 2011-10-07 17:36:23 -04:00
megamage
a85b1decb0 Merge pull request #3395 from megamage/master
Fix a crash caused by SetupBattleground when m_Map is not created.
2011-10-07 14:27:52 -07:00