Commit graph

1656 commits

Author SHA1 Message Date
DonTomika
6e87802fa5 [7775] Implement duel related achievement criteria
* ACHIEVEMENT_CRITERIA_TYPE_WIN_DUEL
* ACHIEVEMENT_CRITERIA_TYPE_LOSE_DUEL

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 14:53:18 +04:00
daveh
6c74fc95df [7774] Fix pet quest giver doesn't update status.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 14:32:27 +04:00
DonTomika
f60df52dfc [7773] Implement some statistics only achievement criteria
* ACHIEVEMENT_CRITERIA_TYPE_QUEST_ABANDONED
* ACHIEVEMENT_CRITERIA_TYPE_FLIGHT_PATHS_TAKEN
* ACHIEVEMENT_CRITERIA_TYPE_ACCEPTED_SUMMONINGS

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 14:27:41 +04:00
DonTomika
220006d176 [7772] Implement ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_GOLD_VALUE_OWNED
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 13:57:04 +04:00
VladimirMangos
bda5da94c5 [7771] Replace different ways access to aura type in Unit::AddAura by more safe (after call ApplyModifier) local variable. 2009-05-05 12:47:01 +04:00
VladimirMangos
eb9bd0ec7e [7770] Prevent access to possible deleted aura's spell proto in Aura::HandleModStealth. 2009-05-05 12:42:35 +04:00
VladimirMangos
565afd4d57 [7769] Prevent access to deleted aura data in Aura::HandleModMechanicImmunity 2009-05-05 11:58:39 +04:00
VladimirMangos
881cceff8c [7768] Add check to prevent set homebind to instance map. 2009-05-05 10:38:15 +04:00
evilstar
c0bb0fd09d [7767] Implement item 43824 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 08:47:23 +04:00
VladimirMangos
042b520fad [7766] Add hack code for better detection some area 4395 subzones. 2009-05-05 08:43:12 +04:00
VladimirMangos
b446585be4 [7765] Fixed build in proper way in case selected Debug_NoPCH windows configuration
* Build mangosd fiels in proper dir
* Use Win32 getrevision version
* Use proper prebuild libs at script DLL linking
2009-05-05 04:39:35 +04:00
freghar
2ebde81733 [7764] Top-level .gitignore cleanup
Signed-off-by: freghar <compmancz@gmail.com>
2009-05-05 00:11:21 +02:00
freghar
9948259282 [7763] Added tags file to top-level .gitignore
Signed-off-by: freghar <compmancz@gmail.com>
2009-05-04 21:55:55 +02:00
AlexDereka
aebf74ec45 [7762] Fixed build in *nix. 2009-05-04 21:58:29 +04:00
zhenya
20ffd7f421 [7761] GuildBankTabPrice vector is replaced by an array.
Arrays are significantly faster.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-04 19:47:14 +04:00
AlexDereka
c9eb417515 [7760] Fixed my typo in prev commit. 2009-05-04 16:37:47 +04:00
AlexDereka
c81c5ab961 [7759] Fixed [7758] commit. 2009-05-04 16:17:52 +04:00
zhenya
b1bfdddeb2 [7758] Fixed gain reputation and xp reward between group mates in differents instances
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-04 14:45:23 +04:00
VladimirMangos
15d449c161 [7757] Not remove auras required for casting warrior enrage aura state at this state lost. 2009-05-04 14:16:08 +04:00
AlexDereka
255ed61a86 [7756] Fixed memory leak in PoolHandler::Initialize(). 2009-05-04 12:23:13 +04:00
megamage
ebafe6a7b9 [7755] Allow mini-pet has been questgivers or gossip holders.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-04 12:07:04 +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
DonTomika
d351c09f9d [7753] Implement ACHIEVEMENT_CRITERIA_TYPE_NUMBER_OF_TALENT_RESETS.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-04 06:42:30 +04:00
Az@zel
53967893be [7752] Correctly restore autocast state for spells at spell loading.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-04 05:42:19 +04:00
VladimirMangos
4561dec27e [7751] Use more safe code to prevent DB errors at pet spells save and avoid unneded data save. 2009-05-04 04:55:55 +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
unknown
75c98dd2b1 [7749] Fix line ends in file 2009-05-04 00:14:41 +04:00
AlexDereka
0d81883a5f [7748] Better use LANG_PLAYER_NOT_FOUND message in Modify Gender. 2009-05-03 23:34:56 +04:00
Foks
74f265a8de [7747] Fixed crash in ModifyGender command.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-03 23:26:14 +04:00
AlexDereka
da9f94637a [7746] Add const attribute to Player::SendInitialActionButtons. 2009-05-03 22:45:14 +04:00
AlexDereka
27fabf7ace [7745] Fixed gcc warnings. 2009-05-03 20:25:27 +04:00
Ambal
8d3585f5ee [7744] Use Precompiled Headers for fast build in win.
Work in "Visual Studio 8 2005" and "Visual Studio 9 2008".
For Compile without precompiled headers use Debug_NoPCH configuration.

Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-03 18:07:55 +04:00
ApoC
434cbc2150 [7743] Coding style fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-02 00:38:14 +02:00
ApoC
8168b0f2eb [7742] Fix my prev. commit
Use already defined method for getting charmer or owner player or player itself.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-02 00:27:47 +02:00
ApoC
8e39ea0151 [7741] Allow pets/charmed NPCs to count master's spell cast conditions in quests.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-02 00:15:59 +02:00
VladimirMangos
8e2a664fad [7740] More correct flags in trainer list data for profession ranks.
Note: this is not fix problem with gren show recently learned non-first rank of primary profession.

Thanks to Seizerkiller for help in reseach.
2009-05-01 04:02:10 +04:00
NoFantasy
baa3e199d2 [7739] Implement boss spell 38441.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-30 21:25:35 +04:00
VladimirMangos
c05a531281 [7738] Use proper indent instead if() for() style. 2009-04-30 04:26:01 +04:00
Trazom
dba73b611d [7737] Implement ACHIEVEMENT_CRITERIA_TYPE_LOOT_TYPE.
Zone dependent achievement criteria required DB support.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-30 03:07:05 +04:00
freghar
b22b603c0e [7736] Do not cast Deserter debuff at gamemaster
Signed-off-by: freghar <compmancz@gmail.com>
2009-04-29 22:42:59 +02:00
DiSlord
57fce910e0 [7735] Not apply enchant mods from broken item (but allow set it duration)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-30 00:38:00 +04:00
Fog
30992d0ac3 [7734] Implement spell 58204 and 58205 used in DK introduction quest.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-29 23:28:52 +04:00
AlexDereka
6192fcbd0c [7733] Fixed compile error on VC2005ee. 2009-04-29 15:30:19 +04:00
AlexDereka
cb72302a8a [7732] Fixed compile warnings. 2009-04-29 05:17:02 +04:00
VladimirMangos
512c015dc2 [7731] Some code cleanups, warrning fixes. 2009-04-29 04:03:59 +04:00
zhenya
8144f30199 [7730] Some optimizantion and code style.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +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
VladimirMangos
5b9e46edea [7728] Use correct loot_type values in data sent to client instead long time existed hacks. Code cleanups.
Thanks to Seizerkiller and TOM_RUS for help in reseach.
2009-04-28 01:43:16 +04:00
AlexDereka
9ab8c6edd3 [7727] Use more simple code for element erase. 2009-04-28 00:00:19 +04:00
AlexDereka
995988039b [7726] Fixed memory leak in InstanceSaveMgr. 2009-04-27 21:57:11 +04:00