Commit Graph

883 Commits

Author SHA1 Message Date
Machiavelli
da35e70579 Allow spell cast on an NPC that is linked to a KillCredit to count toward the KillCredit.
--HG--
branch : trunk
2009-12-22 14:06:26 +01:00
Brian
36d30faabf * Add support for RewSpellCast=-1. If -1 remove all auras applied to player at
* quest start.
* Patch by Kudlaty -- THANK YOU!

--HG--
branch : trunk
2009-12-21 14:48:30 -07:00
Brian
c4ac6323b0 * Added support for RepObjectiveFaction2 / RepObjectiveValue2 (opposite
* faction) IE: need to LOSE reputation with that faction.
* Original patch by Brian / Ported to latest rev. by Kudlaty -- THANKS!

--HG--
branch : trunk
2009-12-20 16:51:41 -07:00
n0n4m3
9f40c92fb4 Restore patch: No Fly Zone using Spell
--HG--
branch : trunk
2009-12-20 18:02:57 +01:00
Rat
6fe36efe0f *apply trinity style to whole source
*comment out all mangos to trinity defines
*this will make merging a little harder, but code will be more clear

--HG--
branch : trunk
2009-12-20 15:20:04 +01:00
win32
7c9f6b4bc3 Merge MaNGOS, Gossip System. Autor NoFantasy.
* DB support required
* Closes #859

--HG--
branch : trunk
2009-12-20 13:35:08 +02:00
n0n4m3
1c0f2d233f Fix problem with max pet distance from owner. by VladimirMangos
--HG--
branch : trunk
2009-12-19 20:02:38 +01:00
n0n4m3
5a3b3d83ee Fixed some typos and revert one commit
--HG--
branch : trunk
2009-12-19 19:46:07 +01:00
n0n4m3
1d79bc51ea Implement player's pet resilience, also fix DoT case. by VladimirMangos and thx tali
--HG--
branch : trunk
2009-12-19 18:46:51 +01:00
n0n4m3
0b0b7900a3 Not send unexpected reply whisper to sender for addon messages. by VladimirMangos
--HG--
branch : trunk
2009-12-19 18:10:39 +01:00
n0n4m3
e1e11ed43e Add basic support for QUEST_FLAGS_PARTY_ACCEPT (2). by NoFantasy
--HG--
branch : trunk
2009-12-19 18:08:07 +01:00
n0n4m3
ef2cbee517 Avoid not needed too oftent send update data, cleanups. by SilverIce
--HG--
branch : trunk
2009-12-19 17:58:45 +01:00
n0n4m3
243f33b5ea Implement new visibility system, based on Silverice patch for mangos
--HG--
branch : trunk
2009-12-19 10:12:40 +01:00
maximius
dc1207139a *Cleanup, proper indentation, and remove some wrong/irrelevant comments copied from custom patches..
--HG--
branch : trunk
2009-12-18 13:41:30 -08:00
n0n4m3
6b405c63cc Basic support for item refund system added in 3.1. by Machiavelli
--HG--
branch : trunk
2009-12-17 18:35:59 +01:00
n0n4m3
eccf162be2 Fixed compile errors and some typos
--HG--
branch : trunk
2009-12-17 14:06:20 +01:00
n0n4m3
89656d5749 Restore some commits from trinitycore2 3.1.3
--HG--
branch : trunk
2009-12-17 13:07:38 +01:00
n0n4m3
e91d18c1f5 Update Player for 322a
--HG--
branch : trunk
2009-12-17 12:06:19 +01:00
n0n4m3
863fca80eb Removed some redundant player->SaveToDB calls, original autor balrok
--HG--
branch : trunk
2009-12-17 07:56:20 +01:00
n0n4m3
2b5151f50c One big insert for _SaveSpellCooldowns, original autor balrok
--HG--
branch : trunk
2009-12-17 07:46:21 +01:00
n0n4m3
2028f0658b Removed mtmaps OpenMP
Implement mtmaps based on ACE
For stable work MapUpdate.Threads=2 in config

--HG--
branch : trunk
2009-12-17 07:34:00 +01:00
n0n4m3
8507b7da99 Check session for existance in Player::SendDirectMessage
--HG--
branch : trunk
2009-12-17 07:11:44 +01:00
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