Commit Graph
150 Commits
Author SHA1 Message Date
Xanadu ba2e5ec2a2 Fixed Shiv.
* Now it does weapon dmg and adds a combo point even without poison (yes, that's blizzlike).
* Poisons from Shiv cannot crit.
* No more double poison procs.

--HG--
branch : trunk
2010-06-27 20:40:41 +02:00
Machiavelli 0b063e189b Better way to check for RandomProperty == -1, assign 0 to it for now.
--HG--
branch : trunk
2010-06-27 19:46:25 +02:00
Machiavelli 60349c5700 Remove some faulty code for picking a random item enchant if RandomProperty is -1. This will have to be implemented correctly later.
Also prevent the core throwing errors when loading items with RandomProperty -1

--HG--
branch : trunk
2010-06-27 11:48:33 +02:00
Machiavelli 26f4fae802 Fix bug that creatures which use FleeingMovementGenerator would not attack after respawning.
Bug was caused by improper react state

--HG--
branch : trunk
2010-06-27 03:47:18 +02:00
Tartalo 73a2a21ee4 Fix possible crash
--HG--
branch : trunk
2010-06-26 21:15:48 +02:00
Machiavelli d2553a138a Use valid coördinates for Unit::UpdateUnderWaterState instead of raw coördinates. Fixes another potential crash related to vmaps.
Updates issue #2748

--HG--
branch : trunk
2010-06-26 13:41:36 +02:00
Machiavelli 23ec7faf73 Typo
--HG--
branch : trunk
2010-06-26 13:06:36 +02:00
Machiavelli fac0ff3232 Also check for valid Y and O coordinates in Unit::SetPosition. Fixes another loophole related to vmaps.
--HG--
branch : trunk
2010-06-26 12:32:29 +02:00
Machiavelli 4357846c3c Remove a hack (added by someone that will NOt be NAMEd) that caused too high experience bonus for heirlooms. Heirloom experience bonus was already handled perfectly.
--HG--
branch : trunk
2010-06-26 02:02:59 +02:00
Brian 852a0c44a2 * Renamed PoolHandler to PoolMgr since the pool systems has nothing to do with
* the client/server protocol.

--HG--
branch : trunk
rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp
rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h
2010-06-25 03:50:19 -06:00
Xanadu fec8ca58b5 Simplified and cleaned up honor calculation.
--HG--
branch : trunk
2010-06-25 15:58:27 +02:00
Machiavelli 66535c3700 Remove redundant accountid check in Item::IsBindedNotWith. Fixes the issue that BOA items would get stuck in the mail when original sender had deleted their character before the recipient could pick it up.
--HG--
branch : trunk
2010-06-25 15:22:06 +02:00
Shauren 456c6291ab Move trade data to dynamic structure and added support for applying enchant after trade ends, based on Vladimir's commits
--HG--
branch : trunk
2010-06-25 13:15:51 +02:00
Machiavelli c107b39421 Store refundable items for Player class instance per lowguid instead of fullguid.
--HG--
branch : trunk
2010-06-25 01:11:36 +02:00
Machiavelli 275469a930 Fix a crash in BuildPlayerTalentsInfoData.
--HG--
branch : trunk
2010-06-25 00:33:45 +02:00
Machiavelli 0f7657b68c Get rid of Trinity Singleton and Threading patterns and replace them with ACE_Singletons and ACE_GUARD_x macro´s with ACE_Thread_Mutex´es respectively.
Also get rid of unused CountedReference class that used Trinity threading pattern.

--HG--
branch : trunk
2010-06-25 00:18:01 +02:00
click e7a3785d73 Merge
--HG--
branch : trunk
2010-06-24 17:34:30 +02:00
click 0b2dad9c97 Remove a possible NaN-value in WorldObject::HasInArc (thanks to arrai)
+ do some hack'n'slash-work on the CMakeLists with my trusted axe ( I just LOVE being a viking - I get to wield an axe for free!)

--HG--
branch : trunk
2010-06-24 17:32:50 +02:00
Tartalo 38fa3c212b Fix primal tenacity reduce damage while stunned only on cat form, by laise
Closes issue #1143

--HG--
branch : trunk
2010-06-24 15:32:11 +02:00
Machiavelli b823302088 Remove a duplicate query.
--HG--
branch : trunk
2010-06-23 13:31:17 +02:00
Xanadu 30a59b7b69 Mobs can no longer crit with spells. Closes issue #1704. Based on patch by PSZ.
--HG--
branch : trunk
2010-06-23 05:04:24 +02:00
Machiavelli 31e369b281 Remove obsolete table transport_event_scripts.
--HG--
branch : trunk
2010-06-23 03:35:12 +02:00
Machiavelli 968c27f55f Implement taxi/transport event scripts support. Author: Vladimir
--HG--
branch : trunk
2010-06-23 01:59:32 +02:00
Machiavelli 27062ffd61 Avoid redundant data copy in transport waypoints generation. Author: Vladimir
--HG--
branch : trunk
2010-06-23 01:28:57 +02:00
Machiavelli d50cb473cb Use original taxipath data in taxi flight movement generator. Author: Vladimir
+ Cleanup

--HG--
branch : trunk
2010-06-23 00:57:16 +02:00
Machiavelli a765961618 Fix player loading to transports. Author of original version: Vladimir
--HG--
branch : trunk
2010-06-22 01:30:37 +02:00
Machiavelli 0aa52477ae Simplify and cleanup Transport system. Author: Vladimir.
--HG--
branch : trunk
2010-06-22 01:29:02 +02:00
Machiavelli 95ddfbd9e2 Remove some redundant explicit NULL checks for pointers before ´delete´ or ´delete[]´ calls since this check is done implicitly when deleting.
Also fixes a memory leak in .reload creature_template command

--HG--
branch : trunk
2010-06-21 23:20:58 +02:00
Trazom62 2a544c94b3 Implement Chef Hat.
Fixes issue #2514.

--HG--
branch : trunk
2010-06-15 00:04:03 +02:00
Trazom62 d205de69bf implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_DAILY_QUEST_DAILY.
Fixe issues #2213.

--HG--
branch : trunk
2010-06-14 18:33:46 +02:00
Shauren ad8638742c Do not apply duration spellmods to spells with infinite duration (fixes Glyph of Eternal Water + Enduring Winter making water elemental last 5,10,15 seconds)
--HG--
branch : trunk
2010-06-13 15:55:30 +02:00
Shauren 4261828d63 Added support for item set names in case where item does not exist in item_template (like gladiator gear)
--HG--
branch : trunk
2010-06-11 20:02:46 +02:00
Anubisss 148f554814 Fix a mem leak in Item::IsTargetValidForItemUse().
--HG--
branch : trunk
2010-06-11 01:48:52 +02:00
John Holiver 5dff68e457 Allow to sell item for: money, extendedCost or money+extendedCost.
The new method (money+extende) can be used by using negative values on npc_vendor.ExtendedCost.
This one goes dedicated to ZxBiohazardZx.
Tnx also to VladimirMangos.

--HG--
branch : trunk
2010-06-09 19:38:15 -03:00
Brian dee7fd1382 * Remove more not needed relative paths in include files
--HG--
branch : trunk
2010-06-08 16:13:55 -06:00
Brian 9b6669e5f3 * Remove more relative paths from includes
--HG--
branch : trunk
2010-06-08 15:50:23 -06:00
Brian b76b6700ed * Linux compile with and without PCH fixed
* Script library compile fixed
* --todo: fix all scripts themselves :)

