aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
AgeCommit message (Collapse)Author
2009-10-24*Fix this part of Rime: "Obliterate has a 15% chance to reset the cooldown ↵Anubisss
on Howling Blast". Patch by thenecromancer. --HG-- branch : trunk
2009-10-23Use correct check in BuildMovementPacket to determine if creature can fly. ↵Machiavelli
Based on [8647] by NoFantasy --HG-- branch : trunk
2009-10-18*Cleanupmaximius
--HG-- branch : trunk
2009-10-18*Cleanup 649167cf44camaximius
--HG-- branch : trunk
2009-10-18*Effects which increase Bleed damage also increase Shred damage, changes by ↵maximius
thenecromancer --HG-- branch : trunk
2009-10-18*Backed out changeset 22566e4b7926maximius
--HG-- branch : trunk
2009-10-17*Merge some Improved Blood Presence code from MaNGOS, may fix ↵maximius
m_spellModTakingSpell 53168 crash. --HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-10-17*Cleanup, and fix a likely infinite loop, thanks thenecromancermaximius
--HG-- branch : trunk
2009-10-17*Fix several typos.maximius
--HG-- branch : trunk
2009-10-17*Cleanup, remove all positive auras (ie: buffs from another spec) on spec ↵maximius
change. --HG-- branch : trunk
2009-10-15*Cleanup.maximius
--HG-- branch : trunk
2009-10-15*Improved Fire Nova Totem & Earthen Power, patch converted by QuaLiT1maximius
--HG-- branch : trunk
2009-10-13*Some cleanup, change some illogical conditions (if you can attack your ↵maximius
target is no reason to ignore the target, o_O) --HG-- branch : trunk
2009-10-13*Don't require AI for waypoint creatures. Hopefully this will fix the NPCs ↵maximius
outside of Shadow Labyrinth never entering combat unless a player attacks them. --HG-- branch : trunk
2009-10-13*Wintersgrasp - prevents team from using vehicles to damage their own ↵maximius
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-12*Bitwise logic does not work on values that are not bitmasks. Thanks Spp for ↵maximius
pointing this block of code out :) --HG-- branch : trunk
2009-10-10* add a missed line when backing out ArP changes, (it was commented out anyway)biglad
--HG-- branch : trunk
2009-10-10* Backout a part of the latest Mangos merge, armor penetration related. ↵Machiavelli
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-09*Blackfathom Deeps - Event: Aku'mai, by Tartalomaximius
*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* Some changes to scarlet ghouls script, still needs proper core support to ↵Chaz Brown
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-08* Seal of Command should not only proc on melee abilities as 3.1.3 sources showMachiavelli
--HG-- branch : trunk
2009-10-07* missed changes to last commit (sorry)Machiavelli
--HG-- branch : trunk
2009-10-06*Some cleanup.. irritating aura system -_-maximius
--HG-- branch : trunk
2009-10-06*Merge [8525] Implement glyph 45775, Author: Shendormaximius
--HG-- branch : trunk
2009-10-06MergeMachiavelli
--HG-- branch : trunk
2009-10-06* Do not let Seal of Command proc on anything other than a melee swing.Machiavelli
* Fix Judgement of Blood/Martyr dummy by nos4r2zod * Fix Judgement of Command dummy by nos4r2zod --HG-- branch : trunk
2009-10-06* Update death checks to prevent death in ghost form, this "should" finnaly ↵Biglad
fix the perma death bug --HG-- branch : trunk
2009-10-05* Fix Blood Presence / Improved Blood Presence, recent client version ↵Machiavelli
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* Add better check for hitting dead object with spells (ie skinning and ↵Biglad
players can be skinned), this looks like its fix's dieing as a ghost, more testing needed --HG-- branch : trunk
2009-10-02*Temporary fix to permadeath issue.. still uncertain why this was happening ↵maximius
at all... --HG-- branch : trunk
2009-10-02*Typo fix.maximius
--HG-- branch : trunk
2009-10-02*Fix typo, and try to avoid killing the dead..maximius
--HG-- branch : trunk
2009-10-01*Always set health to 0 if dead. No exceptions.maximius
--HG-- branch : trunk
2009-10-01*Gift of the Naaru healing fix (now healing bonus is 1/5th AP, as it should ↵maximius
be), by Destalker *Proper Svala ID after transformation, by SoulForge --HG-- branch : trunk
2009-09-29*Passive targets under attack by players are not ideal targets for hostile ↵maximius
creatures, so avoid them. --HG-- branch : trunk
2009-09-29*Fix a crash in boss_svala.cpp + fix buildmaximius
--HG-- branch : trunk
2009-09-29*The enemy of my enemy is my friend.maximius
*Correct some reversed parameter ordering (team and vehId were swapped) --HG-- branch : trunk
2009-09-28*Attempt to fix a crash, and sanitize some input.maximius
--HG-- branch : trunk
2009-09-27*Make sure the target actually has a victim, otherwise checking hostility is ↵maximius
pointless. --HG-- branch : trunk
2009-09-27*If our target of choice is attacking a player, only attack our target if we ↵maximius
are friendly towards that player. *Only regenerate quickly if polymorphed. --HG-- branch : trunk
2009-09-27*Merge [8524] New cell search algorithm implemented. You can now choose ↵maximius
different visibility distances on continents, in BG/Arenas and instances. Author: Ambal *Some warning cleanup --HG-- branch : trunk
2009-09-26*Gundrak: Eck the Ferocious & Gal'Darah, by Tartalomaximius
*Implement talent Lava Flows (ranks 1-3), by win32 --HG-- branch : trunk
2009-09-26*Gundrak: GO Handling & Slad Ran script by Tartalomaximius
*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-23*add 11 new event hooks to the OnEvents system, by Hawthornemaximius
--HG-- branch : trunk
2009-09-21*[8508] Not assign boolean value to integer variable, expecting to always be ↵maximius
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-19*Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.maximius
*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-18*[8475] fixed some gcc-warnings Author: balrokmaximius
*[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