megamage
a14ceffcd1
[7270] Apply mangos code style. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-13 20:01:20 -06:00
megamage
8eb1f455a1
[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
Author: balrok
--HG--
branch : trunk
2009-02-13 19:56:22 -06:00
megamage
f2c663a363
[7268] Fix show 0-level quests in gossip quest list. Author: NoFantasy
...
--HG--
branch : trunk
2009-02-13 19:54:31 -06:00
megamage
8ad58b4bcc
[7267] Drop auctionhouse.location. Author: VladimirMangos
...
Add a missing file.
--HG--
branch : trunk
2009-02-13 19:53:59 -06:00
megamage
a72c0d223d
[7266] Use DBC data for auction cut/deposit percents and location (auiction house id in fact).
...
More auction related code refactoring,
Move auction related code from ObjectMgr to AuctionHouseMgr.
Author: VladimirMangos
--HG--
branch : trunk
2009-02-13 19:50:20 -06:00
megamage
6aee5fcbe7
*Merge.
...
--HG--
branch : trunk
2009-02-12 17:09:15 -06:00
QAston
c4fa6a5d54
*Allow creatures to have up to 8 spells in creature_template.
...
--HG--
branch : trunk
2009-02-11 22:59:02 +01:00
megamage
757037ce54
[7265] Move feral bonus get to struct ItemPrototype
...
Signed-off-by: DiSlord <dislord@nomail.com >
--HG--
branch : trunk
2009-02-11 11:54:16 -06:00
megamage
6e84a2f3a5
[7264] Use AP fields as signed integer
...
Signed-off-by: DiSlord <dislord@nomail.com >
--HG--
branch : trunk
2009-02-11 11:53:35 -06:00
megamage
848af42918
[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 >
--HG--
branch : trunk
2009-02-11 11:51:17 -06:00
megamage
42b98f7e57
[7262] Check security level of target for .die command for case when this command have lesser security level from default setting. Author: VladimirMangos
...
Original patch provided by NewAge.
--HG--
branch : trunk
2009-02-10 10:05:26 -06:00
megamage
5881c6b91b
[7261] Better check DB corrdinates for bg entry at player loading. By Vladimir.
...
--HG--
branch : trunk
2009-02-10 10:04:40 -06:00
megamage
31f4993264
[7260] Fixed access to uninitilized fields in FleeingMovementGenerator and Creature::IsOutOfThreatArea. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-10 10:03:39 -06:00
megamage
22855d6e79
[7259] Prevent memory lost at pet spell reset. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-10 09:57:25 -06:00
megamage
3a129a443c
[7258] Fixed access to field of possible deleted periodic aura. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-10 09:56:39 -06:00
megamage
70798207f8
[7257] Fixed unexpected errors in log and non-freed memory at battleground system shutdown. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-10 09:55:16 -06:00
megamage
452e0971eb
[7256] Fixed (lot better at least) quest XP calculation from money rewarded value at max level. Author: NoFantasy
...
--HG--
branch : trunk
2009-02-10 01:17:17 -06:00
megamage
029554d4e3
[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
Author: GriffonHeart
--HG--
branch : trunk
2009-02-10 01:16:16 -06:00
megamage
58374f87b4
[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.
Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 01:06:39 -06:00
megamage
ba7a8cc836
[7253] Check battleground status in GetSpellAllowedInLocationError for some spells for aura remove and spell casting cases. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-10 01:00:22 -06:00
megamage
fe85f52142
[7252] Move all world global broadcast string (all arena/bg related) to mangos_string.
...
PLEASE, NOT USE string world broadcasts in real code. This function _only_ for debug purposes.
Really allow with .debug bg start bg with 1 player.
Added helps for some existed .debug commands.
Author: VladimirMangos
--HG--
branch : trunk
2009-02-10 00:59:10 -06:00
megamage
7f39dbd848
*add .debug bg to allow starting a battleground with just one player it's implemented like .debug arena - so you toggle debug bg on or off By balrok
...
--HG--
branch : trunk
2009-02-10 00:39:03 -06:00
megamage
d696381f32
[7250] Use bg type ids enum insted raw values and catch some bugs in result for fixing.
...
* Replace max bg type checks by DBC valid index check
* Use in functions and fields BattlegroundTypeId type instead uint32
* Fixed wrong use bg queue ids instead bg type ids in queue update/remove function calls.
Many bg have same raw values for type id and queue id but some can be affected by this bug:
BATTLEGROUND_EY, BATTLEGROUND_SA, and all areans (with small arena/team size exceptions)
* Move Battlemaster to bg type ids map fron ObjectMgr to BatteleGroundMgr.
* Remobe redundent for header itself includes for BG headers.
* Use Auction location enum instead raw valus.
Author: VladimirMangos
--HG--
branch : trunk
2009-02-09 22:08:06 -06:00
megamage
99c8226216
[7249] Remove outdated data from spell_proc_event. Author: jorooo
...
--HG--
branch : trunk
2009-02-09 20:10:42 -06:00
megamage
b8d4c24359
[7248] Check battlemaster_entry data at loading. Code cleanups. Author: zhenya
...
--HG--
branch : trunk
2009-02-09 20:09:03 -06:00
megamage
91356d97d5
[7246] Add data from 7242_01_mangos_spell_bonus_data.sql to mangos.sql as expected.
...
Also fix outdated comment
Author: VladimirMangos
--HG--
branch : trunk
2009-02-09 20:00:06 -06:00
megamage
c5fba75cc0
[7244] Fixed affecting of positive spells critical chances by scripted critical chances. Author: pasdVn
...
--HG--
branch : trunk
2009-02-09 19:59:14 -06:00
megamage
fd83d371ba
[7243] Fixed spell 47883. Author: aerione_alt
...
(The author of 7242 is Reve. Sorry)
--HG--
branch : trunk
2009-02-09 19:57:25 -06:00
megamage
a037917b99
[7242] Fixed spell 30482 and ranks spell bonus for triggered spell.
...
Signed-off-by: ApoC <apoc@nymfe.net >
--HG--
branch : trunk
2009-02-09 19:55:58 -06:00
megamage
25cc99817b
[7241] Breath time extended to 3.0.x values.
...
Signed-off-by: ApoC <apoc@nymfe.net >
--HG--
branch : trunk
2009-02-09 19:55:01 -06:00
Paradox
d230302b16
Replace tabs with spaces in more files.
...
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
megamage
709f3c4130
[7240] Fix logfile spam from AchievementMgr.
...
Log AchievementMgr::SendAchievementEarned only in debug.
Signed-off-by: ApoC <apoc@nymfe.net >
--HG--
branch : trunk
2009-02-08 21:54:47 -06:00
megamage
2bd90deeed
[7239] Support multiply items loot and not normal loot items in Player::AutoStoreLoot. Author: VladimirMangos
...
Use this function in more cases and simplify and fix some related code.
--HG--
branch : trunk
2009-02-08 21:54:13 -06:00
megamage
a908f8d002
[7237] Fixed crash when MotionMaster's Clean or ExpireMovement called from MovementGenerator update.
...
Implemented delayed movement generators removed in case cleanup is triggered
from movement generator update. For this purpose is in runtime allocated vector
for temporary store of all deleted movement generators. After delayed delete
this vector is deleted.
Signed-off-by: ApoC <apoc@nymfe.net >
(With adaptation)
--HG--
branch : trunk
2009-02-08 21:43:46 -06:00
megamage
62a6911dc7
[7236] Prevent lost spells dependent from skills learned before non-dependent spell loading from DB.
...
For example spell 2764 will correctly show in spellbook after re-login. Author: VladimirMangos
--HG--
branch : trunk
2009-02-08 20:43:25 -06:00
megamage
4d008f2043
Replace tabs with spaces, and fix crlf issues
...
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
f08e9d323b
[7235] New command: .reset achievements. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-06 15:40:48 -06:00
Muhaha
358d1bb14e
Now correct patch version: Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-06 11:25:04 +01:00
megamage
3a3429602a
[7230] Add spell_bonus_data for 18220 and ranks. Author: Dietrich
...
[7232] Use constant name that hide client dependent value. Author: VladimirMangos
Skip: [7231] Some info to sql updates commiters in slq/update/README and spell chain update of [7230]
--HG--
branch : trunk
2009-02-05 22:59:49 -06:00
megamage
944a1cec73
[7229] Add area limitation checks for battleground/arena spells.
...
Spell sorted by 2 list and map ids lists replaced by map type checking in patch.
Author: GriffonHeart
--HG--
branch : trunk
2009-02-05 22:55:43 -06:00
megamage
c2550caf96
[7228] Implement empty bag swap with equipped non-empty bag with items exchange. Author: nugu100
...
--HG--
branch : trunk
2009-02-04 19:12:00 -06:00
megamage
d69198732e
*Merge.
...
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
megamage
df7499e056
*Merge.
...
--HG--
branch : trunk
2009-02-04 10:53:58 -06:00
Drahy
5dab980495
* Updated copyright notice for new year (2009) part 2
...
* Changed mangos website
--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6
* Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
...
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
50c82c6660
[7227] Implement prismatic sockets. Related code cleanups.
...
Big thanks to TOM_RUS for help in reseach!
Author: VladimirMangos
--HG--
branch : trunk
2009-02-03 19:12:17 -06:00
megamage
7fdb40ec5c
[7226] Avoid 2 mQuestStatus[quest_id] calls from AddQuest code for speed and possible aliasing problems.
...
Original patch provided by zhenya. Author: VladimirMangos
--HG--
branch : trunk
2009-02-03 15:04:17 -06:00
megamage
adfa5b0ab5
[7225] Correctly clear trainer and vendor data. Author: zhenya
...
--HG--
branch : trunk
2009-02-03 15:01:18 -06:00
megamage
f8fa463e7e
[7224] Drop unused code. Author: VladimirMangos
...
--HG--
branch : trunk
2009-02-03 14:55:39 -06:00
megamage
f25a150566
[7223] Remove duplicate line (old case) in mangos.sql command table. Author: vladonix
...
--HG--
branch : trunk
2009-02-02 15:38:16 -06:00