Commit Graph

1439 Commits

Author SHA1 Message Date
John Holiver cba199fa20 * Fix Glyph of Mend Pet (tnx L1ghtGu4rd from Mangos)
--HG--
branch : trunk
2010-06-02 18:30:57 -03:00
Trazom62 b7471f800c Fix crash in Unit::HandleProcTriggerSpell (Actually in Object::GetUInt32Value when pVictim is null).
Fixes issue #2458.

--HG--
branch : trunk
2010-06-02 19:36:59 +02:00
Brian 76f4259091 * Fix Linux compile.
--HG--
branch : trunk
2010-05-31 18:10:29 -06:00
Machiavelli 97ea58fe0c Revert unintended change in 39d9d11c09 - special thanks to HG for being so cooperative.
(Essence of 39d9d11c09 is still intact)

--HG--
branch : trunk
2010-05-31 23:03:14 +02:00
Machiavelli a623ccd5fa Fix possible client crash in SMSG_ATTACKERSTATEUPDATE caused by outdated packet structure.
--HG--
branch : trunk
2010-05-31 22:09:58 +02:00
Trazom62 248782448c Fix hidden CD for HandleDummyAuraProc for random proc spell (put the hidden 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-31 20:14:21 +02:00
Shauren cf34b23692 Fixed Twisted Faith not increasing damage of Mind Flay while Shadow Word: Pain was present on target, thx maxdestroyer for pointing that EffectSpellClassMask doesn't match
Fixes issue #1085.

--HG--
branch : trunk
2010-05-29 21:00:30 +02:00
Liberate 3b8be6d108 Fixes the cooldown of the heroic version of the Deathbringer's Will Trinket.
Thanks nightseas for testing and finding this bug.

--HG--
branch : trunk
2010-05-29 10:11:39 +02:00
Liberate c3b480ce81 Fixes the Deathbringer's Will Trinket.
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-26 22:47:47 +02:00
click b4e19528ef Make spellsteal respect dispel-resistances - patch by dr.tenma (thank you!)
This changes the way SPELL_AURA_MOD_DISPEL_RESIST works and fixes mages root diminishing returns
Closes issue #1045.

--HG--
branch : trunk
2010-05-25 10:36:33 +02:00
click 18f3d29caf Change some casts in Unit.cpp (old typos) - tip from RaptorTeak, original fix by zergtmn
Fixes issue #2300

--HG--
branch : trunk
2010-05-22 07:05:40 +02:00
Anubisss a7295810e3 Fix Glyph of Life Tap.
SpellMgr.cpp part of the code by Karolis.Rudzevicius, thanks for it.
Fixes issue #1440.

--HG--
branch : trunk
2010-05-14 18:02:31 +02:00
Anubisss 2425edfdab Fix Glyph of Shred.
--HG--
branch : trunk
2010-05-14 14:32:43 +02:00
Brian 42a379bfb1 * Fix the damn everloving neutral assist once again
* Patch coutesy of PivoNRoll

--HG--
branch : trunk
2010-05-06 02:13:15 -06:00
Trazom62 0d06050eb4 Fix Beacon Of Light: not applying when not in LoS. Patch by beberlescaraber (adapted to latest rev).
Fixes issue #921.

--HG--
branch : trunk
2010-05-06 21:07:20 +02:00
Spp ce17866ef0 Unstable Affliction: Fix caster, bonus and penalty damage
Original Patch by N4rk0
Closes issue 739

--HG--
branch : trunk
2010-05-04 21:54:13 +02:00
Spp e107730ffb Fix more warnings.
--HG--
branch : trunk
2010-05-01 22:25:14 +02:00
click 7b6f52b2a0 Fix crash when summoning minions (introduced in vanitypet-fix)
--HG--
branch : trunk
2010-04-30 03:21:59 +02:00
click f4dcdf9507 * Properly dismiss vanitypets (implements use of CMSG_DISMISS_CRITTER)
Some small code cleanups

--HG--
branch : trunk
2010-04-29 23:24:31 +02:00
Rat 757fbfba83 *implemented 'empty' VehicleAI
NOTE: VehicleAI::UpdateAI runs even while the vehicle is mounted!

--HG--
branch : trunk
2010-04-29 21:22:25 +02:00
Trazom62 9b83945c33 Fix resilience update for 3.3.x. Thanks dr.tenma.
Fixes issue #198.

--HG--
branch : trunk
2010-04-25 21:31:55 +02:00
Trazom62 bdaa101a28 Fix HandleStatModifier for BASE_PCT and TOTAL_PCT modifierType.
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-25 15:52:15 +02:00
Trazom62 eccf5bf547 Refactor Creature::SelectNearestTarget(float dist)
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-25 12:59:27 +02:00
Spp a12c0aef85 Fix compile ¬¬
+ Code Style (for, if, while)

--HG--
branch : trunk
2010-04-24 17:48:52 +02:00
thenecromancer 3d52a41e6b Fix Intervene and alikes (unlike spell magnets, intervene alikes are actualy just a single target auras so we need to get caster, not owner)
--HG--
branch : trunk
2010-04-21 19:01:46 +02:00
thenecromancer 3ea6bc08db Fix Critical Block
--HG--
branch : trunk
2010-04-21 18:56:13 +02:00
p0wer 232dc7b6f7 Actually make a change in Blade Barrier to fix the crash.
--HG--
branch : trunk
2010-04-20 15:55:20 -05:00
click a5500fd7f1 Make ResetPeriodic controllable by boolean value, defaults to false
Fix by Moriquendu

--HG--
branch : trunk
2010-04-20 00:11:03 +02:00
p0wer f23a3adb36 Fix crash involved with DK talent Blade Barrier.
--HG--
branch : trunk
2010-04-19 15:36:17 -05:00
Spp be01821050 More warning removal (Some code modifications and cleanup when needed)
--HG--
branch : trunk
2010-04-19 17:03:10 +02:00
Spp 2b81449f3e Unit: Fix Unit Flight UpdateSpeed not getting charmer bonuses
--HG--
branch : trunk
2010-04-19 16:56:24 +02:00
Spp 74dd02d024 Remove LOTS of compile warnings
--HG--
branch : trunk
2010-04-19 09:26:37 +02:00
Trazom62 81d5a23b37 Fix Threat of Thassarian. Thanks Azuritus.
Fixes issue #1657.

--HG--
branch : trunk
2010-04-15 21:51:53 +02:00
Trazom62 3fe3d3e4ab Fix Glyph of Polymorph. Thanks Proof.
See issue #1322.

--HG--
branch : trunk
2010-04-12 15:57:20 +02:00
click ca661f7acf * Fix: correct dancing rune blade damage output - patch by tbaart
Fixes issue #1354
Fixes issue #1479

--HG--
branch : trunk
2010-04-12 11:34:57 +02:00
Spp 65c3e979e2 Tab to Spaces and remove of trailing spaces
--HG--
branch : trunk
2010-04-11 20:20:38 +02:00
n0n4m3 98e0da92ca Update code for 44394 and ranks. by Vladimir.
--HG--
branch : trunk
2010-04-11 13:24:12 +04:00
n0n4m3 a3be43a297 Final fix basepoints calculation, thx to Vladimir, Laise.
--HG--
branch : trunk
2010-04-11 11:43:23 +04:00
n0n4m3 cdec48b9ef Some fixes for quests/basePoints calculation, realm server.
--HG--
branch : trunk
2010-04-11 11:23:32 +04:00
n0n4m3 be95faff23 Fix mail, professions, group loot, console spam, and some fixes. Big thx to TOM_RUS.
--HG--
branch : trunk
2010-04-11 11:16:42 +04:00
n0n4m3 8db7c06e6b Fix Auth on server also some fixes and cleanups. Big thx to TOM_RUS.
--HG--
branch : trunk
2010-04-11 11:11:32 +04:00
click 1f11f02221 Fix vehicle stacking (no more pyramids for you!)
--HG--
branch : trunk
2010-04-10 01:53:44 +02:00
Spp 4635fbc020 Code Style (game + scripts only):
"!=" --> " != " (when needed)
"  !=" --> " !="
"!=  " --> "!= "

--HG--
branch : trunk
2010-04-08 08:20:08 +02:00
Spp 46f0674e23 Code Style (game + scripts only):
">=" --> " >= " (when needed)
"  >=" --> " >="
">=  " --> ">= "
"<=" --> " <= " (when needed)
"  <=" --> " <="
"<=  " --> "<= "
" ==" --> " =="
"==  " --> "== "

--HG--
branch : trunk
2010-04-07 23:56:35 +02:00
Spp 2454c290b8 Code Style (game + scripts only):
"==" --> " == " (when needed)

--HG--
branch : trunk
2010-04-07 23:25:02 +02:00
Spp 49d05ba9aa Code style (game + scripts only):
"( " --> "("
" )" --> ")"

--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp d19e127080 Code style (game + scripts only):
"if(" --> "if ("

--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp 2e127f7a30 Code style (game + scripts only):
"while(" --> "while ("

--HG--
branch : trunk
2010-04-07 19:13:19 +02:00
Spp 182e9a20b1 Code style (game + scripts only):
"for(" --> "for ("

--HG--
branch : trunk
2010-04-07 19:12:44 +02:00
Spp b27ce42704 Code Style: Remove trailing spaces
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00