Commit Graph

1423 Commits

Author SHA1 Message Date
maximius
970405aca5 *Merge some Improved Blood Presence code from MaNGOS, may fix m_spellModTakingSpell 53168 crash.
--HG--
branch : trunk
2009-10-17 22:51:00 -07: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
d088564403 *Cleanup, and fix a likely infinite loop, thanks thenecromancer
--HG--
branch : trunk
2009-10-17 04:33:11 -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
6dc187627d *Cleanup.
--HG--
branch : trunk
2009-10-15 14:03:55 -07:00
maximius
47079eb853 *Improved Fire Nova Totem & Earthen Power, patch converted by QuaLiT1
--HG--
branch : trunk
2009-10-15 00:10:54 -07:00
maximius
e490c33725 *Some cleanup, change some illogical conditions (if you can attack your target is no reason to ignore the target, o_O)
--HG--
branch : trunk
2009-10-13 19:48:35 -07:00
maximius
9fdc4e137b *Don't require AI for waypoint creatures. Hopefully this will fix the NPCs outside of Shadow Labyrinth never entering combat unless a player attacks them.
--HG--
branch : trunk
2009-10-13 19:11:34 -07:00
maximius
8a5ac3834d *Wintersgrasp - prevents team from using vehicles to damage their own buildings, by Spp
*Wintersgrasp - restore proper faction of units in Unit::RestoreFaction(), don't just always use faction_A, by Spp

--HG--
branch : trunk
2009-10-13 16:16:45 -07:00
maximius
8d59bf8179 *Bitwise logic does not work on values that are not bitmasks. Thanks Spp for pointing this block of code out :)
--HG--
branch : trunk
2009-10-12 13:50:47 -07:00
biglad
dfc2945961 * add a missed line when backing out ArP changes, (it was commented out anyway)
--HG--
branch : trunk
2009-10-10 17:44:07 +01: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
Chaz Brown
ad9eb5e89d * Some changes to scarlet ghouls script, still needs proper core support to work 100% correctly.
* Add item script for the harvester's gift, to prevent creating more than 5 scarlet ghouls, I know this can be done in a better way, but, I couldn't figure out how.
* Add new function Unit::GetAllMinionsByEntry(std::list<Creature*>& Minions, uint32 entry) used to correctly count how many scarlet ghouls a player has, can probably be handy in other situations.

--HG--
branch : trunk
2009-10-09 13:49:41 -04:00
Machiavelli
89b384618d * Seal of Command should not only proc on melee abilities as 3.1.3 sources show
--HG--
branch : trunk
2009-10-08 19:59:21 +02:00
Machiavelli
8aae7e2d09 * missed changes to last commit (sorry)
--HG--
branch : trunk
2009-10-07 20:39:52 +02:00
maximius
ee3b64aed6 *Some cleanup.. irritating aura system -_-
--HG--
branch : trunk
2009-10-06 19:16:28 -07:00
maximius
040cc4630d *Merge [8525] Implement glyph 45775, Author: Shendor
--HG--
branch : trunk
2009-10-06 18:39:43 -07:00
Machiavelli
3bbc0d3324 Merge
--HG--
branch : trunk
2009-10-06 17:12:06 +02:00
Machiavelli
2cd66e90c2 * Do not let Seal of Command proc on anything other than a melee swing.
* Fix Judgement of Blood/Martyr dummy by nos4r2zod
* Fix Judgement of Command dummy by nos4r2zod

--HG--
branch : trunk
2009-10-06 17:09:11 +02:00
Biglad
5722d5c402 * Update death checks to prevent death in ghost form, this "should" finnaly fix the perma death bug
--HG--
branch : trunk
2009-10-06 15:15:26 +01:00
Machiavelli
ea4bac68f3 * Fix Blood Presence / Improved Blood Presence, recent client version changed the spell so it should also heal from damaging targets that would not give experience or honor.
* Fix typo in 5813_world_command.sql

