Commit Graph
328 Commits
Author SHA1 Message Date
Spp cce61839f8 Core/Player: after removing player from group, if group is deleted assign pointer to NULL to make sure no garbage pointer is used later in code
--HG--
branch : trunk
2010-09-14 20:14:10 +02:00
Spp 61bbd284de Core/Player: Add default remove Method to RemoveFromGroup
--HG--
branch : trunk
2010-09-14 16:38:08 +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
linencloth 6bdfc77b42 Core/Player: allow dead players to see dead creatures near their corpses
--HG--
branch : trunk
2010-09-14 02:57:53 +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
Shauren 6d0a031a77 Core/Quests: Some cleanup in quest relation accessing
--HG--
branch : trunk
2010-09-13 13:18:27 +02:00
Shocker 4908187578 Core/ScriptMgr: Add hooks for duel phases: OnDuelRequest, OnDuelStart, OnDuelEnd
--HG--
branch : trunk
2010-09-13 01:42:14 +03: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
Shauren 1f7064efee Core/Items: Use proper method for returning item max stack size
--HG--
branch : trunk
2010-09-12 10:43:40 +02:00
click bf664b7a44 Cleanup/Core: Remove whitespace and tabs
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Shauren d714d0eb20 Core/Loot: Reverted revision 44a1f284dd3e
Core/Loot: Implemented automatic currency distribution in better way, applying all conditions and updating achievements

Closes issue #3912.

--HG--
branch : trunk
extra : rebase_source : 35c2a59d213793ee29dfd0fc1acb7c15b375b049
2010-09-11 21:28:55 +02:00
Machiavelli a41e99223e Core/DBLayer:
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class

--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
Spp 9e9c39244b Code/Groups: use enum as parameter in Group::RemoveMember
--HG--
branch : trunk
2010-09-10 13:37:55 +02:00
Shauren 2cf5bfb150 Core/Quests: Fixed quest relying on KillCredit fields in creature_template, guid search for real entry should not be performed since we explicitly need the entry from credit
Closes issue #3882.

--HG--
branch : trunk
2010-09-08 16:15:22 +02:00
Shocker f19336e455 Core/Packets: Fix packet size and info for SMSG_SET_PROFICIENCY, original code by zhenya
--HG--
branch : trunk
2010-09-08 13:26:40 +03:00
Shocker 3bb2dc3588 Core/Arena: Don't ignore GM visibility in arena pre-start visibility check, fixes issue 3862
--HG--
branch : trunk
2010-09-08 07:57:14 +03: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
silinoron be7d94f24e Add support for character race and faction transfers.
Based (loosely) on patch by Ner'zhul, DarkXuan, and [email protected].
Fixes issue #3429.

--HG--
branch : trunk
2010-09-05 13:12:24 -07:00
Shauren de59ac3bc3 Core/Quests: Fixed quest kill crediting in heroic instances
--HG--
branch : trunk
2010-09-05 19:51:14 +02: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
Shocker adf1ae6286 Cleanup: Some typo fixes, closes issue 3798, thanks tru.bazoozoo and Lopin
--HG--
branch : trunk
2010-09-05 00:48:31 +03:00
Shocker d4763852cf Core/Unit: Fix some health-related calculations by adjusting maximum size to 64 bit integers, closes issue 3778
--HG--
branch : trunk
2010-09-05 00:38:19 +03:00
Shauren 0f9fe8dbeb Core/Players: Don't set instanceId to 0 when player is on transport during loading, there CAN be transports inside instances
Core/Scripts: Added waypoint id to OnRelocate transport hook
Core/Scripts: Make use of ZoneScript::GetGameObjectEntry at gameobject creation (makes it possible to override gameobject entries in instances)
Core/Transports: Call InstanceScript::EventInform for transport events
Core/Transports: Use guid from db for transports, not just its entry - adds partial support for instancing them (still cannot use transports table for it, but can spawn manually now)
Scripts/Icecrown Citadel: Fixed crash in Deathbringer Saurfang when event is started by more than one person (can't do this anymore)

Closes isssue #3749.

--HG--
branch : trunk
2010-09-02 10:40:32 +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
Shauren d5115ca687 Core/Dungeon Finder: Added support for rewards for random dungeons
Core/Quests: Simplified rewarding money from quests, now ModifyMoney and UpdateAchievementCriteria are called only once per quest
Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_USE_LFD_TO_GROUP_WITH_PLAYERS

--HG--
branch : trunk
2010-09-03 20:11:14 +02:00
Shocker ee83ffdfca Fix snake's HP for hunter's Snake Trap
--HG--
branch : trunk
2010-09-03 19:04:32 +03:00
Machiavelli 39027133e4 Fix Linux build
--HG--
branch : trunk
2010-09-03 00:04:14 +02:00
Shocker 4e067dd313 Add LoS check for melee autoattacks, fixes issue 3535
--HG--
branch : trunk
2010-09-01 01:16:43 +03:00
Shauren 6048d2ec5e Core/Achievements: Pass killed unit pointer to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE (use in scripts)
--HG--
branch : trunk
2010-08-31 21:47:44 +02:00
Shauren 996e7741a1 Scripts/Icecrown Citadel: Corrected vehicleId for Deathbringer Saurfang, patch by Heisenberg/bolvor
Closes issue #3704.

--HG--
branch : trunk
2010-08-31 21:47:43 +02: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
Shocker e32ece52ea Pet level-synchronization with owner should be done before initializing stats, closes issue 3732, thanks moriquendu
--HG--
branch : trunk
2010-08-31 20:40:43 +03:00
Spp 849ae84f5b Core: Fix more warnings and fix compile under linux 64
--HG--
branch : trunk
2010-08-31 10:23:22 +02:00
Spp e252b8abe7 Core: Fix more warnings
--HG--
branch : trunk
2010-08-30 23:07:14 +02:00
Machiavelli 376958d474 Call _SaveTalents along side of _SaveSpells in Player::resetTalents.
Please leave feedback on how this affects your character_spell duplicate entry errors.

--HG--
branch : trunk
2010-08-30 22:15:42 +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