Commit graph

111 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
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
e848a52da9 Character re-customization fix 2008-12-13 01:13:19 +03: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
arrai
027a3ab0bc [6901] Fixed uninitialized variables 2008-12-12 14:41:27 +01: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
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
VladimirMangos
3da9f3f4cc [6889] Backport some not client version specific changes and fixes from 303 branch. 2008-12-09 14:08:29 +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
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
balrok
2e08a63da7 [6884] Replaced iterator++ with ++iterator in for-loop-headers
i used this script
for i in ls *.[ch]*; do cat $i | sed -r 's/(.*for.*iterator.*;\
    *)([a-z0-9\_\*]+)\ *\+\+(.*)/\1++\2\3/' > /tmp/mangos/$i; done
for i in ls *.[ch]*; do cp /tmp/mangos/$i $i; done

and rechecked it with my eyes, if everything is right
i took only for-loops cause they can be gathered easier with a script

Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-07 19:49:45 +01:00
tomrus88
bfe899b126 Some more map extractor fixes. Patch provided by andstan.
Coding style fix.
Removed hack from lava detection code.
Please test water/lava detection. Should work fine now.
2008-12-06 19:19:46 +03:00
arrai
b68b0acb29 Fixed loosing almost all auras at first melee attack after login by partially reverting ce8bce685e4571cb8060a5c75d706570f98c28ca 2008-12-05 13:08:23 +01:00
tomrus88
a2503162fc Fixed possible crash 2008-12-03 00:27:33 +03:00
tomrus88
fa13127cf8 Rune cooldowns should work now :) 2008-12-02 22:23:28 +03:00
tomrus88
84f43e60ab Fixed crash 2008-12-02 15:20:10 +03:00
tomrus88
b37ccbd08b Rune cooldowns, still bugged for some unknown reason :( 2008-12-01 19:31:47 +03:00
tomrus88
518d7f6297 Merge branch 'master' into 303 2008-12-01 08:21:10 +03:00
tomrus88
60b8f30898 Rune system fix, dk crash fix 2008-12-01 08:19:26 +03:00
hunuza
818c378854 [6868] Don't load data field from DB to save money or arena team id.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-11-30 18:31:17 +01:00
ApoC
571221148a [6867] Optimized working with DB in Guild code. No need of parsing/saving players data fields anymore.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-30 17:31:44 +01:00
tomrus88
0e0d721292 AuraConvertRune, EffectActivateRune, dunno if it's correct way to do that... 2008-11-30 16:16:00 +03:00
tomrus88
54c1585cdf Small fix 2008-11-30 14:59:35 +03:00
tomrus88
ee7f7a0a08 Merge branch 'master' into 303
Conflicts:
	src/game/Player.cpp
	src/mangosd/mangosd.conf.dist.in
2008-11-30 14:05:56 +03:00
tomrus88
700d3cf609 Some work on Runic Power and Milling Spell Effect 2008-11-30 13:53:33 +03:00
hunuza
e19433fa73 [6863] Arena team related clean ups and adding parts of w12x's arena patch. 2008-11-30 11:41:16 +01:00
dythzer
7ea5f922ea [6862] Some additional mangosd.conf options for player startup and gameplay customizing.
Signed-off-by: dythzer <micke223@gmail.com>

Some implementations rewrited. And suggested option names changed.
Also now gm not allowed logout instant in case fight/duel to prevent unexpected death.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-30 10:21:10 +03:00
arrai
333146baaf Implemented ACHIEVEMENT_CRITERIA_TYPE_EXPLORE_AREA 2008-11-28 23:51:55 +01:00
tomrus88
93cf13acec Merge branch 'master' into 303
Conflicts:
	src/shared/Database/DBCStores.cpp
	src/shared/Database/DBCfmt.cpp
2008-11-28 07:20:02 +03:00
VladimirMangos
9fc7dd9ead [6853] [2008_11_27_01_mangos_playercreateinfo_item.sql] Use DBC data for creating initial character items.
Thanks to WCell team for DBC structure research.
`playercreateinfo_item` content removed from mangos.sql and table can be used now only for custom additional initial items.
2008-11-28 02:20:02 +03:00
tomrus88
943963df7e Added vehicle*.dbc 2008-11-26 19:47:07 +03:00
tomrus88
af6acab8f8 Merge branch 'master' into 303
Conflicts:
	src/game/Creature.cpp
2008-11-26 19:44:03 +03:00
tomrus88
5fae2418ab Misc fixes 2008-11-23 16:18:14 +03:00
SeT
c978b80be2 [6844] Daily quest fixes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-23 12:34:34 +03:00
tomrus88
d869f3b5ea Changed some BG constants 2008-11-22 22:45:39 +03:00
tomrus88
6224f95fd5 Merge branch 'master' into 303
Conflicts:
	src/game/ObjectMgr.cpp
2008-11-22 17:23:44 +03:00
tomrus88
5b5e266c17 Misc fixes 2008-11-22 09:04:10 +03:00
arrai
600a596796 Fixed titles, PLAYER__FIELD_KNOWN_TITLES is now 128 bits long 2008-11-21 20:09:11 +01:00
hunuza
809bd7392f Avoid sending some unnecessary group updates. 2008-11-21 18:07:05 +01:00
tomrus88
8e32c8ca76 Speedup map checks 2008-11-19 21:55:19 +03:00
arrai
b9e695b727 Implemented ACHIEVEMENT_CRITERIA_TYPE_GAIN_EXALTED_REPUTATION 2008-11-19 19:56:49 +01:00
arrai
4f559eb7e6 Implemented ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION 2008-11-19 19:56:48 +01:00
tomrus88
c0c0c9c776 barber shop race/gender checks, fly check for map 571 2008-11-19 01:00:41 +03:00
tomrus88
397efd4fac Merge branch 'master' into 303
Conflicts:
	src/game/SpellEffects.cpp
2008-11-18 18:08:58 +03:00
hunuza
ac00eee418 Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap() 2008-11-17 17:24:53 +01:00
tomrus88
dcb39d1512 Cleanup 2008-11-16 21:17:56 +03:00