| Age | Commit message (Collapse) | Author |
|
Original Patch by N4rk0
Closes issue 739
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
Some small code cleanups
--HG--
branch : trunk
|
|
NOTE: VehicleAI::UpdateAI runs even while the vehicle is mounted!
--HG--
branch : trunk
|
|
Fixes issue #198.
--HG--
branch : trunk
|
|
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
|
|
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
|
|
+ Code Style (for, if, while)
--HG--
branch : trunk
|
|
just a single target auras so we need to get caster, not owner)
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
Fix by Moriquendu
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
Fixes issue #1657.
--HG--
branch : trunk
|
|
See issue #1322.
--HG--
branch : trunk
|
|
Fixes issue #1354
Fixes issue #1479
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
TOM_RUS.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
"!=" --> " != " (when needed)
" !=" --> " !="
"!= " --> "!= "
--HG--
branch : trunk
|
|
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
|
|
"==" --> " == " (when needed)
--HG--
branch : trunk
|
|
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
|
|
"if(" --> "if ("
--HG--
branch : trunk
|
|
"while(" --> "while ("
--HG--
branch : trunk
|
|
"for(" --> "for ("
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
in case of root/confuse, and fear in case of everything else)
Fixes issue #1468
--HG--
branch : trunk
|
|
help and Rat for idea.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
Fix flying creatures always moving forward ( maybe use flag only when really moving? )
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
This commit fixes spell Repentance(20066).
Patch by QAston, thanks to him.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
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
|
|
Fix compilation warning.
Fix typo in Freya soundid.
--HG--
branch : trunk
|
|
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
|
|
blow.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
or honor reward for the tapping player/group.
--HG--
branch : trunk
|