Commit Graph

1529 Commits

Author SHA1 Message Date
QAston
ef968f4b15 Core/Unit: Big cleanup in Unit::CalcAbsorbResist
Core/AuraScript:
	Fix compile time check for AuraScript functions
	Remove AuraApplication from hook functions parameter list, use GetTarget() and GetTargetApplication() instead
	Add OnEffectAbsorb hook
Scripts: move handlers of Spell Deflection, Savage Defense, Primal Tenacity, Nerves of Steel, Astral shift from core to scripts.

--HG--
branch : trunk
2010-12-27 20:14:54 +01:00
Machiavelli
dd745ef326 Core/Vehicles: Some research on VehicleSeatFlagsB.
It is assumed that VehicleSeatFlagsB & 322 means the seat can be used indirectly (ie. by aura 236 (SPELL_AURA_CONTROL_VEHICLE)) even though !(VehicleSeatFlags & VEHICLE_SEAT_FLAG_USABLE).
More research to be done Soon (tm).

--HG--
branch : trunk
2010-12-27 16:55:17 +01:00
Machiavelli
bdc47053cc Core/Spells: Partial fix spells 62056, 63985 (Stone Grip Force Cast - Part of Kologarn encounter), underlying AuraEffect::HandleAuraControlVehicle will no longer prematurely return.
--HG--
branch : trunk
2010-12-27 14:53:47 +01:00
Machiavelli
d951407822 Revert 0a95c34021 (thanks QAston for talking sense into me)
--HG--
branch : trunk
2010-12-27 11:06:53 +01:00
Machiavelli
299118cd3a Remove missing lines from previous commit, thanks click for pointing out.
(WTB Coffee)

--HG--
branch : trunk
2010-12-27 09:49:38 +01:00
Machiavelli
d69a1c3629 Core/Spells: Fix SPELL_EFFECT_FORCE_CAST(140), SPELL_EFFECT_FORCE_CAST_WITH_VALUE(141). These should force the target to cast a certain spell, not serve as a proxy for the original caster to cast another spell.
--HG--
branch : trunk
2010-12-27 09:21:08 +01:00
Machiavelli
4a169412b7 Core/Spells: Implement 65594 (Cancel Stone Grip - Used in Kologarn encounter) spell
--HG--
branch : trunk
2010-12-27 09:19:06 +01:00
Machiavelli
f0d884ee20 Scripts/Ulduar: Implement script for General Vezax encounter.
Based on original patch by Lopin -- thank you!

--HG--
branch : trunk
2010-12-26 23:35:12 +01:00
linencloth
efbc73d025 Core/Player: Split RemoveQuest into 2 separate functions
--HG--
branch : trunk
2010-12-26 21:34:08 +01:00
linencloth
07498c048c Core/QuestStatus: Log abandoned quests (requested, can be used in statistics)
--HG--
branch : trunk
2010-12-26 21:23:05 +01:00
linencloth
6b58081e63 Core/QuestStatus: Fix EffectQuestClear, also clear rewarded quests again
--HG--
branch : trunk
2010-12-26 21:18:22 +01:00
linencloth
dfbd344aae Core/QuestStatus: Fix typo
Closes issue 5279

--HG--
branch : trunk
2010-12-26 18:20:58 +01:00
Shauren
2c1be8e182 Core/Auras: Prevent model changing when shapeshifted and restore transforms when changing out of shapeshift
Closes issue #4754.

--HG--
branch : trunk
2010-12-26 17:58:41 +01:00
Shauren
f00a589b2a Scripts/Icecrown Citadel: Mutated Abomination should not damage its owner
Closes issue #5252.

--HG--
branch : trunk
2010-12-26 17:15:41 +01:00
Shauren
79070ca820 Scripts/Serpentshrine Cavern: Fixed "The Lurker Above" achievement and removed hacks for the event
--HG--
branch : trunk
2010-12-26 16:35:29 +01:00
Machiavelli
821c0f6c42 Core/Spells: Add dummy effect for Saronite Vapors (63322) (Used in General Vezax encounter)
Based on original code by Lopin

