Commit Graph
4025 Commits
Author SHA1 Message Date
megamage 421a154544 [8360] Simplify and partly rewrite SPELL_EFFECT_TRIGGER_SPELL work. Author: VladimirMangos
* Always use explicit spell cast from effect code
    * Always use for normal case unitTraget self cast
      that fix thriggered spell apply to area targets.

--HG--
branch : trunk
2009-08-12 21:07:03 -05:00
megamage 17b5663a36 [8359] Make effect from item 20414 positive. Author: VladimirMangos
--HG--
branch : trunk
2009-08-12 20:58:58 -05:00
megamage 07136c9e5c [8356] Added 'place holders' for unknown CreatureTypeFlags.
Signed-off-by: NoFantasy <[email protected]>

--HG--
branch : trunk
2009-08-12 20:57:52 -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 <[email protected]>

--HG--
branch : trunk
2009-08-12 20:57:35 -05:00
megamage 2e1b5a41b7 [8354] Update kill credit for normal creature entry including heroic case. Author: VladimirMangos
--HG--
branch : trunk
2009-08-12 20:54:27 -05:00
megamage fe3e3be3a7 [8352] More correct dazed spells selection for remove at shapeshift. Author: VladimirMangos
--HG--
branch : trunk
2009-08-12 20:49:06 -05:00
megamage 0d1677fa09 [8351] Implement spell 55693. Author: VladimirMangos
--HG--
branch : trunk
2009-08-12 20:47:54 -05:00
megamage 603685a2d2 * Some cleanups and better checks in IsPositiveEffect. Author: VladimirMangos
--HG--
branch : trunk
2009-08-12 20:42:07 -05:00
megamage 8ee1e20acd [8345] corrected startup-checks for spell_area table
old problem was that, for example
    a single spell couldn't be cast
    at aura OR quest (so 2 entries in this table)

    .. will be now possible

    Signed-off-by: balrok <[email protected]>

--HG--
branch : trunk
2009-08-12 20:38:24 -05:00
megamage d1a5689b65 [8344] In case battleground reward items player must "receive" instead "create" item in message. Author: VladimirMangos
--HG--
branch : trunk
2009-08-12 20:36:55 -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 <[email protected]>

--HG--
branch : trunk
2009-08-12 20:27:00 -05:00
QAston 46f4159c5e *Fix glyphs increasing duration of buff when it's selfcasted.
--HG--
branch : trunk
2009-08-13 02:23:50 +02:00
megamage 9ef950f9be *Disable spams of "received not allowed opcode xxx". If any dev finds this error log useful, feel free to add it back.
--HG--
branch : trunk
2009-08-12 19:02:10 -05:00
Chaz Brown afdd3837e8 Change/Add some debug output for Buyer and Seller in AHBot
--HG--
branch : trunk
2009-08-12 19:37:17 -04:00
QAston ba91c78ceb *Update Mana Shield Spell Power Coefficient - by fukifat.
*Add function void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool changeAmount), and aura effect specific stuff to it.
*More correct aura scaling with lvl for area auras.
*Prevent exploits with relog while having auras with modified amount.

--HG--
branch : trunk
2009-08-13 00:52:05 +02:00
megamage 15c61715e2 *Cleanup of unworthy initiate script.
--HG--
branch : trunk
2009-08-12 15:58:54 -05:00
megamage 24c8931ae9 *Fix a crash caused by corpses.
--HG--
branch : trunk
2009-08-12 15:33:12 -05:00
megamage c1daf6567c *Fix a crash caused by recall pet.
--HG--
branch : trunk
2009-08-12 13:31:05 -05:00
megamage a30e3b7bd3 *Fix a crash caused by addnpc command.
--HG--
branch : trunk
2009-08-12 13:03:44 -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 cd78172c7d *Do not allow to enter frostwyrm wing before killing all previous bosses. If you do not like it, simply do not apply the sql.
--HG--
branch : trunk
2009-08-12 08:01:06 -05:00
megamage 1bdc65e5ee *Send area id instead of zone id in local defense channel. By durotar
--HG--
branch : trunk
2009-08-12 07:16:20 -05:00
megamage 296771f7e7 *SetMap for corpse in Create function as other objects.
--HG--
branch : trunk
2009-08-12 07:10:07 -05:00
megamage da9de7135d *Fix a crash caused by ConvertCorpseForPlayer
--HG--
branch : trunk
2009-08-12 07:03:23 -05:00
megamage f0c8efea55 *Fix the equip visual of quest endless hunger.
--HG--
branch : trunk
2009-08-11 22:20:34 -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 3078bf6fd0 *Fix a crash caused by setmap.
--HG--
branch : trunk
2009-08-11 18:23:54 -05:00
megamage db0558a66f *Fix compile in debug mode.
--HG--
branch : trunk
2009-08-11 17:50:02 -05:00
megamage 892bd40576 *Fix compile in *nix.
--HG--
branch : trunk
2009-08-11 17:29:56 -05:00
megamage 0f18e49052 *Add some asserts back.
--HG--
branch : trunk
2009-08-11 16:39:35 -05:00
megamage 962b88a381 *ResetMap for worldobjects when map is deleted.
--HG--
branch : trunk
2009-08-11 16:33:33 -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 4267816fca *A temp fix of the crashes caused by corpses.
--HG--
branch : trunk
2009-08-11 15:40:43 -05:00
megamage 177f78be1a *Correctly check ispositive for spells.
--HG--
branch : trunk
2009-08-11 13:11:16 -05:00
QAston e2e70b936b *Cleanups and obsolete spell handlers remove.
--HG--
branch : trunk
2009-08-11 19:57:27 +02:00
megamage 08d4aac161 *Consider all non-existing spells as negative. This fixes the broken Forbearance.
--HG--
branch : trunk
2009-08-11 11:32:32 -05:00
megamage d4165ac36e *Use unified function in loadhelper.
--HG--
branch : trunk
2009-08-11 11:11:22 -05:00
megamage a51cc015fa *Fix anothe crash bug caused by SetMap
--HG--
branch : trunk
2009-08-11 11:04:08 -05:00
megamage 3fa3c8b098 *Add function Unit::OutDebugInfo for debug.
--HG--
branch : trunk
2009-08-11 10:53:29 -05:00
megamage a944a0ea4b *Fix a crash when go is removed but m_ObjectSlot is not cleared.
--HG--
branch : trunk
2009-08-11 10:14:46 -05:00
megamage e3d00708a9 *Fix a crash since the last rev.
--HG--
branch : trunk
2009-08-11 10:01:39 -05:00
megamage 6cb0466eea *Assert !IsInWorld() in set map
--HG--
branch : trunk
2009-08-10 23:48:20 -05:00
megamage d78c9b3925 *Assert !IsInWorld() in reset map
--HG--
branch : trunk
2009-08-10 23:47:47 -05:00
megamage c8ed3cf1e9 *Some update of opvp (no real change)
--HG--
branch : trunk
2009-08-10 23:38:51 -05:00
megamage 31374835f6 *Cleanup about deleting player.
--HG--
branch : trunk
2009-08-10 23:32:20 -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
megamage ce7b0907b8 *Fix a typo. By mike753
--HG--
branch : trunk
2009-08-10 15:53:27 -05:00
megamage f86d54376a *Fix Lightwell. By Elron
--HG--
branch : trunk
2009-08-10 15:52:11 -05:00