--HG--
branch : trunk
2010-06-08 13:05:47 -06:00
Machiavelli e5aa4f7be9 Only proc Infusion of Light (active buff) on Holy Shock criticals. (Problem introduced in previous fix)
Author: Shauren

--HG--
branch : trunk
2010-06-08 16:12:43 +02:00
Machiavelli 04955cfb23 Fix Infusion of Light talent (53569,53576), properly cast HoT on target after Flash of Light cast when target has Sacred Shield active.
Big thanks to Shauren, QAston and JohnHoliver.

--HG--
branch : trunk
2010-06-08 15:41:37 +02:00
Brian 6650068b5e * Nearly done with fixing the Linux build.
* Thanks to samccstudios for saving me some time with the Outlands scripts.

--HG--
branch : trunk
2010-06-07 15:59:21 -06:00
Tartalo c834449400 More fixes for game/ cmake compilation
--HG--
branch : trunk
2010-06-07 23:40:17 +02:00
Brian b0e1605455 * Getting closer (at least for Linux :) )
--HG--
branch : trunk
2010-06-07 14:44:18 -06:00
Brian 15f8bbe9ca * More cleanup
--HG--
branch : trunk
2010-06-07 12:08:15 -06:00
Brian 2e0f8fb6e5 * Nope not yet
--HG--
branch : trunk
2010-06-07 09:23:19 -06:00
Brian 2435b4152d * Nope still won't build yet
--HG--
branch : trunk
2010-06-07 09:04:14 -06:00
Machiavelli 24c720d899 Fix a typo, spotted by tigercop773. If the reset of the repo wasn´t entirely borked, this would have fixed compile.
--HG--
branch : trunk
2010-06-07 13:24:32 +02:00
Machiavelli f260a4d4ad Attempt to trace down a crash issue related to Aura::__UnapplyForTarget
--HG--
branch : trunk
2010-06-07 09:06:17 +02:00
XTZGZoReX 071df5528c * Rename Transports.cpp/.h to Transport.cpp/.h.
--HG--
branch : trunk
2010-06-07 01:18:27 +02:00
XTZGZoReX 62200e8d02 * Even more restructuring of the game library.
--HG--
branch : trunk
2010-06-06 22:55:56 +02:00
Rat 75b80d9f5b rearranged core files
--HG--
branch : trunk
2010-06-05 23:40:08 +02:00