Commit Graph

890 Commits

Author SHA1 Message Date
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
maximius 389a377dd3 *Destroy quest items on quest failure, and some cleanup.
--HG--
branch : trunk
2009-11-11 15:11:51 -08:00
Machiavelli 412fe99319 Hopefuly correctly fix a crash in Player::KilledMonsterCredit now
--HG--
branch : trunk
2009-11-03 18:27:35 +01:00
maximius ffb28c06a7 * Better solution to No Fly zones by Spp, closes #4
--HG--
branch : trunk
2009-11-02 20:30:25 -08:00
tartalo bcfff09c74 *Implementation of 'No Fly Zone' (Dalaran and Wintergrasp), by Spp
--HG--
branch : trunk
2009-11-02 21:05:54 +01:00
maximius c3ba7d2208 *Fix getLevel() being parsed as a char in ostringstream use
--HG--
branch : trunk
2009-11-01 20:50:31 -08:00
maximius b257a28fa9 *Cleanup, fix many cases of unoptimized loops, potential crashes, excessively large data types, unnecessary or wrong casts, non-standardized function calls, and so on..
*Proper Maexxna Web Spray locations (old locations sent players flying into the air)

--HG--
branch : trunk
2009-11-01 17:53:07 -08:00
Machiavelli 2b2b2a1d0e Fix a crash in Player::KilledMonsterCredit, do not use any revs between 6093 and this.
--HG--
branch : trunk
2009-11-01 21:15:23 +01:00
tartalo ba52852ae5 Delete redundant () on previous patch :P
--HG--
branch : trunk
2009-11-01 20:50:53 +01:00
tartalo 80ac5f6587 Add Dalaran to no fly zones in Northrend
--HG--
branch : trunk
2009-11-01 20:47:40 +01:00
maximius 218e81d4dc *Typo correction, fixes *nix build, thanks alex_1983
--HG--
branch : trunk
2009-11-01 01:35:54 -08:00
maximius 037d69cc04 *Cleanup, and beda0979614d redux
--HG--
branch : trunk
2009-10-31 21:33:26 -07:00
Kudlaty 425597d522 Fix exploit that Titan's Grip allow to use with it staff/polearm
--HG--
branch : trunk
2009-11-01 03:51:09 +01:00
maximius a22da32a51 *Correctly update negative aura duration at loading, thanks Sisif
--HG--
branch : trunk
2009-10-31 16:44:14 -07:00
maximius 743578b81f *Reinit the iterator in each loop as the iter is removed from the list, in AuctionHouseObject::Update, by Trazom
*No longer disregard z/o in Map::CreatureRelocation, thanks Sisif
*Cleanup, and make Divine Storm default to m_caster is no unitTarget is available
*Some mtmaps optimization

--HG--
branch : trunk
2009-10-31 16:00:47 -07:00
maximius 47ba05f5d4 *Partial backout of 6f77c852bd4a
--HG--
branch : trunk
2009-10-31 04:31:53 -07:00
maximius e45eeecdcd *Don't increment an iterator after it's erased, by RammboNr5. Also remove an unused iterator.
--HG--
branch : trunk
2009-10-31 00:50:27 -07:00
maximius 73fd6dbba6 *Make mtmaps a bit more stable, particularly when it updates players.
*Do some better cleanup on spec switching (should no longer strip away all auras, forcing a relog), unsummon totems, clear combo points, etc.
*Cleanup and optimization.

--HG--
branch : trunk
2009-10-30 22:52:37 -07:00
maximius e6e621bfad *Add virtual bool IsEscorted() to escort_ai.h
*Some minor cleanup and optimization

--HG--
branch : trunk
2009-10-30 18:54:38 -07:00
Kudlaty a5937d9d13 Fix typo, sorry
--HG--
branch : trunk
2009-10-31 01:16:48 +01:00
Kudlaty e44c123184 Fix hit chance calculation for Fist Weapons. Patch by krz
--HG--
branch : trunk
2009-10-31 01:14:58 +01:00
maximius b9fd59683c *Duels - if initiator and opponent are on the same team, or initiator and opponent are not PvP enabled, forcibly stop attacking on DUEL_FLED, otherwise they can continue attacking.
--HG--
branch : trunk
2009-10-28 21:44:26 -07:00