Commit Graph

153 Commits

Author SHA1 Message Date
_manuel_ 4aff9d0203 Core/Player: Added value for counting root times, used by SMSG_FORCE_MOVE_ROOT & SMSG_FORCE_MOVE_UNROOT. Actually I am not sure for what it is. Thanks to linencloth for help.
--HG--
branch : trunk
2010-10-05 23:02:46 -03:00
Shauren 1ae3459cff Core/Spells: Added partial support for Mixology (duration boost)
Update issue #4097.
Status: Confirmed
Implemented duration part, waiting for the rest

--HG--
branch : trunk
2010-09-29 20:44:14 +02:00
Shauren d2117fd4ee Core/Spells: Fixed Shadowmourne proc
Scripts/Quests: Fixed quest 24547 (A Feast of Souls)

Closes issue #2331.

--HG--
branch : trunk
2010-09-28 17:35:59 +02:00
Shocker 78803c9f09 Magic numbers cleanup:
- Replace many magic numbers with constants
- Use enum for vehicle flags/seat flags
- Correct structure for ItemRandomSuffixEntry

--HG--
branch : trunk
2010-09-28 08:21:51 +03:00
Xanadu 781592d63a Core/Spells: * Removed special handling of SPELL_AURA_ABILITY_IGNORE_AURASTATE, now handled by the proc system (again).
* Fixed Fingers of Frost buff display. Closes issue #3324.

--HG--
branch : trunk
2010-09-27 20:30:47 +02:00
silinoron 76e47fd795 Core/Unit: Cleanup; mostly purging a ton of dead code.
TODO: Move packet stuff out of Unit into packet handlers...

--HG--
branch : trunk
2010-09-19 17:08:14 -07:00
silinoron 171fcfa963 Core/Unit: Do not allow game masters to be damaged.
--HG--
branch : trunk
2010-09-19 16:48:15 -07:00
Shauren 2983dab1cb Core/Spells: Spell's damage should not interrupt auras applied by the same spell (fixes Frost Nova and water elemental Freeze), patch by dr.tenma
Closes issue #3052.

--HG--
branch : trunk
2010-09-19 17:02:05 +02:00
linencloth 0c9aa48d91 Core/PetAI: Fix an infinite loop
--HG--
branch : trunk
2010-09-18 14:20:08 +02:00
Liberate d036f7726e Core/PetAI: Implement a more correct way of findng if your pet's target has Crowd Control on it. Stuns like Hammer of Justice will not make your pet stop attacking anymore.
Pet's will only stop attacking if the Crowd Control is casted by the owner of the pet.
Fixes issue #4037

--HG--
branch : trunk
2010-09-18 12:33:16 +02:00
click 4d88ce57d2 Core/: Set correct sizes of SMSG_ATTACKSTOP packets
--HG--
branch : trunk
2010-09-16 18:05:50 +02:00
linencloth a582ab9d9d Core/Spells: Allow AoE spells to target dead units.
Also removes some unneeded checks from ally targeting.

--HG--
branch : trunk
2010-09-15 06:33:38 +02:00
Shauren c2c3302d2f Core/Vehicles: Removed hacky setting entry for multi-passenger mounts
Core/Pools: Fixed compile

--HG--
branch : trunk
2010-09-14 16:14:43 +02:00
click a6efc4dad5 Core/Loothandling: Make sure "pet-only"-kills doesn't drop loot (when pet is killing a creature on its own without any assistance from player)
(Also fix unintended typo from r701f212a00)

--HG--
branch : trunk
2010-09-13 22:49:20 +02:00
Shocker 6528a82b61 Core/Spells: Remove duplicate healing bonus calculation for Prayer of Mending, closes issue 3879, thanks dr.tenma
--HG--
branch : trunk
2010-09-13 22:54:04 +03:00
click a48923ee8c Core: Properly handle pet killing critters and also remove some old code - fixes a few issues:
- make pets return home after killing a critter (they refused to return to player on critter death)
- kills of an OLD bug : make critters lootable if they have loot (for quests). Fixes issue #1950.
Thanks to linencloth for the help on finding this bugger.

--HG--
branch : trunk
2010-09-13 18:22:16 +02:00
Shocker cbe95da41a Core/Spells: Correct meaning & usage of SPELL_ATTR_EX2_NOT_RESET_AUTOSHOOT (now SPELL_ATTR_EX2_NOT_RESET_AUTO_ACTIONS) to ignore timer reset for both melee swings and ranged autoshoots, fixes issue 2639
--HG--
branch : trunk
2010-09-12 23:52:37 +03:00
click c4028111bd Core: Remove some more warnings (initialization sequence in Unit.cpp and a non-initalized variable in worldserver)
--HG--
branch : trunk
2010-09-12 21:19:43 +02:00
Shauren e0ffae436c Core/Quests: Fixed remaining issues with quest crediting (note: previous commits did not introduce issues, only revealed them)
Core/DBLayer: Fixed more compile warnings
Core/Spells: Corrected code style from revision 634af79146

Closes issue #3956.

--HG--
branch : trunk
2010-09-12 19:17:58 +02:00
click 855ec1cd01 Core/Unit: Make sure pets respect unit damage resilience and the other way around (patch by Dr. Tenma)
Fixes issue #3918

--HG--
branch : trunk
2010-09-12 14:29:09 +02:00
click bf664b7a44 Cleanup/Core: Remove whitespace and tabs
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Spp cdef980af4 Core: Fix some warnings
--HG--
branch : trunk
2010-09-06 15:23:08 +02:00
Shauren 588092960b Core/Spells: Implemented effect for Tiny Abomination in a Jar trinket, original patch by Stryker
Closes issue #2716.

