Commit Graph

1411 Commits

Author SHA1 Message Date
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
Spp
f490ad5ac2 Code Style: tab to spaces
--HG--
branch : trunk
2010-04-07 17:24:07 +02:00
thenecromancer
0218e45565 Always add CC unit state to allow restoring CC effects if one expires (stun in case of root/confuse, and fear in case of everything else)
Fixes issue #1468

--HG--
branch : trunk
2010-04-05 13:09:28 +02:00
_manuel_
160666fa00 Fixed faction issue with vehicles in BattleGrounds. Thanks to Gyullo for help and Rat for idea.
--HG--
branch : trunk
2010-04-04 20:00:07 -03:00
thenecromancer
18b30b5f18 Fix periodic heal log (correctly display critical heal tick)
--HG--
branch : trunk
2010-04-03 12:43:36 +02:00
thenecromancer
aa31f350b3 Fix waypoint movement removing flying animation for creatures
Fix flying creatures always moving forward ( maybe use flag only when really moving? )

--HG--
branch : trunk
2010-04-03 12:39:02 +02:00
Machiavelli
6dedf65e3e Fix calculation of partial resistance cases, by Tlexii.
--HG--
branch : trunk
2010-04-03 03:59:41 +02:00
Anubisss
b66f312888 Break spells on damage in some aura types.
This commit fixes spell Repentance(20066).

Patch by QAston, thanks to him.

--HG--
branch : trunk
2010-03-30 15:49:59 +02:00
Anubisss
d9de0874ae Use ToTotem() in a case.
--HG--
branch : trunk
2010-03-27 16:21:37 +01:00
Anubisss
ce8cc85dfa Make a function(ToTempSummon()) which can convert Creature to TempSummon with a C++ cast(reinterpret_cast) and with a type check(isSummon()).
This function is like ToPlayer(), ToTotem(), etc.

This commit is like ede831bdd6f0cff481acc33f269fa7f8c78befd4 / r7496:
http://code.google.com/p/trinitycore/source/detail?r=ede831bdd6f0cff481acc33f269fa7f8c78befd4
As a result, this commit has the advantages and the "disadvantages" too, like r7496.

Please try to be polite if this commit causes some crashes.

--HG--
branch : trunk
2010-03-27 16:08:14 +01:00
Trazom62
248286c08d Fix Crash in XT-002 (Gravity Bomb proc). Fixes issue #734.
Fix compilation warning.
Fix typo in Freya soundid.

--HG--
branch : trunk
2010-03-22 14:07:08 +01:00
_manuel_
fae77f2621 Add additional field for storage of speed_run rate of creature
This allow independent rate of walk vs run speed. Existing field renamed to explicit speed_walk.

Note that default database rate for run is a result of the most common value seen, 8.0/7.0

Author: NoFantasy.

--HG--
branch : trunk
2010-03-21 14:57:49 -03:00
Xanadu
74a2957af5 Don't proc KILLED for the victim twice when attacker's pet lands the killing blow.
--HG--
branch : trunk
2010-03-21 16:23:50 +01:00
Xanadu
91260d8409 Implemented Glyph of Drain Soul. Partly based on thenecromancer's code.
--HG--
branch : trunk
2010-03-21 16:03:38 +01:00
Xanadu
830062779e Improved the kill proc slightly.
--HG--
branch : trunk
2010-03-20 18:49:50 +01:00
Trazom62
feeb3f564c Restore RewardPlayerAndGroupAtKill call from previous commit. This is the xp or honor reward for the tapping player/group.
--HG--
branch : trunk
2010-03-20 13:02:34 +01:00
Xanadu
34fb5df569 Fixed KILL proc to occur for the unit that lands the killing blow, not for the loot recipient.
--HG--
branch : trunk
2010-03-20 04:18:08 +01:00
thenecromancer
34d7e1fed9 Missing part of previous commit (Periodic Leech is DoT as well)
Fix talents Improved Rend and Gag Order not increasing whole damage of affected spells
(applying effect modifiers - spellmod_effectx should be however done for every static damage added to already calculated damage, we can't just apply all spellmods after effects are processed...)

--HG--
branch : trunk
2010-03-19 08:47:03 +01:00
thenecromancer
e67274392e Fix issues with NPC that have nonphysical melee damage
Remove Ranged attack from attackerstateupdate() children function (Ranged attacks are always done using spells)

--HG--
branch : trunk
2010-03-19 08:26:44 +01:00
Xanadu
812874a55b Fixed broken missile visuals in certain DST and SRC type spells (Void Reaver's Arcane Orb and many others). Achieved by fixing wildly incorrect SMSG_SPELL_GO target mask data handling.
--HG--
branch : trunk
2010-03-19 00:21:57 +01:00
silverice
aca2d26bc5 remove unused player's class member,cleanup
--HG--
branch : trunk
2010-03-18 20:21:42 +02:00
Xanadu
59e0d42260 Added (blizzlike) packet broadcast to near teleport. Thanks to Zor and nalimleinad (AKA anonymous colleague #1) for research.
--HG--
branch : trunk
2010-03-18 17:58:27 +01:00
Xanadu
72833e1584 Identified a new spell attribute forbidding some spells to use caster's done dmg mods (spellpower etc).
--HG--
branch : trunk
2010-03-18 17:22:11 +01:00
Rat
2b096c478a *always remove UNIT_FLAG_OOC_NOT_ATTACKABLE if crature enters combat and reset on leave combat
-Please post feedback if it breaks any script!

--HG--
branch : trunk
2010-03-18 00:01:39 +01:00
silverice
4177b876f3 Added hack that was removed in [7443]
Closes issue #979

--HG--
branch : trunk
2010-03-17 21:34:42 +02:00
Xanadu
a73b9b0f1e Cleanup
--HG--
branch : trunk
2010-03-17 17:43:28 +01:00
Xanadu
e5cbe017f4 Fixed Drain Soul increased damage for targets below 25% HP. Closes issue #394. Closes issue #748. Closes issue #938. Rejoice, new era of server-side spells has begun!
--HG--
branch : trunk
2010-03-17 16:38:31 +01:00
reno
e65dfc6a31 attempt to stop mobs casting and fleeing while stunned or confused
--HG--
branch : trunk
2010-03-15 14:38:30 -05:00
thenecromancer
a81ad6986c Remove Hack detecting spell 61988 in HasAura()
Correctly cast 61988/61987 after casting Avenging Wrath/Divine Shield respectively
(This will correctly show both spells disabled state)
Don't allow casting Lay on Hands on self when aura 61988 is present (ie. after using Avenging Wrath)

--HG--
branch : trunk
2010-03-15 18:03:43 +01:00