tomrus88
abae3cac91
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
src/shared/Database/SQLStorage.cpp
2009-03-30 15:01:04 +04:00
Fog
a00de4ebb2
[7574] Fix typo in 47580 and ranks dummy
...
Signed-off-by: Fog <Fog@mangos.ru>
2009-03-28 23:07:41 +03:00
miebaik
e3b938ba5a
[7567] Fix charges count for 51124
...
Signed-off-by: miebaik <miebaik@getmangos.com>
2009-03-28 14:31:45 +03:00
tomrus88
963aed5e0b
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/Player.h
src/game/Unit.cpp
2009-03-26 14:28:37 +03:00
VladimirMangos
c33eff13f4
[7540] Move most reputation/force faction reaction code to new ReputationMgr.
2009-03-26 11:28:56 +03:00
VladimirMangos
df9caf58cd
[7538] Hide some implementation details for reputation/forced faction reaction.
2009-03-25 21:28:04 +03:00
VladimirMangos
b8b79d67ad
[7531] Fixed basic functionality for player's casted SPELL_AURA_MOD_POSSESS (like priest spell 605)
2009-03-24 04:27:43 +03:00
VladimirMangos
fa098236af
[7526] Use NULL for pointers instead 0
2009-03-23 17:37:23 +03:00
`win
0f6b2ab9ae
[7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves.
...
TODO: players who carry flag in bg are imune to immunity buffs casted by friendly players. (todo added to code).
Bug: if paladin casts Hand of protection on flag carrier - flag will be dropped, but he should get "target is immune" message.
Fixed: Do not call Battleground::Update for battleground template objects.
Fixed: Do not allow immune player to click on object in battleground (not sure if this is correct in all cases).
Signed-off-by: Triply <triply@getmangos.com>
2009-03-23 10:16:44 +01:00
VladimirMangos
ab2bdc3e69
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args)
...
* Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
and for not depednet (PlayDirectSound)
* Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
Note: function called for _source_ of sound in different from old function.
* chat command .debug ps removed and .debug playsound can used for bother packects test:
if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.
2009-03-23 00:27:01 +03:00
tomrus88
28dc20c6e2
Small code cleanup and partial merge with dev branch
2009-03-21 19:07:38 +03:00
tomrus88
e5bde711ea
Merge branch 'master' into 310
...
Conflicts:
src/game/Chat.cpp
src/game/Chat.h
src/game/GameObject.cpp
src/game/Level2.cpp
2009-03-21 15:48:51 +03:00
Seline
ebd292a226
[7499] Implement post effect for DoT spell 41917
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-19 22:48:06 +03:00
Seline
5a2c08ed7f
[7498] Implement GO spawn part of spell 39837 work.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Small fix in GO spawn duration. Aura remove at GO remove fixed in prev commit.
2009-03-19 22:13:47 +03:00
tomrus88
a2d3941588
Merged and updated to latest PTR build 9704
2009-03-19 14:18:17 +03:00
VladimirMangos
9ddb37c6c1
[7484] Cast proper triggred spell at spell 27808 tick.
2009-03-18 10:51:55 +03:00
tomrus88
9d2acc22b4
Merge branch 'master' into 310
...
Conflicts:
src/game/GameObject.cpp
2009-03-18 07:45:29 +03:00
Lightguard
bde638ace7
[7476] Implement druid's talent 61336.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Some improvements added to patch. Related cleanups.
2009-03-17 01:27:16 +03:00
VladimirMangos
c99a849eb9
[7475] Move Player::IsInFeralForm to Unit::IsInFeralForm
2009-03-16 23:22:52 +03:00
VladimirMangos
f4e37fa566
[7471] Ignore player target case for spell 29528 instead error reports in log.
2009-03-16 20:17:53 +03:00
VladimirMangos
e904d7c2c0
[7469] Allow scripting aura spell triggering in case not existed spell.
2009-03-16 18:24:06 +03:00
VladimirMangos
037840d5ba
[7451] Implement correct work SPELL_AURA_PERIODIC_MANA_LEECH for percent mana cost spells.
...
This is fix work of spell 3034 and 5138.
2009-03-13 19:23:13 +03:00
tomrus88
31b3ee95ad
Merge branch 'master' into 310
...
Conflicts:
src/game/Level2.cpp
src/game/PetHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/game/SkillHandler.cpp
2009-03-11 12:22:58 +03:00
VladimirMangos
329fb3f9d1
[7440] Use server-side only zone info. Optimize related calles in case zone and subzone use.
...
This in some cases make some zones not explorable if it not have server side data in current maps
but not allow cheating with zone set from client.
2009-03-11 10:08:12 +03:00
DiSlord
6a90d60327
[7428] Add new .map file format use more compact data store and use
...
Rewrite .map extractor
+ extract more useful data
+ add "-f 0" option for disable size/accuracy optimisation
+ Compatability vs 2.4.3 client data
More fast get .map data
Implement fatigue timer
Rewrite breath timer
Allow absorb/resist for lava/slime environmental damage
Need re-extract map for work.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-03-09 19:38:35 +03:00
VladimirMangos
4dad8f40d0
[7419] Fixed some type convertion warnings.
2009-03-09 08:23:25 +03:00
balrok
54f2dbefa0
[7403] much more unneeded includes removed
...
now i extended my script:
NAME="Chat"; ack -c $NAME | ack ":1$" | sed 's/:1//' | xargs /usr/bin/ack-grep -l "include \""$NAME".h\"" | xargs /bin/sed -i '/include "'$NAME'.h"/d'
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-08 02:22:17 +03:00
tomrus88
6aadc16d7d
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/QueryHandler.cpp
2009-03-06 08:03:34 +03:00
VladimirMangos
fee3278e57
[7376] Allow store in spell_area.aura_spell negative values for "not has aura" requirement.
...
Also
* Allow have in aura_spell spells with SPELL_AURA_PHASE in first effect.
* Allow negative aura_spell chaining in spell_area table.
* Better check at loading duplicate data (by requiremnt set) in spell_area table.
2009-03-04 01:27:56 +03:00
VladimirMangos
2b10d8fd71
[7364] Really implenent server-side anti-cheating cooldown check for spells with SPELL_ATTR_DISABLED_WHILE_ACTIVE.
...
Move apply cooldown for like spells to aura apply (GO registering for owner in GO summon spell case)
Store "infinity" cooldown for like spells, ignore it at save and reapply it at aura loading.
Note: one problem still exist for like spells: at loading/far teleport spell icon lost diabled state at client.
Need sedn some unknown data in SendInitialPacketsBeforeAddToMap or SendInitialPacketsAfterAddToMap for restore it state.
2009-03-01 10:21:47 +03:00
VladimirMangos
ed6123c804
[7363] Propertly set cooldown at server side for category spells at cooldown event send to client.
...
Also support item dependent cooldown set propetly at cooldown event send to client.
Last will used in follow potion cooldown delay in combat patch.
2009-03-01 10:14:45 +03:00
VladimirMangos
2b9eeb782e
[7362] Use IN_MILISECONDS where appropriate, other cleanups.
2009-03-01 05:22:56 +03:00
VladimirMangos
ce8bd43bef
Merge commit 'origin/master' into 310 (at [7360])
2009-03-01 01:18:20 +03:00
tomrus88
aedf3dd722
Updated spell auras/effects enum
2009-02-28 19:11:04 +03:00
tomrus88
ffca6c8c57
Fixed some opcodes
2009-02-27 19:25:11 +03:00
VladimirMangos
1fca6de6f3
[7349] Implement spell cast depenences from area/quest.aura state store in new table spell_area.
...
* It allow store requirenments: area, active or rewarded quest (until possible another quest not rewarded),
aura present at character, character race/gender.
* Listed spell can marked as auto-casted when fit requirents. In this case spell requirements checked at
zone/subzone update (and then resurraction also), quest start/reward, dummy aura apply.
* Old hardcoded lines for similar check removed from sources and required DB support for work now.
2009-02-27 11:15:36 +03:00
VladimirMangos
ab7b358d44
[7321] Remove frozen aura state at aura remove only if not other frozen auras.
2009-02-22 00:00:25 +03:00
Tassader2
011bd0c1de
[7317] Fixed units not considered frozen when stunned from frost auras.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-21 11:22:50 +01:00
VladimirMangos
a47330e3e4
Update spell auras list for 3.0.9
2009-02-19 19:11:18 +03:00
Maxxie
1fa4ecf482
[7294] Fix: Spell 59752 now removes all movement impairing effects and all effects which cause loss of control.
...
(cherry picked from commit 2a2167021c751201c6884c336cfe31b881357bef)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-18 01:18:22 +03:00
DiSlord
12e27aecee
Fix work for some auras if used mod set duration to 0
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-17 20:36:18 +03:00
GriffonHeart
1fb8a52032
Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-15 12:00:47 +03:00
VladimirMangos
2817f301ad
[7281] Cleanup in unused and incorrectly marked as unused aura names and comments.
2009-02-15 09:34:35 +03:00
DiSlord
56e97b4d9e
[7280] Implement 287 SPELL_AURA_DEFLECT_SPELLS aura
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-14 19:08:06 +03:00
domingo
6b715047a7
[7274] Fixed work of warrior talent 12296.
...
* Proper tick in 3 sec
* Replace amount calculation hack by more proved formula.
* Ignore in combat state.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-13 08:59:26 +03:00
freghar
f04ec2b98b
[7272] Trailing whitespace cleaning
...
The "please use git diff --check before commit" thing.
Signed-off-by: freghar <compmancz@gmail.com>
2009-02-12 15:14:40 +01:00
VladimirMangos
fb6fe325bf
[7258] Fixed access to field of possible deleted periodic aura.
2009-02-10 06:14:52 +03:00
VladimirMangos
5e2553ff7e
[7239] Support multiply items loot and not normal loot items in Player::AutoStoreLoot.
...
Use this function in more cases and simplify and fix some related code.
2009-02-07 10:34:11 +03:00
VladimirMangos
7d63f4ce02
Fixes and cleanups in loot code.
...
* Move not-normal loot tables generation in single place (Loot::FillLoot function) for group and non group case.
* Simplify LootView code.
2009-02-07 10:34:02 +03:00
KiriX
0f8c1ccd58
[7222] Revert "[7206] Not set creep walking mode for recial stealth ability 58984."
...
This reverts commit a261afd5f08ef9773d0af83b4286b19d4172a4ae.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-02 23:43:30 +03:00