--HG--
branch : trunk
2010-09-06 13:54:17 +02:00
Shauren 5709007b02 Core/Loot: Automatically distribute currency items when they drop, based on Destros' patch
Closes issue #2913.

--HG--
branch : trunk
2010-09-06 11:27:00 +02:00
silinoron 5e95be0c33 Fix Glyph of Totem of Wrath.
Fixes issue #3743
Patch by dr.tenma.

--HG--
branch : trunk
2010-09-05 14:59:46 -07:00
Shauren 1b6eea7eee Core/Spells: Fixed Reign of the Dead/Unliving trinket, patch by un.spike
Closes issue #3661.

--HG--
branch : trunk
2010-09-05 14:03:29 +02:00
Shauren 14c8fa4925 Core/Spells: Fixed Nevermelting Ice Crystal trinket
--HG--
branch : trunk
2010-09-05 13:39:10 +02:00
Shauren 0b743795d6 Core/Spells: Implemented aura type 303 (SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE), patch by Azuritus
Closes issue #3773.

--HG--
branch : trunk
2010-09-05 12:05:49 +02:00
silinoron 5179d3149a Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)
--HG--
branch : trunk
2010-09-03 21:55:57 -07:00
Shocker 4e067dd313 Add LoS check for melee autoattacks, fixes issue 3535
--HG--
branch : trunk
2010-09-01 01:16:43 +03:00
John Holiver 258398ed30 Fixes Druid T10 Balance 4P bonus.
Fixes DK T10 Melee 4P bonus.

--HG--
branch : trunk
2010-08-31 15:01:04 -03:00
Spp e252b8abe7 Core: Fix more warnings
--HG--
branch : trunk
2010-08-30 23:07:14 +02:00
QAston ee8d61eaa4 *Missing function from commit r90b0ebdba9 :(.
--HG--
branch : trunk
2010-08-30 18:33:02 +02:00
QAston a8de57559b *Allow channeled spells to be casted on dead target
*Define relted spell attributes

--HG--
branch : trunk
2010-08-30 17:32:51 +02:00
Spp 405f312918 Core: Fix more warnings
--HG--
branch : trunk
2010-08-30 15:25:15 +02:00
QAston d81f5facc0 *Allow SPELL_EFFECT_POWER_BURN(64) to proc with damage.
--HG--
branch : trunk
2010-08-29 05:26:32 +02:00
Shocker f81dcf55bb Add HealReceived event for Creature AI to be used in scripts
--HG--
branch : trunk
2010-08-29 06:01:14 +03:00
QAston 2d877bbbfd *Allow damage shield hits to miss.
*Send overkill on damage shield hit.
*Correct data order for execute log of power take effects.

--HG--
branch : trunk
2010-08-29 03:38:21 +02:00
QAston e85df47749 *Send SMSG_SPELLINSTAKILLLOG on SPELL_EFFECT_INSTAKILL(1), thanks to Zor for base packet info.
--HG--
branch : trunk
2010-08-28 00:30:07 +02:00
QAston 5eb7e80fd5 *Send VICTIMSTATE_INTACT on melee attack miss.
*Rename VICTIMSTATE_NORMAL to VICTIMSTATE_HIT.
*Set default memory allocated in Spell::InitExecuteLogData to 32 bytes.

--HG--
branch : trunk
2010-08-27 23:12:52 +02:00
QAston 91233b9ba8 *Fix size of SMSG_SPELLHEALLOG and build (rage!!!)
--HG--
branch : trunk
2010-08-27 21:07:33 +02:00
QAston f1d4933dcb *Fix combat logging of many spell effects - thanks to kiper, Ssp, Cyrax, and manuel for providing data and to Zor for inspecting opcodes.
--HG--
branch : trunk
2010-08-27 17:49:32 +02:00
Shocker 35066fdb6a Small cleanup/corrections
--HG--
branch : trunk
2010-08-27 04:55:49 +03:00
Shocker 8146cff934 Fix Gift of the Naaru heal
--HG--
branch : trunk
2010-08-27 04:48:15 +03:00
QAston 1d3deae555 *Send to client periodic heal absorbtion.
*Heal over time spells are updating healing achievement progress now.

--HG--
branch : trunk
2010-08-27 01:13:27 +02:00
Shocker 23d1267689 Add possibility to ignore instant spells when checking if a spell is currently being casted. Fixes issue #2227
--HG--
branch : trunk
2010-08-26 20:40:18 +03:00
QAston 30d31ca40a *Fix usage of EffectValueMultiplier in spell code.
*Remove some obsolete code from spell class.
*Rename some spellmod and dbc column names to be more accurate.

--HG--
branch : trunk
2010-08-26 19:07:55 +02:00
Shauren 73d3f210a9 Scripts/Icecrown Citadel: Add script for Deathbringer Saurfang (only missing alliance outro due to need of spawning and moving a transport)
Scripts/Icecrown Citadel: Corrected Lord Marrowgar, should no longer target tanks with Bone Spike Graveyard, his Coldflame should now spread properly
Core/Scripts: Moved Lady Deathwhisper Mana Barrier handler to scripts
Core/Scripts: Allow AuraScript to prevent default effects by effect index
Core/Scripts: Added Is25ManRaid() method to ScriptedAI, obviously used to check if raid is 25man
Core/Achievements: Pass m_caster to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET

--HG--
branch : trunk
2010-08-21 20:50:38 +02:00
azazel 5fa14f58dc Core/Cleanup:
* move repeating code into separate method for storing locale strings in ObjectMgr (copy/paste sucks, you know)
* fix 'signed/unsigned' warnings (at least in VS)
* fix some other warnings and cleanup relative code

--HG--
branch : trunk
2010-08-26 15:54:56 +06:00
azazel 341e6303ef Core:
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)

--HG--
branch : trunk
2010-08-26 01:20:57 +06:00