Commit graph

500 commits

Author SHA1 Message Date
bloutix
f5c4fe86e8 Correctly select GM level in case heroic class.
Signed-off-by: bloutix <bloutix@getmangos.com>

Move heroic class starting level to mangos.conf

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-14 23:14:17 +03:00
VladimirMangos
c798318b7b Replace hardcoded client(100) and server side (255) level limtation values by defines. 2008-12-14 22:18:52 +03:00
VladimirMangos
09e8ea2ae6 Update effect 155 name -> SPELL_EFFECT_TITAN_GRIP 2008-12-14 22:18:00 +03:00
VladimirMangos
cb4d97ee1d Some fields comments for ChrClass and ChrRace. Also optimize code (set MAX_RACES to max_player_race+1).
Note: MAX_* moved out of enum. This is not nice include value _not_ belong to enum values into enum.
Maybe in C this not make sense (enum range = int anyway) but in C++ enum values checked at assigning/etc.
2008-12-14 20:51:27 +03:00
TERRANZ
558909614a Implement one hand wielding two-hand weapon ability (warrior talent 46917)
Signed-off-by: TERRANZ <TERRANZ@mangos.ru>

Small slot checking fixes and make dual wielding dependent from related ability.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-14 19:29:31 +03:00
tomrus88
4f55ef857a Merge branch 'master' into 303
Conflicts:
	src/game/MovementHandler.cpp
2008-12-13 23:16:44 +03:00
arrai
d97a8d33b9 [6905] Fixed items with both healing and energizing effects
Store fall information also at MSG_MOVE_FALL_LAND
2008-12-13 19:05:42 +01:00
derex
fc5e12c828 [6904] Fix possible crash by client sending several times CMSG_PLAYER_LOGIN. 2008-12-13 19:07:36 +02:00
DiSlord
fcc013071e * Some work under Achievement (add names, enums, comments)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-13 01:29:23 +03:00
tomrus88
e848a52da9 Character re-customization fix 2008-12-13 01:13:19 +03:00
hunuza
d9de56ed2c [6903] Avoid DB access on player invite to channel. 2008-12-12 22:51:28 +01:00
Neo2003
3b753b830b Allow creature equipments to use item.dbc entries since it's enough
This will no more allow custom items to be equiped by creatures.
Btw, since it uses client data to display them, it would not work.

Signed-off-by: Neo2003 <neo.2003@hotmail.fr>
2008-12-12 20:26:27 +01:00
tomrus88
5d4d7292b9 Merge branch 'master' into 303
Conflicts:
	src/game/Player.h
2008-12-12 18:14:49 +03:00
tomrus88
857e7ae7ee Updated opcodes enum. 2008-12-12 18:12:28 +03:00
Wyk3d
d8be07eabc [6902] Fixed a bug in GetScriptId related to missing script names. 2008-12-12 15:47:16 +02:00
arrai
027a3ab0bc [6901] Fixed uninitialized variables 2008-12-12 14:41:27 +01:00
VladimirMangos
e3c093a3ab [6900] Remove unneed include dependence. 2008-12-12 16:37:31 +03:00
hunuza
0f12997ef1 [6899] Pass const reference instead of value for some strings in some functions.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-12 14:17:37 +01:00
VladimirMangos
05eee70e50 Update player_classlevelstats table for new levels and class.
Data for warlocks 71-80 have only near to correct data instead exactly correct values.
2008-12-12 05:26:38 +03:00
VladimirMangos
d386a67d27 [6898] Prevent processing incoming packates for closed connection. 2008-12-12 02:00:47 +03:00
tomrus88
0f7077546f Implemented character customize future.
Not tested, but should work...
2008-12-12 01:44:52 +03:00
hunuza
ac2748a141 [6897] Avoid DB access on uninvite from group.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-11 21:37:24 +01:00
arrai
bc816b70fc [6896] Fixed fall damage after teleports 2008-12-11 17:19:32 +01:00
tomrus88
db64bf6b80 Merge branch 'master' into 303
I hope it merged correctly...

Conflicts:
	contrib/extractor/ad.exe
	src/game/MovementHandler.cpp
	src/game/Player.h
