Commit Graph
324 Commits
Author SHA1 Message Date
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 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
Anubisss cd0bdade03 *Implement achievement On The Rocks.
--HG--
branch : trunk
2009-08-09 18:30:37 +02: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 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
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
QAston bf326cd3a3 *Update world_spell_full with missing data.
--HG--
branch : trunk
2009-08-01 02:15:04 +02:00
QAston 129f6ce6f0 *Remove unneeded assert.
--HG--
branch : trunk
2009-08-01 02:08:59 +02:00
QAston 1d96091d2a *Improvements in map managing.
--HG--
branch : trunk
2009-08-01 00:20:32 +02:00
megamage b2b3983e89 [8231] Use more safe destination buffer size for zlib compression. Author: SilverIce
[8230] Add new line at the end of file Player.h to make gcc happy. Author: Gendalph

--HG--
branch : trunk
2009-07-30 10:39:53 +08:00
megamage 5d9d64e6f0 [8229] Improve stealth detection code for player case. Author: Ambal
--HG--
branch : trunk
2009-07-30 10:38:53 +08:00
megamage 7bd47f8827 [8225] Some fixes from 320 branch. Author: tomrus88
--HG--
branch : trunk
2009-07-30 10:26:15 +08:00
QAston 491051e194 *Rage is now generated by damage absorbed
*Fix rage calculation for level > 70
*Allow rage generation for NPC using rage
*Make mitigated damage not add rage
*Fix Warriors' Berserker Rage
Author of all of these: thenecromancer

--HG--
branch : trunk
2009-07-27 18:05:30 +02:00
megamage 62a6d1dfbe [8203] Correcttly re-apply level scaled item stat mods at player level change. Author: Trogvar
--HG--
branch : trunk
2009-07-24 09:15:29 +08:00
megamage a8c9cc25ab [8202] Replace raw array index values by enums. Author: VladimirMangos
--HG--
branch : trunk
2009-07-24 09:14:46 +08:00
megamage 4a0d187cd6 [8193] Use constant instead explicit value in title index checks. Author: XTZGZoReX
--HG--
branch : trunk
2009-07-23 09:34:42 +08:00
megamage ffcbd11b2c [8190] Update killing quest objectives base at creature_template KillCredit fields. Author: GriffonHeart
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.

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

    Also implement KillCreditN field check at loading.

--HG--
branch : trunk
2009-07-20 12:30:37 +08:00
megamage 208087ff6e [8182] Store and use Map* pointer in WorldObject instead map ids for speedup Author: Ambal
Also some code logic cleanups.
    Changes let make more cleanups in base map access and other places,
    but this chnages not inlcuded in patch.

*This patch may cause crash.

--HG--
branch : trunk
2009-07-16 11:49:00 +08:00
megamage d27e5f3de1 [8137] Init player display id + native display id on login. Author: hunuza
* Temporary reset of display id on save no longer needed.
    * Players always have the right model for their gender.

--HG--
branch : trunk
2009-07-10 08:39:14 +08:00
megamage af1c188524 [8125] Optimized spell cooldowns remove. Author: ApoC
Traverse only active cooldowns instead of whole player spell map.

--HG--
branch : trunk
2009-07-07 07:26:11 +08:00
megamage 3eab803495 [8121] Cleanup and more safe code in Player::BuyItemFromVendor use. Author: VladimirMangos
* Move bag search by bag guid code to WorldSession::HandleBuyItemInSlotOpcode
    * Really reject unexisted bag cases.

--HG--
branch : trunk
2009-07-07 07:08:36 +08:00
megamage eec93e0852 [8116] Fixed low ranks relearn bug, correctly show tlanes at command spell learn. By VladimirMangos
* Bug showup as paladin talents reset. Thanks to ApoC for reseach problem.
    * Now at .learn command use for learn some talent this talent must correctly show as learned in talent dialog.

--HG--
branch : trunk
2009-07-07 06:59:03 +08:00
megamage 4a8a89e1db [8103] More wide use IsInWorld checks and delayed at teleport operations. Author: Ambal
* IsInWorld used to prevent return unexpected not in world objects.
    * Delayed operations need to process its in world state.

--HG--
branch : trunk
2009-07-01 18:36:03 -05:00
megamage e1d93bd00f *Backup your DB!
[8098] Support uint32 spell ids in code. Author: VladimirMangos

    * Propertly work with uint32 spell ids in player action bar
    * Fix in same time bug with not save equipment set button with id==0
    * Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
    * Propertly load uint32 spell ids from character_spell
    * Fixed types for some pet/creature related structure for spell id storing.

--HG--
branch : trunk
2009-07-01 18:07:20 -05:00
QAston fd86e6a369 *Fix possible exploits with flying paths.
--HG--
branch : trunk
2009-07-01 16:18:37 +02:00
megamage fc0e8a251b [8084] Correctly show spell icon disabled state at relogin for spells with cooldown delayed until expire. Author: VladimirMangos
--HG--
branch : trunk
2009-06-27 18:28:26 -05:00
megamage d9ec2d2196 [8072] First step to get rid of data blob.
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table.

    The update will not work if your database contains characters with an old data field (not fitting to the actual client version).

    It's recommended to backup your character database before applying this patch.

