Commit Graph

657 Commits

Author SHA1 Message Date
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
megamage 47e36000cb [8304] Move standup code to login, remove other not needed data change at save. Author: VladimirMangos
Now players saved as-is without any modifications.

--HG--
branch : trunk
2009-08-05 16:03:33 -05:00
megamage 743233a057 [8303] Allow save and restore at login forms/stances. Author: VladimirMangos
Small changes also to prevent visual "fall" flight form for viewer at login,
    and another changes to prevent recasting default warrior stance.
    This also resolve bug with not removing some form bonuses at lost form at re-login.

--HG--
branch : trunk
2009-08-05 16:00:07 -05:00
megamage 62055d85a9 [8294] Some playercreateinfo_action fixes. Also DK food initial amount fix in code. Author: Necro
--HG--
branch : trunk
2009-08-05 15:26:13 -05:00
QAston 50ce9f8cfa *Correct implementation and use of dbc data for aura SPELL_AURA_CONVERT_RUNE(249)
*Fix Blood of the North, Reaping - original patch by thenecromancer
*Fix Death Rune Mastery.

--HG--
branch : trunk
2009-08-05 02:36:26 +02:00
Rat 35cf6778de *added script for training dummies
*added new creature extra flag (CREATURE_FLAG_EXTRA_NO_SKILLGAIN) if set creature won't increase player's weapon skill

--HG--
branch : trunk
2009-08-04 12:38:35 +02:00
QAston 2e34af64cf *Allow ItemExpire events to be scripted.
*Add .debug itemexpire command
*Add script for Disgusting Jar and Mysterious Egg - original patch by Elron.

--HG--
branch : trunk
2009-08-04 01:44:14 +02:00
Anubisss 834c10a0df *Use heroic_level_min value (if not 0) from table access_requirement for instances with heroic mode.
*Use level_min value if heroic_level_min == 0 for instances with heroic mode.
*Correct heroic_level_min value for all instances.

--HG--
branch : trunk
2009-08-04 01:26:49 +02:00
QAston 08cd876f36 *Update zone for players after adding to map. - by VladimirMangos
*Skip instance loading for player with flypath/on transport.

--HG--
branch : trunk
2009-08-03 19:48:28 +02:00
QAston 7569bb343a *Add Rate.RepairCost config option - by MaXiMiUS
*Apply tc sql coding style to 4737_world_TDB.sql - by Drahy
*Fix build with MAP_BASED_RAND_GEN option.

--HG--
branch : trunk
2009-08-03 16:35:33 +02:00
QAston 8777efd03c *Add some crash prevention checks.
--HG--
branch : trunk
2009-08-03 12:52:31 +02:00
megamage c9010dffc7 [8284] Use BuyCound instead Stackable for seelction original items amount for new character. Author: VladimirMangos
--HG--
branch : trunk
2009-08-02 10:10:53 +08:00
QAston fbcf409796 *Fix ppm handling for victim auras - by pasdVn.
--HG--
branch : trunk
2009-08-02 02:18:14 +02:00
QAston f0258275e6 *One more map correction - reset map pointer if still avalible in constructor.
--HG--
branch : trunk
2009-08-01 22:00:06 +02:00
QAston 3e5205cda7 *Do not remove player reference to map on player remove from map.
--HG--
branch : trunk
2009-08-01 21:39:33 +02:00
QAston 00724b0b4f *Check in spell block chance calc to prevent return unexpected value - by thenecromancer.
--HG--
branch : trunk
2009-08-01 02:47:58 +02:00
QAston bf326cd3a3 *Update world_spell_full with missing data.
--HG--
branch : trunk
2009-08-01 02:15:04 +02:00
QAston 1d96091d2a *Improvements in map managing.
--HG--
branch : trunk
2009-08-01 00:20:32 +02:00
QAston b212461f95 *Merge after backout.
--HG--
branch : trunk
2009-07-31 13:21:32 +02:00
QAston 1f53433c6c Backed out changeset "[8251] Store in some DB tables only data for first rank. Author: VladimirMangos" until support for different values for ranks and for custom ranks is added.
--HG--
branch : trunk
2009-07-31 13:21:01 +02:00
megamage 0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29:28 +08:00
megamage 0a2af88cb4 [8252] Move DB scripting code from global World to Map. Author: Ambal
This one more step to pre-map events proccesing and parallel in future.

    [8256] Restore DB script loading broken after [8252]. Author: VladimirMangos

    Also propetly decrease scheduled DB script actions at map unloading.
    Some code style restore.

--HG--
branch : trunk
2009-07-31 10:48:34 +08:00
megamage 2bddcc4303 [8251] Store in some DB tables only data for first rank. Author: VladimirMangos
* Allow add to DB data only for first rank in table `mangos_spell_bonus_data` and `mangos_spell_proc_event`.
    * Copy data for other ranks for speedup use at loading for this data and data from `spell_proc_item_enchant`.

--HG--
branch : trunk
2009-07-31 10:21:57 +08:00
QAston d193b687e8 *Do not allow to save player single target spellstolen auras to prevent crash.
--HG--
branch : trunk
2009-07-30 17:34:08 +02:00
QAston 9c52a12e08 Backed out changeset 6ba74f274cb9 - mangos [8249]
--HG--
branch : trunk
2009-07-30 11:44:23 +02:00