2008-12-11 12:22:37 +03:00
VladimirMangos
54207e753c [6895] Fix unexpected change backported in [6889]. Rebuild ad.exe with recent changes. 2008-12-10 19:50:33 +03:00
VladimirMangos
467090e817 [6894] Backport file name preparing code in VMapManager from 303 branch that fix also possible memory corruption. 2008-12-10 19:31:30 +03:00
VladimirMangos
cd44cfe79d Drop commented code in VMapManager.cpp. 2008-12-10 19:20:29 +03:00
VladimirMangos
477ba70782 [6893] Fixes in waypoint movement code.
Initilize variables and reset last movment timer for correct waypoints work at reset movement.
2008-12-10 18:53:57 +03:00
hunuza
2e2055c469 [6892] Some small code clean ups and optimisations.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-10 16:42:56 +01:00
arrai
9f8e51ff41 [6891] small performance fix for previous commit 2008-12-10 16:02:26 +01:00
arrai
69e9ab315f [6890] Implemented more correct way of calculating fall damage by using fall distance and not fall time. Thanks to DasMy for finding an appropriate formula 2008-12-10 15:09:03 +01:00
tomrus88
b036c2b4ea Merge branch 'master' into 303
Conflicts:
	contrib/extractor/System.cpp
	src/game/MovementHandler.cpp
	src/game/Object.cpp
	src/game/Player.cpp
	src/game/Player.h
	src/game/Spell.cpp
	src/game/Unit.cpp
	src/game/Unit.h
	src/game/WorldSession.cpp
	src/game/debugcmds.cpp
2008-12-09 14:57:32 +03:00
VladimirMangos
3da9f3f4cc [6889] Backport some not client version specific changes and fixes from 303 branch. 2008-12-09 14:08:29 +03:00
VladimirMangos
82cbd9152d Fixed possible crash in Aura::HandleModPossessPet
Also small code cleanup.
2008-12-09 11:47:49 +03:00
VladimirMangos
6cee03bae0 Fixed build after merge. 2008-12-09 08:28:42 +03:00
tomrus88
ef69f6b80c Merge branch 'master' into 303
Conflicts:
	src/game/Player.cpp
	src/shared/revision_nr.h
2008-12-09 00:32:47 +03:00
hunuza
a94b918ffc [6883] Avoid DB access on deleting guild member. 2008-12-09 00:28:31 +03:00
hunuza
c7aef1a8c8 [6882] Make corpse erase async. 2008-12-09 00:28:30 +03:00
GalaxyMan
99ccdd51b0 [6881] Fix typo in log string.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-09 00:28:30 +03:00
DasBlub
26d1574eb1 [6880] fixed spell 26275 for game object 180797
Signed-off-by: arrai <array.of.intellect@gmail.com>
2008-12-09 00:28:29 +03:00
VladimirMangos
52da5abf4d [6879] Not apply casting time spell bonuses mods to creature (non-pets) casted spells with 0 cast time. 2008-12-09 00:28:28 +03:00
thenecromancer
fdd4fcd48f Set correct base damage for spell 37674
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-09 00:28:28 +03:00
Neo2003
8ae33af8f6 [6878] Fixed a typo in VC for ACE_Wrappers
Signed-off-by: freghar <compmancz@gmail.com>
(cherry picked from commit d94f03b0aeec431ec6cee4f469d45d3209434fe7)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-09 00:28:27 +03:00
megamage
ca5278ba6e [6877] Fix Prayer of Mending. Use original caster's healing bonus. 2008-12-09 00:28:27 +03:00
DiSlord
1ff2b7fc8b [6876] * Not drop charge for 1120 and ranks (fix SPELL_AURA_CHANNEL_DEATH_ITEM aura work) 2008-12-09 00:28:26 +03:00
DiSlord
b6a5767902 [6875] Skip utf8 header (if exist) for mangosd.conf file 2008-12-09 00:28:25 +03:00
DiSlord
c78b5644c7 [6874] * Not remove spell mods for not finished spells
* Ignore self miss in drop combopoints (problems vs 5171 and ranks still exist)
* Allow cast spell on immune if spell can removeit by dispell
2008-12-09 00:28:25 +03:00
DiSlord
9b842b6fdc Work under spell mods
* Add support > 64 bit spellFamily mask
    * Remove not used fields in SpellModifier
    * Remove not used (and not correct work vs charges) GetTotalFlatMods, GetTotalPctMods
    * Use DBC based data for spell_affect
    * More better work SPELL_AURA_ADD_TARGET_TRIGGER aura

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-08 23:22:39 +03:00
DiSlord
916bd178a2 * Fixed some comments in code
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-08 23:19:57 +03:00
KAPATEJIb
480a935216 [6888] Add to character.sql not added changes from 2008_11_12_01_character_character_aura.sql
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-08 11:39:18 +03:00