--HG--
branch : trunk
2009-06-27 17:39:51 -05:00
megamage a363df1836 *Fix a crash caused by player saves with incorrect instance id.
--HG--
branch : trunk
2009-06-27 16:18:08 -05:00
QAston da3569402d *Merge tc1 1591 - 1599, skip 1596
--HG--
branch : trunk
2009-06-27 15:51:36 +02:00
QAston 33b2917bb7 *Fix Ferocious Bite energy to dmg conversion
*Remove duplicated AP coefficients for Hammer of Wrath and Avengers Shield
*Correctly do effectaddcombopoints for spells which take them.
*Do not proc spelleffects on player login.

--HG--
branch : trunk
2009-06-24 15:58:44 +02:00
QAston 09a4fdc1c7 [8066] Fixed typo in Teleport call. Author: Ambal
--HG--
branch : trunk
2009-06-23 14:21:14 +02:00
QAston f2ec641e42 [8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups. Author:XTZGZoReX
[8060] Store spell_pet_auras for auraeffects instead of by whole aura Author:hunuza.

--HG--
branch : trunk
2009-06-23 14:05:37 +02:00
QAston ad91c6b1e2 [8052] Fixed typo in error log output. Author: The_Game_Master
[8049] Added energize effect after last heal tick for 33763 and ranks. Author: bobaz
[8053] At character talents reset using chat command also reset talents
for all character pets. Author: VladimirMangos

--HG--
branch : trunk
2009-06-23 13:05:15 +02:00
krz dd52461d40 * Allow spells to trigger ItemCombatSpells if spell is melee/ranged damage based. Original patch by freegajnja
* Tabs to spaces.

--HG--
branch : trunk
2009-06-23 04:47:46 +02:00
Machiavelli a4dafbf8ec * More updating of iterator data types in loops
--HG--
branch : trunk
2009-06-18 18:29:28 +02:00
megamage 3cf2be6042 [8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal
--HG--
branch : trunk
2009-06-16 11:19:59 -05:00
QAston 2e6db5421e *Fix aura type 280.
--HG--
branch : trunk
2009-06-16 15:29:07 +02:00
megamage b9610f27dd *Check movementflag to interrupt casting instead of checking position.
*Also some other fixes about movement flags.

--HG--
branch : trunk
2009-06-15 12:02:55 -05:00
megamage 4e005c3070 [8013] Fixed SMSG_RAID_INSTANCE_INFO opcode, some other fixes. Author: tomrus88
--HG--
branch : trunk
2009-06-14 10:19:44 -05:00
megamage 314a4f8f00 [8008] Fixed SMSG_RAID_INSTANCE_MESSAGE opcode. Author: tomrus88
--HG--
branch : trunk
2009-06-14 10:06:41 -05:00
megamage c0c9b14e1d [8002] Implemented ACHIEVEMENT_CRITERIA_DATA_TYPE S_DRUNK and fixed typos in ACHIEVEMENT_CRITERIA_DATA_TYPE_T_TEAM Author: Dyddye
--HG--
branch : trunk
2009-06-14 09:59:50 -05:00
megamage ee9c12b480 *Some fix of vehicles. Thanks to Seizerkiller.
--HG--
branch : trunk
2009-06-13 09:18:54 -05:00
megamage 9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
megamage 6578cce471 *Add column heroic_level_min in table access_requirement
--HG--
branch : trunk
2009-06-08 15:31:04 -05:00
QAston d0c801d6cf *Add support for stance-dependant action bar spells
*Temporary remove assert check in Player::RestoreSpellMods
*Apply bleeding damage bonuses for Shred.

--HG--
branch : trunk
2009-06-07 22:13:17 +02:00
megamage ebfb4c0558 [7971] Implement support exotic pets limtations related to hunter telent 53270. Author: VladimirMangos
Note: before this commit hunters can tame exotic pets like any other.
          After patch like not propertly contriolled pets will auto-dismiss at loading
          if talent not learned.

--HG--
branch : trunk
2009-06-06 20:31:23 -05:00
QAston 6f9f1a13f5 *Fix build.
--HG--
branch : trunk
2009-06-06 08:42:43 +02:00
QAston 39548d6822 *Update spellmod system
*Implement SPELL_ATTR_EX6_IGNORE_CASTER_AURAS
*Fix some bugs with traps proc flags

--HG--
branch : trunk
2009-06-06 08:27:36 +02:00
megamage 711ae28947 [7942] Fixed typo: proffesion->profession
[7944] Replace 10 by MAX_UNIT_ACTION_BAR_INDEX in packet size of SMSG_PET_SPELLS.
Author: yad02

--HG--
branch : trunk
2009-06-02 17:50:12 -05:00
megamage 30544055de *Merge.
--HG--
branch : trunk
2009-06-01 15:26:44 -05:00