QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
tobmaps
a0f1a5c789
Core/Spells: Removed remaining part of old global cooldown handler
2011-07-23 03:30:43 +07:00
DrTenma
ebc1baf684
Core/Spells: Fix talent Improved Unholy Presence
...
Closes #411
2011-07-15 04:58:14 +07:00
Spp-
d8bbbc40de
Cosmetic: Correction to 3f9db9d29e
2011-07-08 11:18:05 +02:00
Spp-
3f9db9d29e
Core/Quests: Reduced the need to expose internal Player's class member
2011-07-08 10:54:46 +02:00
click
48e47a9245
Core/Achievements: Simplify handling of achievements for GMs: Do not allow achievements when GM-mode is enabled, allow when disabled
2011-07-02 02:14:49 +02:00
kaelima
142943d4c1
This reverts commit f580cddc09.
2011-06-28 13:05:15 +02:00
click
f580cddc09
Core: Add wintergrasp-patch to wintergrasp_cleanup branch - resurrected from an old work-repository, now over as a branch to work on.
...
Original patch by socolin, cand a ton of contributors :
mathman, joda, spp, silinoron, josh, malcrom, shauren, machiavelli, click, rat, leak, tobmaps, _manuel_, the tcfr team (via socolin), and tons of others for chiming in.
NOTE: THIS IS A WORKING-BRANCH, AND _NOT_ MENT FOR PUBLIC USE OR EVEN CONSIDERED STABLE!
2011-06-28 00:56:29 +02:00
Machiavelli
e8b4d1fab7
Core/Spells: Fix side effects from 33f3397 (issues related to Mangle for druids not being re-learned on talent switch). Original fix done alternatively.
2011-06-27 02:01:20 +02:00
Machiavelli
fe8cb75bf1
Core/DBLayer: Make database interaction after create character packet completely asynchronous. This is more performant and fixes a DoS loophole and possible data desynchronisation caused by spamming this packet.
...
Closes #584
Closes #2089
2011-06-22 14:22:08 +02:00
QAston
c4818f1892
Core/Auras: Fix refresh of auras with spellmodifiers applied to currently cast spell.
2011-06-21 19:59:17 +02:00
Lopin
19ede8fa72
Core/Quests: Fixed destroying of quest items which start a quest and are also needed for completing this quest
2011-06-18 21:08:14 +02:00
Shauren
fb44a609ff
Core/Gossip: Fixed incorrect gossip menu texts introduced after dropping npc_gossip table
2011-06-15 18:53:55 +02:00
click
c77aa6e846
Core: And some more cleanups...
2011-06-12 02:00:43 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
tobmaps
4a0290c17b
Core/Quests: Fix quests that require player to be dead
...
Closes #1441
2011-05-30 02:59:37 +07:00
Shauren
0ad14aeafd
Core/Gossip: Gossip menu items will now have constant index, allowing to properly define scripts relying on that index when mixed with conditions. Script-created menus via ADD_GOSSIP_ITEM will still have the index generated dynamically
2011-05-26 23:57:17 +02:00
Aokromes
6acd954bf5
Core/Misc: Some random cleanups
2011-05-25 19:54:17 +07:00
Shauren
c3778487f0
Core/Spells: Fixed totem summoning behavior (summoning new totem while old is still active will not prevent new one from spawning) and fixed totem cooldowns
...
Closes #1609
Closes #1615
2011-05-21 10:58:32 +02:00
Lynx3d
b1d2fbc0c2
Core/Player: Use dbc data for calculating combat ratings
...
Closes #1156
2011-05-13 04:11:03 +07:00
Az@zel
58f0a4b152
Core/Misc: fix typo - yet another English language lesson: INTERUPT -> INTERRUPT
2011-05-11 11:17:20 +06:00
tobmaps
98dbf64fad
Core/Spells: Fix stacking behaviour of spellmods
2011-05-11 02:34:42 +07:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Azazel
6fb2bf4224
Core: use enum InventoryResult as return type for functions working with player items.
...
Original patch by TOM_RUS.
2011-04-29 16:48:15 +06:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
leak
a82654debd
Core/ObjectMgr: Refactor sItemStorage
2011-04-28 22:42:33 +02:00
Shauren
97f482cd82
Core/Achievements: Removed unused parameter from UpdateAchievementCriteria and unused DoCompleteAchievement from BattlegroundMgr
2011-04-21 23:32:45 +02:00
Shauren
542bc3008d
Core/Player: Fixed interaction rules with dead creatures
2011-04-18 12:17:45 +02:00
Shauren
ea5dd86f29
Core/PacketIO: Updated SMSG_CHAR_ENUM data content (bag info)
2011-04-15 19:31:21 +02:00
leak
7935c2f5c2
Core/Arena: Move personalRating to arena_team_member
2011-04-08 21:14:30 +02:00
Shauren
0ae5aca55e
Core/Spells: Apply only 1.5 second cooldown to DK runes when spell misses its target
2011-04-07 23:13:35 +02:00
pek2011
337b75cafc
Core/Cleanup: Drop some unused code and update some unknown player flags (from Mangos).
...
Closes #1167
2011-04-07 15:10:10 +03:00
Anubisss
1b0843194f
Fix gender exploit.
...
Now check that character has a valid gender (and not an invalid via packet modifications).
This check works when trying to create a character or when building the character list.
If gender is invalid (neither male nor female): can't create the character and can't see in the characters' list (and also can't login with it via packet modding).
Signed-off-by: Anubisss <[email protected] >
2011-04-01 05:05:13 +02:00
laly
b9af020e72
Core/Cleanup: Drop some unused code.
...
Closes #1010 , #581 , and #248
2011-03-26 03:28:59 +02:00
Azazel
e49b5b44d6
Core/Cleanup: remove C-style cast to (Bag*):
...
* add ToBag() methods for Item class;
* add GetBagByPos() method for Player class.
2011-03-18 15:58:08 +06:00
Azazel
ca76e17bd6
Core/Cleanup: refactor honor and arena rating modifying methods:
...
* simplify wierd logic;
* add const modifiers to several getter methods.
(Idea based on commit [11187] by zergtmn for Mangos)
2011-03-17 11:00:41 +06:00
Azazel
6ad4044f05
Core/Mechanics: refactor XP (and in fact, honor/reputation/kill credit) rewarding routine and get rid of copy/pasted code.
2011-03-13 15:28:45 +06:00
Azazel
7200363835
Core/Loading: refactor inventory loading routine and add more informational error logging to it.
2011-03-12 00:54:37 +06:00
Shauren
9710c41a40
More warning fixes
2011-03-08 19:11:02 +01:00
darkstalker
1646f9d91c
Core/Spell Mechanics: introduce global cooldown manager for server-side checks for GCD (ported from mangos)
2011-02-22 17:02:47 +06:00
Shauren
7ac891717c
Core/Vehicles: Send proper GUID in SMSG_BREAK_TARGET packet when an unit enters vehicle
2011-02-19 22:50:09 +01:00
leak
6a64c79d2a
Core/Groups: Group system cleaning sweep.
2011-02-18 18:35:52 +01:00
Azazel
4dc1eaa47c
Core/Misc: improve error log messages by adding more info. Specially for Aokromes.
2011-02-17 19:47:08 +06:00
Machiavelli
17971acddb
Core/Players: Implement generic SendClearFocus instead of magic SMSG_BREAK_PACKET randomly in the middle of code. Also preallocate correct size for packed guid.
2011-01-25 08:04:47 +01:00
Shauren
867bc197ef
Core/Instances: Made the max amount of instances player can enter within hour configurable and fixed typo in instance packing/cleaning query
2011-01-24 16:12:02 +01:00
Shauren
820f87f365
Core/Instances: Implemented confirmation dialog for players upon entering instance which would permanently bind the player to it, players can now choose to get saved or leave the instance
...
Also fixes broken build
2011-01-24 11:38:59 +01:00
Shauren
464837077a
Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)
2011-01-24 11:20:30 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
cf62d7b776
Core/Items: Implemented spell penetration stat on items and use it from enchantments, original patch by zergtmn
2010-12-31 22:59:36 +01:00
silinoron
dcb0902e61
Core/Player: Add a helper function in Player to get the number of grantable levels. For future use. Thanks Phazerz for helping me confirm this is the right value.
2010-12-30 21:15:11 -08:00