--HG--
branch : trunk
2010-12-26 16:25:40 +01:00
linencloth
b150172521 Core/QuestStatus:
- Separate rewarded quests from active quests, and store them in a new table to reduce database size
- Drop the no longer needed `rewarded` column from character_queststatus for smaller table size
- Prevent filling the database with dropped quests
  - Delete useless records
- Implement queststatus save "queues" instead of states
- Minor optimizations

WARNING: Backup your database!

--HG--
branch : trunk
2010-12-26 04:16:18 +01:00
click
8fdbe7c4e6 Core/Spells: Update auraeffects for shapeshift forms with a few missing ones (kills off some more logspam as well)
--HG--
branch : trunk
2010-12-26 01:55:48 +01:00
click
b5c1d554b2 Core/Handlers: Change/add some extra output in error-logs for PetHandler and SpellHandler
--HG--
branch : trunk
2010-12-26 01:24:29 +01:00
click
29d5e4e4d5 Core: Remove a useless log-error in Unit::BuildMovementPacket()
--HG--
branch : trunk
2010-12-26 00:38:01 +01:00
QAston
f4e46db38a Core/Auras: Add some asserions to hunt down reason of a crash in Aura::UpdateTargetMap. Thanks to Shauren for inspiration.
--HG--
branch : trunk
2010-12-26 00:14:13 +01:00
click
f5492f82b5 Core: Include the name and ID of the affected BG in Battleground::GetBGCreature() error-reporting
--HG--
branch : trunk
2010-12-26 00:06:03 +01:00
Machiavelli
70ec4a8f9b Fix build
--HG--
branch : trunk
2010-12-25 20:12:31 +01:00
Machiavelli
06d014f04d Core/Spells: Remove double initialization of ¨GetAuraEffectsByType(SPELL_AURA_MOD_DAMAGE_PERCENT_DONE)¨ in Unit::MeleeDamageBonus
Patch by gianni.elio@hotmail.it
Fixes issue #5269

--HG--
branch : trunk
2010-12-25 20:04:12 +01:00
click
07bebf0f35 Core/Handlers: Add some extra output in WorldSession::HandleDismissCritter (give more of which user attempts to dismiss it)
--HG--
branch : trunk
2010-12-25 17:53:50 +01:00
QAston
bce9b081ec Core/Unit: Fix crashes in Unit::CalcAbsorbResist and Unit::DealDamage caused by unsafe iteration over Unit::AuraEffectList - copy the list instead of using oryginal one.
--HG--
branch : trunk
2010-12-25 16:12:31 +01:00
click
b181ba21d9 Core: Fix a few warnings here and there.
--HG--
branch : trunk
2010-12-25 06:28:38 +01:00
leak
2697315476 Core/ObjectMgr: Copy/Paste fail in the recent loading functions cleanup. Thanks to cyberbrest for noticing.
Closes issue 5264

--HG--
branch : trunk
2010-12-25 05:22:37 +01:00
click
088ed9404b Core/Entities: Fix a minor disrepancy in the handling of weapon specializations introduced in revision a83f26ef71 - patch by Dr.Tenma
Fixes issue 5059.
Fixes issue 5265.

--HG--
branch : trunk
2010-12-25 04:03:04 +01:00
Machiavelli
d587948a0f Core/Spells: Use a workaround for Grab Crate, cast triggered spell with original caster as caster instead of target. Previous approach was prone to out of range errors.
Spell will now correctly restore 25 Pyrite energy (assuming aura 62495 is present to trigger the initial handler)

--HG--
branch : trunk
2010-12-25 03:18:21 +01:00
Machiavelli
06955a1113 Core/Entities: Fix guid lookup for linked respawn system
--HG--
branch : trunk
2010-12-25 02:22:35 +01:00
Machiavelli
95eb430dc0 Core: It would help if we would actually load gameobject data before checking respawn links if we want to validate linked_respawn data properly
--HG--
branch : trunk
2010-12-24 23:56:59 +01:00
Machiavelli
ee1e93d7ca Fix a search&replace failure from previous rev.
--HG--
branch : trunk
2010-12-24 19:50:42 +01:00
Machiavelli
398d71285d Core: Fix a possible crash in WorldSession::ProcessQueryCallbacks
Author: Cyberbrest
Closes issue #5262

