Commit Graph

776 Commits

Author SHA1 Message Date
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
maximius
3e7c851aae *[FIX] New characters are flagged on non-PvP servers by XTElite1
--HG--
branch : trunk
2009-09-16 12:53:53 -07:00
maximius
00409c67cf *Levelling Weapon Skill patch (Author: Menia), thanks Sorken :)
--HG--
branch : trunk
2009-09-15 20:03:58 -07:00
maximius
140ec674a0 Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
2009-09-14 16:49:23 -07:00
maximius
b37f9b1e55 *Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
maximius
c5c83b0ce5 *Fix a typo that disabled switching specs in Battlegrounds even under appropriate conditions
--HG--
branch : trunk
2009-09-11 16:55:50 -07:00
maximius
cf43024951 *[8467] Fixed some typos. Author: AlexDereka
--HG--
branch : trunk
2009-09-11 14:43:26 -07:00
maximius
bcf19139af *Cleanup comments, update THANKS (no idea if I missed anybody o_O), added Themris' Warlock's Death Coil healing and damage fix, corrected some typos
--HG--
branch : trunk
2009-09-10 22:15:29 -07:00
maximius
5633ea57d1 *MrSmite's PetAI patch, plus Hawthorne's Instant Flight Paths (now with actual code! >_<)
--HG--
branch : trunk
2009-09-10 09:59:16 -07:00
Biglad
b2f770cdb2 * Fix bug that quest src items not taken from players on completing quest
--HG--
branch : trunk
2009-09-09 12:42:05 +01:00
Chaz Brown
52f243563f Fix a couple of small typos.
--HG--
branch : trunk
2009-09-04 19:50:00 -04:00
Chaz Brown
587f6377f2 Fix DK Runes never cooling down - fix by HiZed
--HG--
branch : trunk
2009-09-03 08:57:12 -04:00
megamage
06325a9231 *Fix the fraction loss of power regen. Thanks to HiZed
--HG--
branch : trunk
2009-09-02 19:15:05 -05:00
megamage
9d161ff757 [8449] Deprecate healing/damage item mods and merge internal data in to spell power. Author: VladimirMangos
* Report at loading about deprecated ITEM_MOD_SPELL_HEALING_DONE and ITEM_MOD_SPELL_DAMAGE_DONE
      and drop support code.
    * Merge healing/damage base spell bonus fields and function to spell power field/function.

--HG--
branch : trunk
2009-09-02 18:11:11 -05:00
megamage
ca514fde80 [8446] Update ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING only for real alive cases. Author: Opterman
This fix problem with temporary "alive" cases for prist talent for example.

    Signed-off-by: VladimirMangos <vladimir@getmangos.com>

    * Use final damage for check
    * Also fix CMSG_REPOP_REQUEST read warning spam.

--HG--
branch : trunk
2009-09-02 16:24:41 -05:00
megamage
85ab4599ee [FIX] Energy/Mana Regeneration By HiZed
--HG--
branch : trunk
2009-09-02 15:05:18 -05:00
megamage
73fde81744 *Prevent the triggering spell to always consume one charge of fingers of frost. By Cleave
--HG--
branch : trunk
2009-09-02 14:49:20 -05:00
maximius
1e06f0ee1e *GetHealth() was not returning desired value, so this code block is worthless.
--HG--
branch : trunk
2009-09-01 21:10:43 -07:00
megamage
dc68c2b269 [8433] Implement proper store and use character specific account data.
* Base at TOM_RUS reseach save/load character specific account data in new table `character_account_data`
    * Move its in sql update from `account_data` to new table.
    * For client packets that can be send in loggined state or just after logout but assocualted
      with recently logout character add new login status STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT
    * Store low guid for loggedin player or recently logout into WorldSession.

Author: VladimirMangos, TOM_RUS

--HG--
branch : trunk
2009-09-01 16:47:49 -05:00
maximius
f0e6acda3b *Switch exploit check to debug only..
--HG--
branch : trunk
2009-09-01 14:40:38 -07:00
megamage
4337d98863 [8431] Avoid unlearn class skills at unlearn spell learned at skill learn. Author: VladimirMangos
--HG--
branch : trunk
2009-09-01 15:33:07 -05:00
maximius
3db602b2d1 *Add some more debug info, don't kick GMs :)
--HG--
branch : trunk
2009-09-01 11:18:51 -07:00
maximius
9710187b1a *Better fix to dead player with health exploit..
--HG--
branch : trunk
2009-09-01 10:31:35 -07:00
megamage
51affe07d0 *Fix some restriction of pet spell cast.
--HG--
branch : trunk
2009-09-01 01:11:28 -05:00
megamage
33a0155281 *Allow pet to have combo points.
--HG--
branch : trunk
2009-09-01 00:17:39 -05:00
Anubisss
83dbfec80e *Better check for achievement criteria ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING. By Opterman.
--HG--
branch : trunk
2009-08-31 23:59:43 +02:00
megamage
9fdca970c6 *Add more debug info.
--HG--
branch : trunk
2009-08-31 15:00:53 -05:00
megamage
6a50516174 *Add an error log to find crash reason of m_spellModTakingSpell.
--HG--
branch : trunk
2009-08-31 12:00:19 -05:00
maximius
3f467130f6 *Replace 2^32-1 with MAPID_INVALID (I knew megamage added this somewhere, just couldn't find it until now :P)
--HG--
branch : trunk
2009-08-31 01:18:29 -07:00