Commit Graph

1998 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
silinoron
da8d794f4b Core/Authserver: Put code in line with recent singleton changes.
--HG--
branch : trunk
2010-12-27 09:27:43 -08:00
Shauren
8865d367c6 Scripts/Trial of the Crusader: Made instance script a more readable, fixed early despawning of worm boss
Closes issue #3915.

--HG--
branch : trunk
extra : rebase_source : 7c086f0859bec23e53b2f9f9b2c458c48b9940df
2010-12-27 18:19:49 +01:00
silinoron
8b99f28e29 Core/Authserver: Revert a small mistake. Thanks aurimas.
--HG--
branch : trunk
2010-12-27 09:19:44 -08:00
silinoron
60c6d462e4 Core/Authserver: Significant cleanup in preparation for a rewrite.
Dropped support for running as a service on windows; it may be back in some form later.
Otherwise there should be no functional changes.

--HG--
branch : trunk
2010-12-27 09:02:02 -08: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
Shauren
ef347b53ef Scripts/Icecrown Citadel: Removed vehicle hacks for Bone Spike
--HG--
branch : trunk
2010-12-27 15:53:11 +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
click
392c08ecdd Buildsystem: Revert revision 4fb5181d88 (removes -lcrypto from worldserver/authserver linking, this SHOULD be handled -properly- by the OpenSSL-package already.
--HG--
branch : trunk
2010-12-27 09:53:22 +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
b0eaf1f42c Scripts/Ulduar: Despawn trigger for towers when towers are destroyed. (Allows proper spawn linking)
--HG--
branch : trunk
2010-12-25 22:14:53 +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
Shauren
99ff32be28 Scripts/Spells: Added support for Red Rider Air Rifle (item 46725)
--HG--
branch : trunk
2010-12-25 15:26:16 +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
ac920e763c Update some prepared statements to reflect b1759256b5´s changes
--HG--
branch : trunk
2010-12-24 21:20:16 +01:00
Machiavelli
385b81662a Fix build
--HG--
branch : trunk
2010-12-24 20:17:38 +01:00
Machiavelli
18cc4c4aba Scripts/Orgrimmar: Remove a not finished quest script. Proper quest support will be included in a future TDB release.
Author: Nay

--HG--
branch : trunk
2010-12-24 19:54:52 +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
click
a99e12cf0f Buildsystem/Unix: Fix an idiotic split-package behaviour on RedHat-based systems (and possibly some others)
Closes issue 4380

--HG--
branch : trunk
2010-12-24 18:04:09 +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