aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
AgeCommit message (Collapse)Author
2010-06-05HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISKclick
Implement the use of the new vmap3-format by Lynx3d (mad props to you for this, and thanks for the talks earlier) + reduced Vmap size to less than one third, and improve precision + indoor/outdoor check which allows automatic unmounting of players + additional area information from WMOAreaTable.dbc, removed existing "hacks" + WMO liquid information for swimming and fishing correctly in buildings/cities/caves/instances (lava and slime WILL hurt from now on!) - buildfiles for windows are not properly done, and will need to be sorted out NOTE: Do NOT annoy Lynx3d about this, any issues with this "port" is entirely our fault ! THIS REVISION IS CONSIDERED UNSTABLE AND CONTAINS WORK IN PROGRESS - USE AT YOUR OWN RISK! --HG-- branch : trunk
2010-06-02* Fix Glyph of Mend Pet (tnx L1ghtGu4rd from Mangos)John Holiver
--HG-- branch : trunk
2010-06-02Fix crash in Unit::HandleProcTriggerSpell (Actually in ↵Trazom62
Object::GetUInt32Value when pVictim is null). Fixes issue #2458. --HG-- branch : trunk
2010-05-31* Fix Linux compile.Brian
--HG-- branch : trunk
2010-05-31Revert unintended change in 39d9d11c09 - special thanks to HG for being so ↵Machiavelli
cooperative. (Essence of 39d9d11c09 is still intact) --HG-- branch : trunk
2010-05-31Fix possible client crash in SMSG_ATTACKERSTATEUPDATE caused by outdated ↵Machiavelli
packet structure. --HG-- branch : trunk
2010-05-31Fix hidden CD for HandleDummyAuraProc for random proc spell (put the hidden ↵Trazom62
CD on one of the random spell to avoid multiple proc of different random spell). Take trigger_spell from dbc in case there is one and not yet handled by custom case. --HG-- branch : trunk
2010-05-29Fixed Twisted Faith not increasing damage of Mind Flay while Shadow Word: ↵Shauren
Pain was present on target, thx maxdestroyer for pointing that EffectSpellClassMask doesn't match Fixes issue #1085. --HG-- branch : trunk
2010-05-29Fixes the cooldown of the heroic version of the Deathbringer's Will Trinket.Liberate
Thanks nightseas for testing and finding this bug. --HG-- branch : trunk
2010-05-26Fixes the Deathbringer's Will Trinket.Liberate
This needs DB support so you don't change into a pig instead of a vrykul/taunka. Based on c.j.b's patch. Fixes issue 1933 Fixes issue 1843 --HG-- branch : trunk
2010-05-25Make spellsteal respect dispel-resistances - patch by dr.tenma (thank you!)click
This changes the way SPELL_AURA_MOD_DISPEL_RESIST works and fixes mages root diminishing returns Closes issue #1045. --HG-- branch : trunk
2010-05-22Change some casts in Unit.cpp (old typos) - tip from RaptorTeak, original ↵click
fix by zergtmn Fixes issue #2300 --HG-- branch : trunk
2010-05-14Fix Glyph of Life Tap.Anubisss
SpellMgr.cpp part of the code by Karolis.Rudzevicius, thanks for it. Fixes issue #1440. --HG-- branch : trunk
2010-05-14Fix Glyph of Shred.Anubisss
--HG-- branch : trunk
2010-05-06* Fix the damn everloving neutral assist once againBrian
* Patch coutesy of PivoNRoll --HG-- branch : trunk
2010-05-06Fix Beacon Of Light: not applying when not in LoS. Patch by beberlescaraber ↵Trazom62
(adapted to latest rev). Fixes issue #921. --HG-- branch : trunk
2010-05-04Unstable Affliction: Fix caster, bonus and penalty damageSpp
Original Patch by N4rk0 Closes issue 739 --HG-- branch : trunk
2010-05-01Fix more warnings.Spp
--HG-- branch : trunk
2010-04-30Fix crash when summoning minions (introduced in vanitypet-fix)click
--HG-- branch : trunk
2010-04-29* Properly dismiss vanitypets (implements use of CMSG_DISMISS_CRITTER)click
Some small code cleanups --HG-- branch : trunk
2010-04-29*implemented 'empty' VehicleAIRat
NOTE: VehicleAI::UpdateAI runs even while the vehicle is mounted! --HG-- branch : trunk
2010-04-25Fix resilience update for 3.3.x. Thanks dr.tenma.Trazom62
Fixes issue #198. --HG-- branch : trunk
2010-04-25Fix HandleStatModifier for BASE_PCT and TOTAL_PCT modifierType.Trazom62
Formula was incorrect. It gave a slight advantage when there are several auras for the same UnitMod. Ex: if you had 2 auras giving 50%, - previous formula would give: 1*1.5*1.5=2.25 - new formula give: 1+0.5+0.5=2.00 which is correct. Hack for negative pct <= -100 is also no longer necessary --HG-- branch : trunk
2010-04-25Refactor Creature::SelectNearestTarget(float dist)Trazom62
This function is used in many scripts to find the nearest enemy within the given distance. However, it had an implicit limit to the ATTACK_DISTANCE. so in many case the "dist" was in fact just ignored. In other case, the ATTACK_DISTANCE is required. So 2 functions are necessary to avoid ambiguities. The refactoring is the split of the function in 2: SelectNearestTarget and SelectNearestTargetInAttackDistance. --HG-- branch : trunk
2010-04-24Fix compile ¬¬Spp
+ Code Style (for, if, while) --HG-- branch : trunk
2010-04-21Fix Intervene and alikes (unlike spell magnets, intervene alikes are actualy ↵thenecromancer
just a single target auras so we need to get caster, not owner) --HG-- branch : trunk
2010-04-21Fix Critical Blockthenecromancer
--HG-- branch : trunk
2010-04-20Actually make a change in Blade Barrier to fix the crash.p0wer
--HG-- branch : trunk
2010-04-20Make ResetPeriodic controllable by boolean value, defaults to falseclick
Fix by Moriquendu --HG-- branch : trunk
2010-04-19Fix crash involved with DK talent Blade Barrier.p0wer
--HG-- branch : trunk
2010-04-19More warning removal (Some code modifications and cleanup when needed)Spp
--HG-- branch : trunk
2010-04-19Unit: Fix Unit Flight UpdateSpeed not getting charmer bonusesSpp
--HG-- branch : trunk
2010-04-19Remove LOTS of compile warningsSpp
--HG-- branch : trunk
2010-04-15Fix Threat of Thassarian. Thanks Azuritus.Trazom62
Fixes issue #1657. --HG-- branch : trunk
2010-04-12Fix Glyph of Polymorph. Thanks Proof.Trazom62
See issue #1322. --HG-- branch : trunk
2010-04-12* Fix: correct dancing rune blade damage output - patch by tbaartclick
Fixes issue #1354 Fixes issue #1479 --HG-- branch : trunk
2010-04-11Tab to Spaces and remove of trailing spacesSpp
--HG-- branch : trunk
2010-04-11Update code for 44394 and ranks. by Vladimir.n0n4m3
--HG-- branch : trunk
2010-04-11Final fix basepoints calculation, thx to Vladimir, Laise.n0n4m3
--HG-- branch : trunk
2010-04-11Some fixes for quests/basePoints calculation, realm server.n0n4m3
--HG-- branch : trunk
2010-04-11Fix mail, professions, group loot, console spam, and some fixes. Big thx to ↵n0n4m3
TOM_RUS. --HG-- branch : trunk
2010-04-11Fix Auth on server also some fixes and cleanups. Big thx to TOM_RUS.n0n4m3
--HG-- branch : trunk
2010-04-10Fix vehicle stacking (no more pyramids for you!)click
--HG-- branch : trunk
2010-04-08Code Style (game + scripts only):Spp
"!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk
2010-04-07Code Style (game + scripts only):Spp
">=" --> " >= " (when needed) " >=" --> " >=" ">= " --> ">= " "<=" --> " <= " (when needed) " <=" --> " <=" "<= " --> "<= " " ==" --> " ==" "== " --> "== " --HG-- branch : trunk
2010-04-07Code Style (game + scripts only):Spp
"==" --> " == " (when needed) --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"( " --> "(" " )" --> ")" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"if(" --> "if (" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"while(" --> "while (" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"for(" --> "for (" --HG-- branch : trunk