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
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