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
74fdc7bee7
[7290] Command .npc setdeathstate on/off.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-17 13:33:41 +03:00
GriffonHeart
25a57cca18
[7289] Make quest related check work in case absent English localization in DB.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-17 11:26:26 +03:00
NoFantasy
16cb8a5eda
[7288] Implement CreatureAI::JustReachedHome scripting call for home movement end point event.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 19:14:44 +03:00
VladimirMangos
e7fc5e390b
Speedup check in Player::HasQuestForItem and Player::HasQuestForGO, related cleanups.
2009-02-16 19:02:55 +03:00
NoFantasy
58f2c540bf
[7287] Remove wrong implementation for spell 37573 dummy effect. It better implement in scripts anyway.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 18:05:12 +03:00
VladimirMangos
d47ab7e032
[7286] Remove unused local variable.
2009-02-16 17:52:07 +03:00
zhenya
8dc3586889
[7285] More code cleanups in static data structures use.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 17:10:24 +03:00
VladimirMangos
b30d1e65a0
Fixed crash at out of range access to array data in battleground code.
2009-02-16 17:06:30 +03:00
VladimirMangos
f75f112bfc
[7284] Avoid 2 times skill value request.
2009-02-15 23:50:54 +03:00
zhenya
22656b33e3
[7283] Use map for trainer spells for fast find data by spell id.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-15 22:49:12 +03:00
VladimirMangos
02b4b2f0b1
Small BattleGroundQueue::RemovePlayer cleanup.
2009-02-15 22:46:15 +03:00
zhenya
cdfee0fdfc
[7282] Store guilds in map for fast search by id, some other guild/arenateam related cleanups.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-15 14:03:29 +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
DiSlord
b049b4ee54
Fix chance calc added by SPELL_AURA_MOD_COMBAT_RESULT_CHANCE
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-14 19:07:22 +03:00
Lightguard
8d03a850c6
[7279] Allow equipped items loading at relogin to arena map.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-14 15:08:07 +03:00
NoFantasy
3b4402b88b
[7278] In case gossip flag use gossip menu instead quest menu as client expected.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-14 14:21:16 +03:00
VladimirMangos
d9c74376b3
[7277] Correctly show guild bank tab info text for author and members not only after login but also after change.
2009-02-14 14:10:49 +03:00
VladimirMangos
b052777f71
Implemented limit category check for item/gem at equip or gem inserting.
2009-02-14 12:17:04 +03:00
Triply
1eadd9b7b4
[7276] Rewrited fix for same faction arena matches
...
Added better Object-oriented calls to BattleGround::Reset()
Added more checks to CreateBattleGround() method
This commit doesn't fix anything
2009-02-13 14:47:10 +01:00
balrok
bd89568993
[7275] getbattlegroundqueueidfromlevel returns now bg-specific queueids
...
before this commit, queueids were staticaly given for
9-19,20-29,30-39... but for instance alterac valley needs
51-60,61-70,71-80.. this patch allows this,
if you change the minlevel in battleground_template you also could make
23-32,33-42.. levelranges
not that we always use 10lvl-steps.. this is actually hardcoded..
2009-02-13 10:32:21 +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
NoFantasy
93328cc861
[7273] Fix show 0-level quests in gossip quest list. Another case.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-13 00:22:20 +03:00
tomrus88
1306be5c95
Fixed arena related client crash
2009-02-12 18:04:03 +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
rilex
d952b7ebcf
[7271] Implement mangosd stop and pause if it work as Windows service.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-12 15:13:17 +03:00
VladimirMangos
671a942d14
[7270] Apply mangos code style.
2009-02-12 15:05:14 +03:00
Triply
7c67848b48
Fixed arena matches for same faction (players were all in one group - and they couldn't attack each other)
2009-02-12 10:48:07 +01:00
balrok
b75157946c
[7269] Use enum type for battleground queue type ids, and related cleanups.
...
* renamed a variable to make the content of it more clear: type->arenaslot
* renamed BattleGroundQueueTypeId-variables to bgQueueTypeId
just to make it easier reading the code (cause there existed
3 different names for this..)
* renamed GetBattleGroundQueueId to GetBattleGroundQueueTypeId
again this is just for better understanding
* Renamed [GS]etQueueType and m_Queue_type
* Renamed to [GS]etQueueId and m_QueueId
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-12 09:00:28 +03:00
NoFantasy
109813be29
[7268] Fix show 0-level quests in gossip quest list.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-12 06:00:10 +03:00
VladimirMangos
50b6bfd7f1
[7267] Drop auctionhouse.location.
2009-02-12 04:54:15 +03:00
VladimirMangos
2d242c86a8
[7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
...
Note: `auctionhouse`.`location` field not used after this. But not removed to simplify backporting to mangos-0.12.
2009-02-12 04:52:02 +03:00
VladimirMangos
4fd34bf101
More auction related code refactoring,
2009-02-12 04:50:30 +03:00
VladimirMangos
7c3ab4b453
Move auction related code from ObjectMgr to AuctionHouseMgr.
2009-02-12 04:50:29 +03:00
VladimirMangos
ef1c243187
Rename AuctionHouse.cpp -> AuctionHouseHandler.cpp AuctionHouseObject.h ->AuctionHouseMgr.h
2009-02-12 04:50:28 +03:00
DiSlord
bb7d68347f
[7265] Move feral bonus get to struct ItemPrototype
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-11 02:04:20 +03:00
DiSlord
4792d20b4e
[7264] Use AP fields as signed integer
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-11 00:09:31 +03:00
DiSlord
13c5d3a33c
Fix apply SPELLMOD_MULTIPLE_VALUE for SPELL_AURA_MANA_SHIELD drain
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-10 23:58:32 +03:00
DiSlord
14be347015
[7263] Fixed AP calculation in some cases
...
Fixed use AP dynamic mods (bonuses from stats)
Apply ITEM_MOD_ATTACK_POWER for ranged AP
Implement feral AP from weapon dps for druids
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-10 21:24:45 +03:00
VladimirMangos
edfa757020
[7262] Check security level of target for .die command for case when this command have lesser security level from default setting.
...
Original patch provided by NewAge.
2009-02-10 12:12:13 +03:00
VladimirMangos
f58d1a179a
[7261] Better check DB corrdinates for bg entry at player loading.
2009-02-10 10:14:31 +03:00
VladimirMangos
09bf9260cb
[7260] Fixed access to uninitilized fields in FleeingMovementGenerator and Creature::IsOutOfThreatArea.
2009-02-10 06:22:52 +03:00
VladimirMangos
63b8d1f537
[7259] Prevent memory lost at pet spell reset.
2009-02-10 06:15:05 +03:00
VladimirMangos
fb6fe325bf
[7258] Fixed access to field of possible deleted periodic aura.
2009-02-10 06:14:52 +03:00
VladimirMangos
6bacf2239f
[7257] Fixed unexpected errors in log and non-freed memory at battleground system shutdown.
2009-02-10 06:13:18 +03:00
NoFantasy
0e37851a11
[7256] Fixed (lot better at least) quest XP calculation from money rewarded value at max level.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-10 03:40:44 +03:00
GriffonHeart
75121a5823
[7255] Allows saving characters in Battle Grounds.
...
* Now player can join to BG after logout during 5 minutes, if BG in progress.
* All players after server crash or restart should appear at the battlemaster
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-09 16:15:29 +03:00
VladimirMangos
8af53064eb
[7254] Cleanups and batter checking in homebind/bgEntryPoint code.
...
* Load homebind data early in Player::LoadFromDB and use instead initital race points
in cases need some safe point if current coordinate broken by some reason.
* Store BG entry point in to WorldLocation and simplify calls.
* Set bg entry point at GM teleports to battleground for correct
auto-recall position at battleground end.
2009-02-09 15:50:40 +03:00