Commit Graph

861 Commits

Author SHA1 Message Date
n0n4m3
1ae1171f95 Removed unneeded function UpdateArenaFields
--HG--
branch : trunk
2009-12-17 07:10:39 +01:00
n0n4m3
fa4685da7c Fixed possible dual spec exploits
--HG--
branch : trunk
2009-12-17 06:57:01 +01:00
n0n4m3
365f0ae562 Replace some assert with return statement, fixed some crash bugs
--HG--
branch : trunk
2009-12-17 06:49:36 +01:00
win32
bf2c3fd8cf MaNGOS merge: Mail System.
* Store loot in mail_loot_template indexed by mail template ids.
* Implement proper creating mail text copy item from mail template based mail.
* Move send functions to new MailDraft class from WorldSession.
* Implement mails sending at player levelup.
* Autor VladimirMangos, converted by me.

--HG--
branch : trunk
2009-12-16 18:58:36 +02:00
Kudlaty
379cbb72af Mangos merge: [8874] Extract player skills from data blob. #526
Converted by Azazel.

--HG--
branch : trunk
2009-12-14 20:47:43 +01:00
Brian
fa1467e9fe * Remove code that was having the SrcItemId mandatorily removed on quest
* complete. If the SrcItemId is supposed to be destoryed, the item ID will be
* in ReqItemId or ReqSrcItemId

--HG--
branch : trunk
2009-12-13 21:03:28 -07:00
spp
df76273dd0 Check of required skill value and level in Item enchants, by azazel. Closes #512
* Added some cosmetic changes to the original patch

--HG--
branch : trunk
2009-12-13 09:17:12 +01:00
maanuel
b3d1b0ef3e Fix issue in skill points by MetaphysicalDrama, tested by Gyullo. Closes #599
--HG--
branch : trunk
2009-12-10 12:53:02 -03:00
spp
5812971bac Add missing tables to Player::RemoveFromDB, by tali. Closes #648
--HG--
branch : trunk
2009-12-06 23:38:37 +01:00
spp
ed6f818dfd Reset druid/rogue combo points before adding a combo point to new target, by thenecromancer. Closes #91
--HG--
branch : trunk
2009-12-06 23:13:38 +01:00
Machiavelli
2b9dfe7299 Do not delete realm first achievements from character_achievement in Player::DeleteFromDB.
NOTE: These achievements have flags & 256 in DBC. The IDs are currently excluded in the SQL delete query, hard coded. Might be room for improvement down the road.

--HG--
branch : trunk
2009-12-06 20:07:08 +01:00
tartalo
d7262a6298 Implement No Fly Zone using Spell, by Spp. Needs db support. Closes #494
--HG--
branch : trunk
2009-12-01 11:43:57 +01:00
Machiavelli
f6d80f9da4 Fix some issues with fishing. Closes #421, patch by make_the_king
--HG--
branch : trunk
2009-11-30 16:54:33 +01:00
Kudlaty
353a9f3740 Apply #413
Implementation of Ring of Valor (Orgrimmar Arena)
Patch by Spp and Opterman

--HG--
branch : trunk
2009-11-27 02:03:50 +01:00
Brian
5e83d4779e * Fix Daily quests so they can be completed even if the player logs out.
*
* Thanks elron103 and disassebler

--HG--
branch : trunk
2009-11-26 13:52:21 -07:00
maximius
9b7f2240b8 *LIttle bit of cleanup, fix a warning.
--HG--
branch : trunk
2009-11-22 19:30:36 -08:00
maximius
c34cf702b1 *Get the TriggerSpell from the proper field >_<, thanks Themris
--HG--
branch : trunk
2009-11-22 04:22:03 -08:00
maximius
fedba27e35 *Search through the SpellEntry for valid trigger spells, and remove any spells that the talent teaches. Thanks MetaphysicalDrama :P Closes #371
*Use a much more efficient method for removing talents and related spells from the spell map (the old method probably tried to remove the same spell half a dozen times, due to duplicated functionality).

