Commit Graph

693 Commits

Author SHA1 Message Date
megamage 457f7971de *Fix the bug that Eye of Acherus does not fly in some servers.
--HG--
branch : trunk
2009-08-21 02:46:48 -05:00
megamage 5bde26a6a9 *Remove a hack in player's visibility update. This hack was for TC1 to restrict the size of update packet. It may no longer be needed in TC2. Please report if your client gets freezed in populated area (such as big cities) after this rev.
--HG--
branch : trunk
2009-08-20 16:17:50 -05:00
Kudlaty 9ca8348bf8 Fix for quest Death's Challenge, cos we should get KillCredit also when we win duel with other dk player
--HG--
branch : trunk
2009-08-20 01:46:16 +02:00
megamage 012d6fa865 [8381] Some refactoring work in Unit::m_currentSpells code. Author: VladimirMangos
* Restrict access, use enum args, move some repeated code parts to function.
    * Make m_selfContainer set only part of Unit::SetCurrentCastedSpell

--HG--
branch : trunk
2009-08-19 16:52:51 -05:00
megamage d9ed49749d *Fix a crash caused by ~Player
--HG--
branch : trunk
2009-08-19 16:10:25 -05:00
Machiavelli c9eee8e524 *Use the pre-dual spec way of unlearning talents on top of the current one, to ensure that talents don't end up in the spell storage causing unexpected behaviour in game when trying to learn a talent.
Note: If your players have trouble learning specific talents, or they have an abnormal amount of talent points, force a talent reset on them after this rev and it should be resolved.

--HG--
branch : trunk
2009-08-19 22:38:08 +02:00
megamage cfd24129d3 *Fix a crash by looting player's corpse when the bg is unloaded.
--HG--
branch : trunk
2009-08-18 17:44:17 -05:00
QAston ea98699187 *Fix a typo in xp bonus auras.
--HG--
branch : trunk
2009-08-18 18:47:20 +02:00
megamage a690f5239c *Fix the bug that .start always send dk back to start zone.
--HG--
branch : trunk
2009-08-17 23:51:08 -05:00
megamage a984c3a1d9 [8373] Correctly set bgInstanceID to 0 when log in into alredy ended BG.
This should fix problem that players who logged off during BG are after every
    next login into game teleported to BG entry position.

    Signed-off-by: ApoC <apoc@nymfe.net>

--HG--
branch : trunk
2009-08-17 16:07:46 -05:00
QAston 5047eb7a62 *Implement aura type SPELL_AURA_PREVENT_REGENERATE_POWER(294).
--HG--
branch : trunk
2009-08-17 16:57:36 +02:00
QAston b8993423b5 *Implement aura type SPELL_AURA_MOD_CRIT_PCT(290).
--HG--
branch : trunk
2009-08-17 16:30:14 +02:00
QAston 445b8236a1 *Implement aura type SPELL_AURA_MOD_XP_QUEST_PCT (291) and fix SPELL_AURA_MOD_XP_PCT(200) handler.
*Correct structure stored in world.sql for npc_spellclick_spells and fix world_script_text application.

--HG--
branch : trunk
2009-08-17 14:55:50 +02:00
Machiavelli b043e5bd94 * Set mana to 0 in addition to active power when character swaps talent specs.
--HG--
branch : trunk
2009-08-17 09:56:42 +02:00
megamage d42bb416a2 *Add script of quest "How to win friends and influence enemies". Author ckegg. With some modifications.
*Fix the bug that persuader can be used on other creatures.

--HG--
branch : trunk
2009-08-16 22:23:08 -05:00
Machiavelli 6b6963c66d * Change CONFIG_OFFHAND_CHECK_AT_TALENTS_RESET to CONFIG_OFFHAND_CHECK_AT_SPELL_UNLEARN, and change behaviour related to the value.
Note: Update your configuration file.

--HG--
branch : trunk
2009-08-17 03:17:14 +02:00
Machiavelli b9f1f9232d *Merge
--HG--
branch : trunk
2009-08-17 02:58:57 +02:00
Machiavelli 6a68c5cb6f * Correctly remove two-handed weapon in off-hand slot when intended. (Talent reset if configured, switch talent spec)
--HG--
branch : trunk
2009-08-17 02:58:06 +02:00
QAston 41c12d173b *Add spell_bonus_data for lightwell - by Elron
*Add aura_required, aura_forbidden, user_type columns to npc_spellclick_spells table for additional requirement checks
*Remove workarounds from lightwell code and use new npc_spellclick_spells fields instead.

