Commit Graph

681 Commits

Author SHA1 Message Date
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
megamage 2f83f6a79c *Try to fix a crash caused by adding player to wrong instance.
--HG--
branch : trunk
2009-08-08 19:05:44 -05:00
megamage fdade24355 *Fix the quest requirement for DK to leave start zone. By kaell
--HG--
branch : trunk
2009-08-08 12:55:51 -05:00
QAston 6b4772207f *Cleanups, remove obsolete code and minor optimizations in spellauras.cpp and spelleffects.cpp
*Remove GetDummyAura(uint32 spellid) function - it is faster to use GetAuraEffect or GetAura if id is known than iterate threw dummy auras list
*Move Death Strike code from HandleDummyAuraProc to Spell::EffectDummy - original patch by hununza.

--HG--
branch : trunk
2009-08-08 16:18:05 +02:00
maximius fe3ba612d9 *Emalon the Stormwatcher fully scripted, by Necroo (boss needs to be spawned and ScriptName needs to be updated)
*Added config options: DurabilityLoss.OnDeath and DurabilityLoss.InPvP, optimized Rate.RepairCost

--HG--
branch : trunk
2009-08-07 12:12:42 -07:00
megamage 6d6d780370 [8316] Remove duplicate player stat output. Author: XTZGZoReX
--HG--
branch : trunk
2009-08-06 17:47:42 -05:00
megamage e1cfdaedcf *Remove the assert(false) in StopCastingCharm() because i am not able to fix it for now.
--HG--
branch : trunk
2009-08-06 11:32:56 -05:00
megamage 05940192f4 *Fix a dead loop in 4786. By QAston.
--HG--
branch : trunk
2009-08-06 11:01:22 -05:00
megamage 048665a37a *Try to fix the crash caused by invalid map pointer of player.
--HG--
branch : trunk
2009-08-06 10:21:10 -05:00
megamage 11b6ae7924 *Correct reputation rounding. By Necroo
--HG--
branch : trunk
2009-08-05 22:24:47 -05:00
megamage 9a8c60dbc7 *Do not allow dk to teleport out of start map without completing required quests.
*Remove some useless quest status enum.

--HG--
branch : trunk
2009-08-05 19:43:55 -05:00
megamage f03cd942cd *Fix a bug that DK does not have full talent points after leaving starting map. Thanks to MaXiMiUS
--HG--
branch : trunk
2009-08-05 17:26:15 -05:00
megamage 907342d5b0 [8308] More generic code for new continent spell casting including fly form/mounts. Author: VladimirMangos
* Check new continent requirement by SPELL_ATTR_EX4_CAST_ONLY_IN_OUTLAND in
      SpellMgr::GetSpellAllowedInLocationError.
    * Also in this function let ignore any area requirement in GM-mode (except client side checks ofc if use spellbook/item)
    * For fly form/mount auras check only speciaal reqirement like special fly skill and ignore it for dead state.
    * Drop explicit fly auras drop at zone update, now this part GetSpellAllowedInLocationError functionality.
    * Allow in `spell_area` have data deepndent from ghost auras

    This all allow implement apply spells 55173/55164 to player ghost wiht DB support in `spell_area`

--HG--
branch : trunk
2009-08-05 16:33:34 -05:00