--HG--
branch : trunk
2009-11-22 00:53:16 -08:00
maximius
2b8e315218 *Runic Power and Rage should have a lower limit for regeneration, not an upper limit. Closes #294, thanks MetaphysicalDrama
--HG--
branch : trunk
2009-11-21 19:16:57 -08:00
maximius
c767576d92 *Cleanup, more consistant HandleDummyAuraProc code (added basepoints1 and basepoints2 and edited some spell cases to use these instead of more hacky custom methods..)
--HG--
branch : trunk
2009-11-21 17:59:24 -08:00
maximius
dd9ed3912b *Some cleanup and optimization to talent resetting and spec swapping. Has no impact on the functionality (it just wastes less CPU).
--HG--
branch : trunk
2009-11-21 13:54:02 -08:00
maximius
729bc6d68f *Ignore whether or not a spell is in the active spec on spec swap (it doesn't matter, the spells from your other spec will be learned shortly)
*Ignore whether or not a spell is in the active or inactive spec on talent reset (it doesn't matter, the spells from your other spec can be learned with a simple spec swap)

--HG--
branch : trunk
2009-11-21 07:32:09 -08:00
maximius
ea6a322670 *Increment the iterator normally, since it's no longer deleted, and the old method causes an infinite loop..
--HG--
branch : trunk
2009-11-21 06:35:30 -08:00
maximius
7a2cad6e1b *Fix a crash :(
--HG--
branch : trunk
2009-11-21 06:24:15 -08:00
maximius
e73ab432eb *Fix a stupid mistake on my part that caused the removal loop to never start, and -aggressively- remove talent/spells on talent reset & spec swap.
--HG--
branch : trunk
2009-11-21 06:13:20 -08:00
maximius
51a2284f69 *Don't set PLAYERSPELL_NEW. That will prevent the spell from being removed from the character DB, which is bad.
--HG--
branch : trunk
2009-11-21 05:43:14 -08:00
maximius
2e256f44db *The typos will never cease :'(. Also, 32e347321fb9 was a merge of SD2 r1492.
--HG--
branch : trunk
2009-11-21 05:13:19 -08:00
maximius
bd1065156e *Copy and paste woes D:
--HG--
branch : trunk
2009-11-21 05:01:03 -08:00
maximius
83fa9466de *Oops, edited the wrong function in 11085dbb7da0 >.<' 5AM woes
--HG--
branch : trunk
2009-11-21 04:59:10 -08:00
maximius
9fc070bb1d *Allow talent resets even if your talent map is empty.
--HG--
branch : trunk
2009-11-21 04:55:02 -08:00
maximius
41ad7346bc *Optimization, and remove talents from the talent map by TalentID, not SpellID.
--HG--
branch : trunk
2009-11-21 04:44:34 -08:00
maximius
ad71ee4c7a *Fix the issue with Passive talents never being removed, thanks MetaphysicalDrama ;D Refs #371, #370, #367, #368, #326
--HG--
branch : trunk
2009-11-21 03:27:43 -08:00
maximius
c19489cd50 *More consistant method for adding/removing talents. Refs #370, #368
--HG--
branch : trunk
2009-11-21 01:49:15 -08:00
maximius
db132054fd *Minor correction in talent resetting, and cosmetic change in spec swapping.
--HG--
branch : trunk
2009-11-20 23:04:39 -08:00
maximius
e4e61ac99d *Fix some typos.
--HG--
branch : trunk
2009-11-20 22:39:27 -08:00
maximius
c16e08faed *Cleanup, search through the talent map instead of spell chains for talent ranks during spec swaps.
Also properly set talent state upon talent reset, and only reset talents that exist in the active spec. Refs #367, #326

--HG--
branch : trunk
2009-11-20 22:38:01 -08:00
maximius
b3a25b247a *Little tweak that might make no difference, or might make a signifigant difference in removing talent spell chains..
--HG--
branch : trunk
2009-11-20 19:34:39 -08:00
maximius
6296dda84e *Some dual talent tweaks.. refs #326
--HG--
branch : trunk
2009-11-20 19:27:21 -08:00
maximius
654519d1a6 *Some cleanup (mostly whitespace changes)
--HG--
branch : trunk
2009-11-20 19:11:28 -08:00
maximius
b9a0663126 *Dual spec switching and talent resetting rewrites, comment out some redundant code, and remove spells learned from talents properly. Closes #326
--HG--
branch : trunk
2009-11-20 16:09:20 -08:00
maximius
7ad284bd33 *Some cleanup.
--HG--
branch : trunk
2009-11-19 03:53:49 -08:00
maximius
559df76699 *Hunter pets should now have their talents refunded when a hunter switches talent specs, even if they are dismissed at the time.
--HG--
branch : trunk
2009-11-18 02:42:55 -08:00
maximius
f59106d9c3 *Clear reactives and pet auras on spec changes.
--HG--
branch : trunk
2009-11-17 23:30:08 -08:00
maximius
ed38413906 *Cleanup, and backout 316e049b930a (oops)
--HG--
branch : trunk
2009-11-17 22:09:05 -08:00
maximius
07601c4854 *Proper default value for m_specsCount.
--HG--
branch : trunk
2009-11-17 21:33:14 -08:00
maximius
4fcd64789c *Fix initialization of health bonus regen, by tali
--HG--
branch : trunk
2009-11-17 21:32:34 -08:00
maximius
dfc9338812 *Merge 94c7ee9cce6a by win32, don't mod damage on broken items.
--HG--
branch : trunk
2009-11-17 21:27:08 -08:00
Rat
bf2520e207 *tabs
--HG--
branch : trunk
2009-11-12 11:57:10 +01:00
Rat
030d6647b6 *fix build
note: Compile before pushing !!!

--HG--
branch : trunk
2009-11-12 11:53:53 +01:00
maximius
9b3b1f65b2 *Destroy both ReqItems and SrcItems on quest failure.
--HG--
branch : trunk
2009-11-11 20:06:47 -08:00