VladimirMangos
333395f90a
[7096] Fixed unexpected expirience gain in starting zones for expansion 1 races.
2009-01-17 19:39:50 +03:00
VladimirMangos
633cad5a56
[7089] Implement ITEM_ENCHANTMENT_TYPE_USE_SPELL support.
...
This allow cast spells at item used from engineering recipes 54999, 54736, 54998, 55002, 55016, 54793.
2009-01-15 03:08:45 +03:00
VladimirMangos
c0824b35c6
Fix item Unk0 field type as expected signed and related log output.
...
Also restore item class check at server loading but not subclass check. Problems only with subclass check case.
2009-01-15 03:08:25 +03:00
VladimirMangos
c7a5537bac
[7087] Use signed type as expected for item material field. This also fix -1 value output for it.
...
Also disable Class/Subclass item_template check by dbc data for avoid unexpected log spam (dbc have some wrong values for this fields).
2009-01-15 00:12:48 +03:00
VladimirMangos
d53b43024a
[7080] More item_template data checks at loading.
...
Not all checks can be 100% correct result possible. Plerase, report proved wrong output and this checks part will disabled.
2009-01-14 00:29:32 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
DiSlord
1f4b00a848
[7011] Add check Aura Spell req in Spell::CanCast
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-03 03:07:06 +03:00
arrai
01e4f069e2
[7000] Fixed creature target selection in case all possible targets have a low priority
2009-01-02 12:25:17 +01:00
hectolight
802b35fbb8
[6999] Implemented ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED_ON_LOOT and ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED_ON_LOOT
...
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 00:05:50 +01:00
GriffonHeart
2441c2a69f
[6997] Fixed: In 3.0.3 spell data have area group id instead area id.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-01 22:43:08 +03:00
freghar
d75812749f
[6922] Whitespace and newline fixes
...
This should fix the GCC "no newline at end of file" warnings.
Signed-off-by: freghar <compmancz@gmail.com>
2008-12-22 12:47:33 +03:00
tomrus88
4c258e20a1
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
2008-12-19 17:30:26 +03:00
Wyk3d
5ba3796480
[6920] Cleaned up DatabaseImpl and added support for async queries with 3 parameters passed to the callback.
2008-12-19 15:55:38 +02:00
tomrus88
71b1065c8b
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Chat.h
src/game/Player.h
src/game/World.h
src/game/debugcmds.cpp
2008-12-16 07:30:23 +03:00
ApoC
a5331ab517
[6910] Implemented rewritten arenas. Original author w12x@getmangos.com
...
Many thanks also to:
Balrok@github.com for long time updating.
Triply@github.com for great work in rewriting process.
All who I forget to name.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:17:24 +01:00
VladimirMangos
35f54d365d
Replace hardcoded client(100) and server side (255) level limtation values by defines.
...
(cherry picked from commit 389a1784e288f11587067d3a6d4b70cce9214cb9)
Conflicts:
src/game/Player.cpp
src/game/World.cpp
src/shared/Database/DBCStructure.h
2008-12-14 23:52:32 +03:00
VladimirMangos
5113af643e
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.
(cherry picked from commit f157c4e3d5e18878c7ab0dae383acb7704c3ed90)
2008-12-14 23:27:57 +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
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
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
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
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
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
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
tomrus88
a69bc59f1d
Fixed some typos, updated areaflags enum
2008-12-04 22:56:06 +03:00
tomrus88
700d3cf609
Some work on Runic Power and Milling Spell Effect
2008-11-30 13:53:33 +03:00
VladimirMangos
8dfbcf7ee6
[6861] Add and use function for more fast way to get areflag by area id.
2008-11-30 05:46:56 +03:00
VladimirMangos
bd3eca6904
Add and use function for more fast way to get areflag by area id.
2008-11-30 05:17:34 +03:00
arrai
82898a7922
Added structure for WorldMapOverlay.dbc
2008-11-28 22:35:27 +01:00
tomrus88
91984f83b5
Properly resolved merge conflict
2008-11-28 18:34:31 +03: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
c0c0c9c776
barber shop race/gender checks, fly check for map 571
2008-11-19 01:00:41 +03:00
arrai
56c8d2549c
Implemented ACHIEVEMENT_CRITERIA_TYPE_VISIT_BARBER_SHOP
2008-11-18 19:17:51 +01:00
tomrus88
427fca695e
Compile fix
2008-11-16 18:13:33 +03:00
tomrus88
e738198eb4
Merge branch 'master' into 303
...
Conflicts:
src/game/ItemPrototype.h
src/game/ObjectMgr.cpp
src/shared/Database/SQLStorage.cpp
2008-11-16 17:20:43 +03:00
Wyk3d
766654c85d
[6828] Added script name indexing for creature, gameobject, item, areatrigger and instance scripts.
...
* loaded all distinct script names into one vector at server startup
* added custom loaders to convert the script names to indices
* converted all the script lookup functions to use the index instead of the name
2008-11-16 03:20:16 +02:00
Wyk3d
074bd3a08f
[6827] Added an interface for defining custom SQLStorage loaders.
2008-11-16 01:02:13 +02:00
tomrus88
204b61c220
Added empty vehicle class, vehicle*.dbc struct's
2008-11-11 00:05:00 +03:00
tomrus88
96f2b1d314
Load SummonProperties.dbc, data not used yet
2008-11-10 00:58:14 +03:00
VladimirMangos
755717e8ac
[6813] Allow have team dependent graveyards at entrance map for instances.
...
Entrance map graveyards selected by same way as local (by distance from entrance)
Until DB support will work in old way base at current DB data.
2008-11-09 17:02:58 +03:00
tomrus88
90b0c47592
uint->int
2008-11-09 11:39:01 +03:00
VladimirMangos
d2be8dbe8f
Implement expansion class check and unique class limit.
2008-11-09 04:17:13 +03:00
arrai
73e595ef87
Implemented some spell achievements
2008-11-09 01:31:12 +01:00
tomrus88
f6ff7b5a45
Updated some enums
2008-11-09 01:43:22 +03:00
tomrus88
7974d1cb94
Merge branch 'master' into 303
...
Conflicts:
src/game/Player.cpp
src/game/Spell.cpp
2008-11-08 16:52:28 +03:00
VladimirMangos
5222f49820
Use (if available) TR1 unordered_map instead hash_map at Unix/Linux (in GCC 4.0.0 and later) and Windows (VC90 and later)
2008-11-08 11:44:13 +03:00