Commit Graph

804 Commits

Author SHA1 Message Date
tartalo
ba52852ae5 Delete redundant () on previous patch :P
--HG--
branch : trunk
2009-11-01 20:50:53 +01:00
tartalo
80ac5f6587 Add Dalaran to no fly zones in Northrend
--HG--
branch : trunk
2009-11-01 20:47:40 +01:00
maximius
218e81d4dc *Typo correction, fixes *nix build, thanks alex_1983
--HG--
branch : trunk
2009-11-01 01:35:54 -08:00
maximius
037d69cc04 *Cleanup, and beda0979614d redux
--HG--
branch : trunk
2009-10-31 21:33:26 -07:00
Kudlaty
425597d522 Fix exploit that Titan's Grip allow to use with it staff/polearm
--HG--
branch : trunk
2009-11-01 03:51:09 +01:00
maximius
a22da32a51 *Correctly update negative aura duration at loading, thanks Sisif
--HG--
branch : trunk
2009-10-31 16:44:14 -07:00
maximius
743578b81f *Reinit the iterator in each loop as the iter is removed from the list, in AuctionHouseObject::Update, by Trazom
*No longer disregard z/o in Map::CreatureRelocation, thanks Sisif
*Cleanup, and make Divine Storm default to m_caster is no unitTarget is available
*Some mtmaps optimization

--HG--
branch : trunk
2009-10-31 16:00:47 -07:00
maximius
47ba05f5d4 *Partial backout of 6f77c852bd4a
--HG--
branch : trunk
2009-10-31 04:31:53 -07:00
maximius
e45eeecdcd *Don't increment an iterator after it's erased, by RammboNr5. Also remove an unused iterator.
--HG--
branch : trunk
2009-10-31 00:50:27 -07:00
maximius
73fd6dbba6 *Make mtmaps a bit more stable, particularly when it updates players.
*Do some better cleanup on spec switching (should no longer strip away all auras, forcing a relog), unsummon totems, clear combo points, etc.
*Cleanup and optimization.

--HG--
branch : trunk
2009-10-30 22:52:37 -07:00
maximius
e6e621bfad *Add virtual bool IsEscorted() to escort_ai.h
*Some minor cleanup and optimization

--HG--
branch : trunk
2009-10-30 18:54:38 -07:00
Kudlaty
a5937d9d13 Fix typo, sorry
--HG--
branch : trunk
2009-10-31 01:16:48 +01:00
Kudlaty
e44c123184 Fix hit chance calculation for Fist Weapons. Patch by krz
--HG--
branch : trunk
2009-10-31 01:14:58 +01:00
maximius
b9fd59683c *Duels - if initiator and opponent are on the same team, or initiator and opponent are not PvP enabled, forcibly stop attacking on DUEL_FLED, otherwise they can continue attacking.
--HG--
branch : trunk
2009-10-28 21:44:26 -07:00
maximius
f4d76b8216 *Implement new LootMode system, and add some basic support in boss_sartharion.cpp. Requires database support.
--HG--
branch : trunk
2009-10-28 16:31:19 -07:00
maximius
921224ed42 *Fix 'slain' achievements for heroic mode dungeons, by Azuritus
--HG--
branch : trunk
2009-10-28 12:40:24 -07:00
tartalo
57a9410e22 Fix KillCredit effect when is casted by players. Thanks Azuritus
--HG--
branch : trunk
2009-10-24 20:09:02 +02:00
Anubisss
2820c7ba11 *Fix the bug that cant accept timed quests. Patch by Elron.
--HG--
branch : trunk
2009-10-22 15:51:31 +02:00
tartalo
9c81b3e51d MapManager: Block access to instances if encounter in progress or are full
--HG--
branch : trunk
2009-10-22 13:05:52 +02:00
tartalo
25e36147aa Fix compile && better solution for patch 6033, by Spp
--HG--
branch : trunk
2009-10-22 01:56:44 +02:00
tartalo
46c411b778 Backed out changeset 09d9acdcaed4
Sorry for the inconvenience. Part of this push was an untested patch that was miss pushed