--HG--
branch : trunk
2010-12-24 19:46:11 +01:00
Machiavelli
1e736fb32a Missing change from previous rev
--HG--
branch : trunk
2010-12-24 19:39:47 +01:00
Machiavelli
885960af45 Missing change from previous rev
--HG--
branch : trunk
2010-12-24 19:07:18 +01:00
Machiavelli
c05ed659cb Core/Entities:
- Rename creature_linked_respawn to linked_respawn
- Update functionality: add field ´linkType´.
** 0 = creature respawn dependant on creature (default)
** 1 = creature respawn dependant on gameobject
** 2 = gameobject respawn dependant on gameobject
** 3 = gameobject respawn dependant on creature

--HG--
branch : trunk
2010-12-24 18:55:50 +01:00
Machiavelli
f690338de1 Core/CreatureAI: Add virtual bool CanRespawn().
This method will be checked on Creature::Update with deathstate ¨DEAD¨, and allows inherited scripts to manipulate respawn behaviour based on scripted events.

--HG--
branch : trunk
2010-12-24 16:18:23 +01:00
Shauren
928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Spp
95daf7998f Core/Dungeon Finder: Fix a crash in rolecheck when a player is offline
Closes issue 5246

--HG--
branch : trunk
2010-12-23 21:11:11 +01:00
Shauren
e99ca097ed Core/ObjectMgr: Fixed loading groups
Closes issue #5197.

--HG--
branch : trunk
2010-12-23 21:03:27 +01:00
Shauren
b098c15674 Core/Auras: Removed pointless checks in SPELL_AURA_MOD_THREAT (10)
--HG--
branch : trunk
2010-12-23 19:58:00 +01:00
Shauren
3b903693aa Core/Player: Fixed faction change for characters that don't have any quests completed, patch by imprtat@uawow.com
Closes issue #5203.

--HG--
branch : trunk
extra : rebase_source : 6a7676a125be28e5b150db9f27d3488899f6c728
2010-12-23 19:15:44 +01:00
Machiavelli
f3dd337c6a Core/Spells: Fix Glyph of Felhunter
Author: Lopin

--HG--
branch : trunk
2010-12-23 19:03:28 +01:00
click
ca78881c63 Core/Spells: Fix a warning in SPELL_AURA_MOD_DAMAGE_PERCENT_DONE (explicitly define which parts to check for)
--HG--
branch : trunk
2010-12-23 18:35:43 +01:00
Machiavelli
0cdc4153d8 Core/Spells: Fix Glyph of Death Grip
Fixes issue #4608

--HG--
branch : trunk
2010-12-23 17:38:31 +01:00
Machiavelli
392a312c6b Core/Spells: Fix SPELL_AURA_MOD_DAMAGE_PERCENT_DONE(79) to affect proper spellschools based on EffectMiscValue.
Author: Dr.Tenma
Fixes issue #4019
Fixes issue #5059

--HG--
branch : trunk
2010-12-23 16:22:30 +01:00
Spp
b6724bea03 Core/Dungeon Finder: Fix crash in recursive calls while joining
closes issue 5162

--HG--
branch : trunk
2010-12-23 15:26:41 +01:00
Shauren
b2b2f44506 Core/Battleground: SOTA
* Fixed boats model (Alliance/Horde)
* Send boats movement to all players
* Fixed demolisher respawn time
* Added support for achievement Storm the Beach (1310)
Patch by Socolin.

--HG--
branch : trunk
2010-12-23 13:15:26 +01:00
Spp
067984ba9f Core/Dungeon Finder: Reset player Locked Dungeons after change level or bind to heroic instance
Note: Actual DF system is not supposed to select a dungeon you are already saved to (core does not support someone to have multiple saves on the same instance)

--HG--
branch : trunk
2010-12-23 06:06:24 +01:00