--HG--
branch : trunk
2009-08-17 02:53:39 +02:00
Machiavelli fa20274a91 *Merge
--HG--
branch : trunk
2009-08-17 01:42:33 +02:00
Machiavelli 60c0acfae6 * Fix a bug; prevent server from deleting action button of the talent spec that was just switched to, caused by clients response when spells are being unlearned.
--HG--
branch : trunk
2009-08-17 01:40:35 +02:00
Anubisss 5764feb2cf *Fix a typo. By Necroo.
--HG--
branch : trunk
2009-08-17 01:14:30 +02:00
maximius e581351794 *Replace every tab with 4 spaces, checked by hand
--HG--
branch : trunk
2009-08-15 19:08:39 -07:00
Machiavelli bcd0656b0d *Merge
--HG--
branch : trunk
2009-08-16 03:25:27 +02:00
Machiavelli 2844937850 * Clear m_actionsButtons regardless of DB data for other spec when switching specs.
--HG--
branch : trunk
2009-08-16 03:23:51 +02:00
maximius 71c69e3460 *Remove offhand after switching specs if the player can no longer equip that item (ie: Titan's Grip)
--HG--
branch : trunk
2009-08-15 18:21:04 -07:00
Anubisss 4b31577eb3 *Implement Championing system. More info about this patch at http://www.wowwiki.com/Championing
*Dont forget that this system can only works fine if has a DB support with level 80 instances' reputations(so need some data to creature_onkill_reputation).

--HG--
branch : trunk
2009-08-16 01:54:50 +02:00
Machiavelli 340a206f05 *Merge
--HG--
branch : trunk
2009-08-15 23:32:53 +02:00
Machiavelli 00d53460c8 * Better way to toggle between action bars for duel speccing, with help from thenecromancer's patch, thank you.
* Correctly adopt spec 1's action bars into spec 2 when learning a new spec.
* Correct handling for UpdateSpecCount where count == 1.
* Other small cleanup and consistency variables.

--HG--
branch : trunk
2009-08-15 23:31:58 +02:00
maximius b6e7065d41 *Add config option to change minimum level required to Dual Spec
--HG--
branch : trunk
2009-08-15 13:39:40 -07:00
Machiavelli eb9d9ff071 *Merge
--HG--
branch : trunk
2009-08-15 20:25:28 +02:00
Machiavelli b3a363cc4f *Correctly calculate spent talent points upon switching to primary/secondary talent spec. By thenecromancer.
--HG--
branch : trunk
2009-08-15 20:24:23 +02:00
Chaz Brown db31023cc5 Reintroduce spell categories for Food and drink removed in 4904 (bd5ef2d4ac26) and change code that used hard coded numbers to use them instead - Thanks, Peldor
--HG--
branch : trunk
2009-08-15 14:10:50 -04:00
Machiavelli ab744808c7 *Forgot to move delete result after fetch function.
Note: Dual speccing isn't working fully, going past rev 5037 is not recommended.

--HG--
branch : trunk
2009-08-15 18:48:25 +02:00
Machiavelli 2057f7d01d *Fix logical error in Player::LoadFromDB regarding dual speccing, and relocate code for consistency
--HG--
branch : trunk
2009-08-15 17:05:34 +02:00
maximius 49990e3fee *Better, but this needs work.
--HG--
branch : trunk
2009-08-14 23:38:51 -07:00
maximius 2fd68eab44 *Add Dual Spec support, original by EnderGT, thanks to Thyros and XTElite1 for helping me test :)
--HG--
branch : trunk
2009-08-14 17:24:52 -07:00
QAston 876448401d *Fix bugs with shapeshift aura bonuses applying during login - by Elron.
--HG--
branch : trunk
2009-08-14 13:28:31 +02:00
megamage 284b0063a8 *A hacky fix of the crash happening when player is teleported during logout.
--HG--
branch : trunk
2009-08-13 10:01:00 -05:00
megamage 7292420583 *Rewrite and simplify sendmessagetoset functions. This fixes the bug that player cannot see dummy aura is cancelled when puppet is far away.
--HG--
branch : trunk
2009-08-12 23:23:53 -05:00
megamage 32e960d5bc *Fix build.
--HG--
branch : trunk
2009-08-12 21:14:35 -05:00
megamage 9f38d67f2e [8355] Implement QUEST_STATUS_FAILED and simplify related code.
Use FailQuest for all quests that can fail and remove no longer needed function FailedTimedQuest.

    Signed-off-by: NoFantasy <nofantasy@nf.no>

--HG--
branch : trunk
2009-08-12 20:57:35 -05:00
megamage d575793f6d [8343] Extand level allowed range for item use to upper values if it end at max player level. Author: VladimirMangos
Also add DEFAULT_MAX_LEVEL define for store current used client expection about max player level.
    For example for current supported this is 80.

--HG--
branch : trunk
2009-08-12 20:30:17 -05:00
megamage 4f4775a31b [8339] Improved storing/restoring BG entry point
* Introduced new table character_battleground_data
    * Entry point is now stored on BG enter event not join event
    * Entry point for dungeons is now correctly set to nearest graveyard
      (this prevent well known assert in GetInstance because of porting to already destroyed instance)
    * Teleporting from BG correctly restore mount state
    * Teleporting from BG correctly restore taxi flight
      (in multipath flight you will end up in nearest transition point on the route)

    Signed-off-by: ApoC <apoc@nymfe.net>

--HG--
branch : trunk
2009-08-12 20:27:00 -05:00
QAston bee1dff87f *Use #defines instead of spellids for often used spells.
*Make recently broken talent Improved Healthstone work again - by iadus3.

--HG--
branch : trunk
2009-08-12 18:51:19 +02:00
megamage 99eafd6a52 *Allow players to capture siege workshops in wintergrasp.
--HG--
branch : trunk
2009-08-12 08:51:51 -05:00
megamage 978242da3f *Try to fix a crash caused by single target auras. Thanks to QAston.
--HG--
branch : trunk
2009-08-11 18:26:04 -05:00
megamage 9403ff03e7 *Only use m_isWorldObject to check if an object is in grid or world.
--HG--
branch : trunk
2009-08-11 16:14:45 -05:00
megamage 4ecbefabfa *Fix a crash when player gets teleported during log out.
--HG--
branch : trunk
2009-08-10 23:28:50 -05:00
Anubisss cd0bdade03 *Implement achievement On The Rocks.
--HG--
branch : trunk
2009-08-09 18:30:37 +02:00