--HG--
branch : trunk
2009-10-22 01:54:14 +02:00
tartalo
2d713bbc70 Fix compile && better solution for previos patch, by Spp
--HG--
branch : trunk
2009-10-21 23:46:07 +02:00
tartalo
5e9c0d385a * Fix possible server crash in Player::IsAtGroupRewardDistance, by Spp
* Fix possible server crash in Player::RewardPlayerAndGroupAtEvent
* Wintergrasp: Correct use of RewardPlayerAndGroupAtEvent, by Spp

--HG--
branch : trunk
2009-10-21 22:15:36 +02:00
tartalo
7a0bb775f0 * Disable m_pad in Player as it always uses initialization value, by Spp
--HG--
branch : trunk
2009-10-21 11:25:47 +02:00
tartalo
db9408cc53 Wintergrasp: Quest Fix (Slay them all && No Mercy Mericiless), by Manuel
Player: Fix possible server crash in Player::RewardPlayerAndGroupAtEvent, by Spp

--HG--
branch : trunk
2009-10-21 19:06:54 +02:00
maximius
d22768a6b5 *Cleanup
--HG--
branch : trunk
2009-10-18 18:38:46 -07:00
Spp
8bba043164 *Wintergrasp: Tenacity applied when player resurrects. By Spp
*OutdoorPvP: Implementation of HandlePlayerResurrects. By Spp
*Wintergrasp: Fix to honor rewards (DestroyedTower never applied). By Spp
*Wintergrasp: Fix to Spirit Healers (werent visible during wartime). By Spp

--HG--
branch : trunk
2009-10-18 13:17:05 +02:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
a641b82f03 *Fix several typos.
--HG--
branch : trunk
2009-10-17 03:52:49 -07:00
maximius
46f2faf1f3 *Cleanup, remove all positive auras (ie: buffs from another spec) on spec change.
--HG--
branch : trunk
2009-10-17 02:52:10 -07:00
maximius
4c21715367 *Fix spellmods (Lava Burst Cooldown etc, spellmods with 31st bit set bugging other spells), by thenecromancer
--HG--
branch : trunk
2009-10-15 14:33:32 -07:00
maximius
0173a28760 *Cleanup + back out changeset 18fa43db6cc3 (breaks riding apparently :[)
--HG--
branch : trunk
2009-10-14 02:21:39 -07:00
maximius
83b8b6590d *Fix - tradeskill passive buffs not applied at login, by MrSmite
--HG--
branch : trunk
2009-10-13 16:36:45 -07:00
Machiavelli
0e419d0083 Comment out some as of r5847 deprecated code.
--HG--
branch : trunk
2009-10-11 12:21:43 +02:00
Machiavelli
fe5a3e3c43 * Backout a part of the latest Mangos merge, armor penetration related. Please first check whether or not we need the code, then test it, then push to repo, one change per commit.
--HG--
branch : trunk
2009-10-10 18:19:34 +02:00
maximius
b4c7a2514d *Blackfathom Deeps - Event: Aku'mai, by Tartalo
*Split Personality Achivement, by Destalker
*Halls of Lightning Fixes, by Destalker
    Volkhan fixes + Achievement
    Ionar Fix - without this he resets each time he is invisible, spamming sparks
    Arcing Burn - should be a debuff (and stackable, stackable part NYI :/)
*Naxxramas - Thaddius - the aura shall affect only the character without the proper aura, by Trazom
*Naxxramas - Kelthuzad - some timer adjustments (may need verification or tweaking) by Cass
*Merges by Stryker, thanks to all authors and testers.
[8458] Re-implement SPELL_AURA_MOD_TARGET_ARMOR_PCT in more porper way for weapon dependent cases. Author: VladimirMangos
[8459] Avoid mutiply apply weapon dependent armor penetration bonus for each weapon. Author: VladimirMangos
[8529] check rune cost only if spell has PowerType == POWER_RUNE. Patch provided by yavi. Author: Ambal
[8532] Fixed situation where some items like 42947 were not giving spell power bonus. By: Ambal
[8533] Not remove timed quest and correctly fail when time runs out. Add function to remove timed quest instead of direct access to set. Author: NoFantasy
[8536] Fixed spell 62776. By: Ambal
[8539] Check pet aura range at area aura update. By: Ambal
[8546] Implement battleground bonusweekends call to arms. Also fix typo in auctionmgr. Author: balrok
[8547] Implemented scriptcall: CorpseRemoved(uint32 & /*respawnDelay*/) it will be called when the corpse of the scripted creature get's removed, it's possible to adjust the next respawn inside the script. Author: balrok
[8561] Replace another auras code call by explicit code
[8566] avoid singleton-lock when accessing BattleGroundMGR::isBGWeekend() Proposed by vladimir. Comitter: balrok

--HG--
branch : trunk
2009-10-09 20:48:55 -07:00
Muhaha
f162303eae * Implement Spell 6962 by Muhaha & Nevan , based on http://bitbucket.org/panaut0lordv/tc2-patches/src/tip/bgpetressurect
--HG--
branch : trunk
2009-10-06 22:41:37 +02:00
maximius
dd84dfd56d *Utgarde Pinnacle: Svala fixes - Fix some crashes, complete ritual code and change defines by enums, by Tartalo
*Fix Acherus Flightmaster for Alliance, by MrSmite
*Fix The Party's Over achievement (Prince Taldaram) & Implement Good Grief achievement (Maiden of Grief), by Tartalo
*Fix certaint things entering the threat list and never leaving, bugging mob's HP regeneration (ie: Priest's Lightwell).. again. Thanks Gyullo.

