Commit Graph

1411 Commits

Author SHA1 Message Date
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
maximius
f7601aa00e *Waypoint creature fix by DearScorpion - "example: the portal dragon in Duskwood will basically return to it's spawnpoint and start over without this patch, with it however it will more or less kill you on the spot and continue its waypoint path where it left off"
--HG--
branch : trunk
2009-09-14 12:40:40 -07:00
maximius
9a603e8f11 *[FIX] Furor (Energy part) by HiZed
--HG--
branch : trunk
2009-09-14 12:27:19 -07:00
maximius
eef5abe6e1 *Event Hooks (OnLogin, OnLogout, OnPVPKill) by Hawthorne
*Boss Emote Command for DB Scripts by XTElite1

--HG--
branch : trunk
2009-09-13 00:01:35 -07:00
maximius
fef97481f6 *Some cleanup, fix Fire and Brimstone, thanks win32
--HG--
branch : trunk
2009-09-10 23:43:33 -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
megamage
c6a831e0ae *Try to fix a crash caused by CalcAbsorbResist. Thanks to nanouniko
--HG--
branch : trunk
2009-09-06 22:00:10 -05:00
megamage
f3aa989716 *Try to fix a crash caused by unstable affliction. Thanks to nanouniko
--HG--
branch : trunk
2009-09-06 21:38:03 -05:00
megamage
0b605fcb88 *Add a dk quest sql back. It was removed by mistake in 5119, but was never added back.
--HG--
branch : trunk
2009-09-04 22:41:39 -05:00
megamage
370be1de8e *Fix a bug that pvp flag is not cleared after unit is uncharmed.
--HG--
branch : trunk
2009-09-04 09:33:46 -05:00
megamage
e6dd36debe *Fix a typo in rev "the bug that Elemental Invisibility causes the creatures to constantly evade".
--HG--
branch : trunk
2009-09-02 18:49:29 -05:00
megamage
09974f0598 [8455] Do not disband guild, if guild ranks are not defined for that guild, removed obsolete comment.
Do not allow to delete guild rank, when there are only 5 or less ranks defined.

    Signed-off-by: Triply <triply@getmangos.com>

--HG--
branch : trunk
2009-09-02 18:40:27 -05:00