daveh
902252c1e9
[7916] Fixed pet action bar setup.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-30 06:08:39 +04:00
tomrus88
42f8ce5f3e
[7911] Applied coding style.
2009-05-29 19:07:28 +04:00
VladimirMangos
4d8adefe70
[7901] Refactoting pet action bar related code. Fixed some related bugs.
...
* Correctly update action bar at loading and other cases when listed unlearned/not existed spells
* Avoid send data by PetSpellInitialize() many times while pet loading
2009-05-27 19:43:57 +04:00
qsa
37f8cea0a1
[7885] Fixed talent 34914 and ranks proc spell to correct spellid.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:43:13 +02:00
ApoC
d3d07c5657
[7880] Added error output for default switch case.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 16:04:01 +02:00
ApoC
dc389f416c
[7879] Added SPELL_AURA_MOD_SPELL_CRIT_CHANCE into isTriggerAura.
...
This will fix auras (57529, 57531, possibly others) to be correctly removed dependently on their procFlags and procCharges.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 12:30:26 +02:00
Tanatos
a59de33941
[7879] Fixed proc for 31571 and ranks.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 12:21:14 +02:00
VladimirMangos
bc4611e8c0
[7877] Correctly set totem PvP state at loading and owner PvP state change, including GM totem case.
...
* Also set PvP state in proper way at pet loading if owner in PvP state.
2009-05-23 00:37:49 +04:00
ApoC
e0e5ed7bd8
[7876] Implemented dummy effect and special target selection for 52759.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-22 20:34:58 +02:00
NoFantasy
50898eedde
[7864] Use x.0f float constant format.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 17:34:18 +04:00
VladimirMangos
0f928164e0
[7862] Fixed infinity loop at search spell related summoned gameobject in owner list.
2009-05-21 03:42:26 +04:00
Astellar
75438d2736
[7861] Update visibility check to make possible have invisible for owner pets/totems (need for some spells)
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 02:39:28 +04:00
Neo2003
fa03b3663a
Mobs fleeing and getting assistance feature implementaion.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also rename ACTION_T_FLEE to ACTION_T_FLEE_FOR_ASSIST for clear use
2009-05-21 01:33:28 +04:00
Astellar
ea1ca701ed
[7856] Fix cast 51525 and ranks charge on target (not owner)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-20 06:58:50 +04:00
VladimirMangos
122c9c5785
[7838] More fixes in pet's levelup spells.
...
* Fixed not updating levelup spells at warlock pet summon firsy time (overwriting by default original ranks in fact)
* Correctly upgrade/doungrade spell ranks in action bar.
* Fixed spell learning spam at warlock pet re-summon in some cases.
TODO: currently (before this commit and in it) PetSpellInitialize() called too oftern. Maybe possible cache update flag and do it one time somewhere in Pet::Update....
2009-05-16 17:15:45 +04:00
VladimirMangos
788cdf9b3a
[7826] Avoid use GetDistance* that used slow sqrt call where possible, other related speedups.
2009-05-14 18:51:13 +04:00
VladimirMangos
f53d06ad70
[7801] Apply damage mods from scripts or target state not in DealDamage but in new function before send data to client.
...
* Fixed bug with health decrease (client side visual bug) at spell damage by target with AI::DamageTaken damage set to 0
* Fixed bug with ignore .die command and instant kill damage in some cases.
2009-05-08 17:07:40 +04:00
VladimirMangos
943c76869d
[7799] Use single function for SMSG_SPELLNONMELEEDAMAGELOG prepare. Merge comments, replace values by enums.
2009-05-08 12:42:58 +04:00
Opterman
e0f5561cae
[7790] Fixed proc spell for talent 49005
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 13:59:07 +02:00
Maxxie
ac239e6178
[7787] Apply death preventing buffs after absorbing damage
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-06 14:03:04 +04:00
pasdVn
952474f22d
[7782] Fixed dummy proc from spell 34074
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 00:25:48 +02:00
Corfen
e70fdad6b7
[7777] Fixed talent 30299 and ranks procing also from holy dmg.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-05 22:05:54 +02:00
VladimirMangos
bda5da94c5
[7771] Replace different ways access to aura type in Unit::AddAura by more safe (after call ApplyModifier) local variable.
2009-05-05 12:47:01 +04:00
VladimirMangos
15d449c161
[7757] Not remove auras required for casting warrior enrage aura state at this state lost.
2009-05-04 14:16:08 +04:00
AlexDereka
27fabf7ace
[7745] Fixed gcc warnings.
2009-05-03 20:25:27 +04:00
ApoC
434cbc2150
[7743] Coding style fix.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-02 00:38:14 +02:00
AlexDereka
6192fcbd0c
[7733] Fixed compile error on VC2005ee.
2009-04-29 15:30:19 +04:00
zhenya
8144f30199
[7730] Some optimizantion and code style.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
VladimirMangos
73db1cbe01
[7723] New AI call EnterCombat called at enter creature to combat (and re-enter if leave by some reason).
2009-04-27 03:40:50 +04:00
AlexDereka
c9d51a6dc7
[7716] Fixed some typos and possible crashes.
2009-04-26 18:49:07 +04:00
VladimirMangos
5d9516354e
[7709] Cleanups in AI()->AttackedBy use.
...
* Remove redundent AI()->AttackedBy call at melee cast in state update (called in cast)
* Move attacks state update call after first attack instead after all extra attack state updates.
2009-04-24 18:54:18 +04:00
Trazom
eedc10d46f
[7703] Implement heal/damage total counters and related BG achievments.
...
* ACHIEVEMENT_CRITERIA_TYPE_DAMAGE_DONE
* ACHIEVEMENT_CRITERIA_TYPE_HEALING_DONE
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 23:56:15 +04:00
Trazom
9136354e7f
[7702] Implement some damage/healing achievement statistics.
...
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HIT_DEALT
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HIT_RECEIVED
* ACHIEVEMENT_CRITERIA_TYPE_TOTAL_DAMAGE_RECEIVED
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HEAL_CASTED
* ACHIEVEMENT_CRITERIA_TYPE_TOTAL_HEALING_RECEIVED
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HEALING_RECEIVED
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 22:04:08 +04:00
Trazom
7c0201f834
[7701] Move explicit healing repeating code to DealHeal functions.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 04:54:57 +04:00
VladimirMangos
d910610600
[7697] Interrupt casting at enter to evade mode.
2009-04-22 18:05:59 +04:00
AlexDereka
cc83cac0aa
[7696] Fixed compile warnings
2009-04-22 17:03:34 +04:00
NoFantasy
4fd4cc31d1
[7695] Fixed typo & -> &&
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-22 15:35:46 +04:00
VladimirMangos
fc0e1ecdf1
[7690] Move GetCreature/GetGameobject to class Map.
...
* This let get objects at map without reference to player or another object.
* Simplify future implementation for per-map storage for like objects
2009-04-20 19:08:13 +04:00
Lightguard
f97735f519
[7686] Implement aura SPELL_AURA_ADD_CASTER_HIT_TRIGGER (111).
...
Fixed bug with triggering SPELL_AURA_SPELL_MAGNET at non-magic casts (special weapon attacks).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 00:42:16 +04:00
Lightguard
c62543fa52
[7670] Revert "Not apply/remove passive auras on aura state change (not need)"
...
This reverts commit d5f6eefd1bb3c64797e54d19cc58ccc8c4cf8a4f.
Some 3.0.x talents not work without this like 44441
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-14 14:57:57 +04:00
VladimirMangos
d85e95295d
[7668] Cleanup In CreatureAI function descriptions and AttackStart/AttackedBy use.
...
* Use AI::AttackStart calls only in case explicit request creature attack from core or AI code "attack it if can".
Like taunt, pet handler attack command.
* Use AI::AttackedBy for reaction at hostile action "do something at hostile action"
Like non-dot damage, swing, negative spell landing, or fade fear/etc.
And provided by default call AttackStart if no current target.
This fix some problems, like:
* Civilian will react propertly at attack by another creature (not pet or player).
* Will not cases (at least triggred by core) when attack target start run to attacker before any real hostile action apply.
2009-04-14 10:14:10 +04:00
VladimirMangos
56350b32ed
[7663] Fixed crash at interrupting channeled spell. Cleanup spell interrupt code.
2009-04-13 10:48:26 +04:00
VladimirMangos
0e1997f746
[7657] Implement function for access to gameobject owned by unit and created by some spell.
2009-04-13 01:07:21 +04:00
VladimirMangos
eb198f8239
[7645] Fixed problems wit temporary unsummoned pets and cleanup code.
...
* Save temporary unsummoned pet to current slot (instead non_in_slot mode) and
prevent save as current pet summoned while temporay unsummon (arena)
* Prevent overwrite temporary summoned pet data
* At player loading set temporary unsummoned pet data instead pet loading
if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc)
* Restore proper pet at arena leave and unsummon in arena summoned.
2009-04-11 08:46:48 +04:00
tomrus88
412a8029ea
Removed some outdated comments
2009-04-08 14:54:45 +04:00
Tassader
45438a602f
[7635] Spell hit chance cap change to 100% in 3.0.x
...
(cherry picked from commit cd17dac8d43312751123ee689c314d510b05c6e8)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-08 06:06:44 +04:00
Lightguard
ca5a3d95ca
[7629] Update paladin talent 25988 work to 3.0.x
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-07 06:07:42 +04:00
False.Genesis
e4daaaedb1
[7610] Fixed problems with Aura::HandleMosPossess for players
2009-04-04 01:21:59 +04:00
freghar
0fc68c5e1e
[7609] Trailing whitespace cleaning
...
Here we are again! "git diff --check" !!
Signed-off-by: freghar <compmancz@gmail.com>
2009-04-03 16:46:39 +02:00
arrai
1ec8e1f24d
[7597] Fixed crash at stealing single target auras (54648 for example)
2009-04-01 23:11:25 +02:00