--HG--
branch : trunk
2009-10-05 23:58:37 +02:00
Biglad
7bbb292352 * Add better check for hitting dead object with spells (ie skinning and players can be skinned), this looks like its fix's dieing as a ghost, more testing needed
--HG--
branch : trunk
2009-10-05 15:23:25 +01:00
maximius
3dc4df381f *Temporary fix to permadeath issue.. still uncertain why this was happening at all...
--HG--
branch : trunk
2009-10-02 05:45:08 -07:00
maximius
2b555a1ab9 *Typo fix.
--HG--
branch : trunk
2009-10-02 01:44:07 -07:00
maximius
3c270f97ee *Fix typo, and try to avoid killing the dead..
--HG--
branch : trunk
2009-10-02 01:06:06 -07:00
maximius
b832355b45 *Always set health to 0 if dead. No exceptions.
--HG--
branch : trunk
2009-10-01 22:51:43 -07:00
maximius
f8060fed5a *Gift of the Naaru healing fix (now healing bonus is 1/5th AP, as it should be), by Destalker
*Proper Svala ID after transformation, by SoulForge

--HG--
branch : trunk
2009-10-01 22:12:42 -07:00
maximius
4b79217bef *Passive targets under attack by players are not ideal targets for hostile creatures, so avoid them.
--HG--
branch : trunk
2009-09-29 15:13:46 -07:00
maximius
21f08bff8e *Fix a crash in boss_svala.cpp + fix build
--HG--
branch : trunk
2009-09-29 01:36:01 -07:00
maximius
aa5e2d3b28 *The enemy of my enemy is my friend.
*Correct some reversed parameter ordering (team and vehId were swapped)

--HG--
branch : trunk
2009-09-29 01:16:08 -07:00
maximius
0a9addd224 *Attempt to fix a crash, and sanitize some input.
--HG--
branch : trunk
2009-09-28 15:48:03 -07:00
maximius
339c2896b2 *Make sure the target actually has a victim, otherwise checking hostility is pointless.
--HG--
branch : trunk
2009-09-27 19:22:42 -07:00
maximius
15dbc456bb *If our target of choice is attacking a player, only attack our target if we are friendly towards that player.
*Only regenerate quickly if polymorphed.

--HG--
branch : trunk
2009-09-27 19:11:52 -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
371c6fd371 *Gundrak: Eck the Ferocious & Gal'Darah, by Tartalo
*Implement talent Lava Flows (ranks 1-3), by win32

--HG--
branch : trunk
2009-09-26 22:13:08 -07:00
maximius
7396b641ae *Gundrak: GO Handling & Slad Ran script by Tartalo
*Cleanup, and don't consider creatures to be in combat if they have no victim, or if their victim is a GM.

--HG--
branch : trunk
2009-09-26 16:01:30 -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
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
maximius
0cf75ef9ea *Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.
*Zum'Rah Area Trigger Script, Zum'Rah should become hostile when approached. By totoro.
*Judgement of Light PPM based, not 100%. By Drevi.
*Fix Deflection Exploit. By manuel, thanks to TheNecromancer and Gyullo.
*Correct Wintergrasp Tenacity formulas, by Gyullo.
*A Spirit Guide Escort Quest, code from SD2, patch by manuel.
*TrullyOne/MeanMachine Waypoint System Restored. Patch by XTElite1.

--HG--
branch : trunk
2009-09-19 12:13:08 -07: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
5b8ee23e47 *Better fix to the waypoint mobs returning to spawn issue, thanks XTElite1
--HG--
branch : trunk
2009-09-17 01:26:54 -07:00
maximius
1be0e825ce *Backed out changeset f2d288ace33d
--HG--
branch : trunk
2009-09-17 01:07:22 -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
10d3d6817d *Less hacky Furor fix by thenecromancer
--HG--
branch : trunk
2009-09-14 12:59:59 -07:00