tomrus88
c802504304
Applied coding style.
2009-05-21 19:45:18 +04:00
tomrus88
ebb03b7b9f
Merge commit 'origin/master' into 310
...
Hope it works with live 3.1.2.9901 client
2009-05-20 10:53:55 +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
tomrus88
6734694a90
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-16 00:47:37 +04:00
BombermaG
ff80f14d2d
[7825] Fixed typo in comment and var. name.
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-14 12:36:14 +04:00
tomrus88
5ab735d374
Merge commit 'origin/master' into 310
2009-05-10 21:46:26 +04:00
VladimirMangos
f117ce3420
[7809] Replace repeating "remove cooldown and send update to client" code by function call.
2009-05-09 19:32:24 +04:00
tomrus88
3c43e9dd52
Merge commit 'origin/master' into 310
2009-05-09 16:03:32 +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
tomrus88
c9f5062955
Merge commit 'origin/master' into 310
2009-05-08 15:31:27 +04:00
VladimirMangos
666b6f798e
[7798] More Player::ActivateTaxiPathTo use improvements
...
* Provide more explicit way about spell that cast taxi flight if any
* Remove incorrect states instead error reporting in case non-taximaster flight start (cast/script)
* Remove mount_id arg from ActivateTaxiPathTo and implement support for 0 mount_id case (spell 32474)
* Implement spell 32474 (except finilize part)
* Provided Player::ActivateTaxiPathTo(uint32 taxi_path_id) function version for simplify one node to node paths use by id.
2009-05-08 01:15:53 +04:00
VladimirMangos
3989212ad1
[7797] Use DBC data for mount model selection in more cases.
...
* Use alt.team mount data for take player team model id if DB not provide own team creature id in spell taxi call case.
* Remove unddeded hacks for model ids from Spell::EffectSendTaxi
* Provide spell target for SPELL_EFFECT_SEND_TAXI for spell with target mode 0 for this effect.
2009-05-07 22:40:37 +04:00
VladimirMangos
a587590ab5
[7796] Implement .lookup taxinode and .go taxinode commands.
2009-05-07 19:37:14 +04:00
tomrus88
216b947002
Merge commit 'origin/master' into 310
2009-05-07 02:08:52 +04:00
DiSlord
f2c514e810
[7792] Fix one rogue spell AP bonus
...
Signed-off-by: DiSlord <DiSlord@nomail.ru>
2009-05-06 19:18:09 +04:00
ApoC
ab170653fc
[7791] Compile fix of [7789].
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 14:27:24 +02:00
Maxxie
4c29782d66
[7789] Fixed mana gain from spell effect EffectDestroyAllTotems.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 13:21:25 +02:00
tomrus88
6821c24268
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-06 09:40:35 +04:00
arrai
fefe56e3c5
[7776] Completed implementation of CMSG_SPELLCLICK
...
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
npc_spellclick_spells, otherwise you won't be able to use them
2009-05-05 18:58:58 +02:00
tomrus88
e75e66063e
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/UpdateData.cpp
2009-05-05 10:44:12 +04:00
tomrus88
7e938af972
Updated to latest PTR client build 9868.
2009-05-05 10:41:22 +04:00
evilstar
c0bb0fd09d
[7767] Implement item 43824 work.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 08:47:23 +04:00
daveh
df119a4b59
[7754] Set NPC flags from DB for mini-pets (summoned critters).
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-04 08:41:23 +04:00
daveh
56401e1494
[7750] Get level/health critters data from Db instead hardcoded values.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-04 04:18:57 +04:00
AlexDereka
27fabf7ace
[7745] Fixed gcc warnings.
2009-05-03 20:25:27 +04:00
tomrus88
335b32dbc3
Merge commit 'origin/master' into 310
2009-05-02 19:56:19 +04:00
tomrus88
b980e9ac59
Updated to 3.1.2.9855 client build, fixed quests, some work on monster movement. Not tested.
2009-05-02 19:41:00 +04:00
NoFantasy
baa3e199d2
[7739] Implement boss spell 38441.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-30 21:25:35 +04:00
tomrus88
d4323e0071
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Player.cpp
2009-04-29 11:51:15 +04:00
Lightguard
a4373c887d
[7729] Implement skill level dependent speed bonus for mount (item 40775).
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-29 00:17:34 +04:00
tomrus88
950a4bf13f
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-28 19:08:53 +04:00
AlexDereka
c9d51a6dc7
[7716] Fixed some typos and possible crashes.
2009-04-26 18:49:07 +04:00
VladimirMangos
c2e6dd20dd
[7715] Provided way for scripts set alternative gameobject state for client show.
...
Also use enum for gsmeobject states.
2009-04-26 07:21:11 +04:00
tomrus88
55d6fbe3cb
Merge commit 'origin/master' into 310
2009-04-25 17:24:05 +04:00
DiSlord
99a98684d0
Move code from prev commit to dummy effect
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-24 02:24:57 +04:00
Trogvar
94f7bd6ec1
[7704] Implement damage part for spell 12809.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-24 01:11:14 +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
tomrus88
a9e148edac
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/AchievementMgr.cpp
src/game/BattleGroundHandler.cpp
src/game/CreatureEventAIMgr.cpp
src/game/DBCStructure.h
src/game/Player.cpp
src/game/Spell.cpp
src/shared/revision_nr.h
2009-04-21 15:20:45 +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
tomrus88
66f554f74d
Merge 'master' into 310
...
Please enter the commit message for your changes. Lines starting
2009-04-18 17:21:29 +04:00
VladimirMangos
09c32b5429
[7678] Implement spell target mode 7 and cleanup target mode 17.
2009-04-17 13:41:36 +04:00
tomrus88
d6f6272f8c
Merge branch 'master' into 310
2009-04-14 15:54:43 +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
tomrus88
9b20869a32
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-12 14:37:33 +04:00
DiSlord
db429d2a20
[7654] Apply SPELLMOD_DAMAGE for %healing spells (48985 and ranks for example)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-12 03:56:14 +04:00
Lightguard
8a21bdbae7
[7650] Fix one warlock talent part (47201 and ranks).
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-11 23:44:24 +04:00
tomrus88
14e9afa46f
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
2009-04-07 13:22:10 +04:00
Lutik
d6223e18f5
[7621] More strong check for 23922 and ranks for add damage
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-05 21:04:52 +04:00
tomrus88
3ad6044f72
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
2009-04-03 21:21:40 +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