--HG--
branch : trunk
2009-10-06 13:16:10 -07:00
maximius
f980dd9ac6 *Merge [8524] New cell search algorithm implemented. You can now choose different
visibility distances on continents, in BG/Arenas and instances. Author: Ambal
*Some warning cleanup

--HG--
branch : trunk
2009-09-27 02:24:25 -07:00
maximius
59586af421 *More logical to cause the damage -after- the fall, not before, lol.
--HG--
branch : trunk
2009-09-26 12:28:48 -07:00
maximius
ff9a2f6ba1 *Extend and comment the Player::FallGround function, it can now cause damage if required.
--HG--
branch : trunk
2009-09-26 12:26:02 -07:00
maximius
f8a6434fc0 *Replace a ton of switches with RAND(), and overload RAND() to support up to 16 parameters.
*Add a safety check to prevent knocking players off of transports, just in case they die while on one.
*Fix a couple incorrect spell defines.

--HG--
branch : trunk
2009-09-26 02:09:26 -07:00
maximius
2853aa1cd1 *Grobbulus - in Inject event, tank is not a target for this spell, by Gyullo
*Gundrak - AI for the boss Moorabi, by Manuel
*Improvements to player death handling (they will now fall to the ground).. also attempted to improve creature death handling the same way.

--HG--
branch : trunk
2009-09-25 19:20:04 -07:00
maximius
906b00465a *add 11 new event hooks to the OnEvents system, by Hawthorne
--HG--
branch : trunk
2009-09-23 20:19:21 -07:00
Kudlaty
d3c402fa18 Fix problems with no stack limit.
--HG--
branch : trunk
2009-09-22 01:52:16 +02:00
maximius
9e5c8db01f *[8508] Not assign boolean value to integer variable, expecting to always be 0. Also renaming member variables. Author: NoFantasy
*[8516] Implement spell 53271. Author: Shendor
*[8519] Use RuneType enum where appropriate and more explicit data for rune init. Author: VladimirMangos
Thanks to: Stryker
*[8520] Limit telent 49182 and ranks triggering expected:wq runes cooldown case. Author: Shendor
*Fix Herald Volazj wrongly targeting himself on Shadow Bolt Volley instead of randomly targeting on Shiver, by tlexii.

--HG--
branch : trunk
2009-09-21 12:31:36 -07:00
Kudlaty
45e2f9c002 * Add two flags for items with no stack limit
* Added proper checking of faction based on seller for items with RequiredReputaionFaction=0
* This will allow 100% proper WDB data to be used
Thx to Malcrom and Brian

--HG--
branch : trunk
2009-09-21 05:52:58 +02:00
maximius
333f1c9d72 *[8475] fixed some gcc-warnings Author: balrok
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos
*[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce
*[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos
*[8496] Resolve some #include cycles and unsafe code.
* Common.h -> Threading.h -> Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
* Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos.
*[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos.
*[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy
*[8506] Add check for IsAutoComplete() in SendPreparedQuest().
For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems.
Some additional code cleanup. Author: NoFantasy
*[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no>

Thanks to Stryker and onkelz28!

--HG--
branch : trunk
2009-09-18 14:10:37 -07:00