Commit Graph
100 Commits
Author SHA1 Message Date
QAston f93830e0ae *Add DeleteObjectWith owner function for gameobject deletion with updating owner object list
*Cleanups in Aura 1852 and recenlty added glyph code.

--HG--
branch : trunk
2009-08-03 14:52:30 +02:00
QAston 8777efd03c *Add some crash prevention checks.
--HG--
branch : trunk
2009-08-03 12:52:31 +02:00
Nevan 1b6057ec51 *Fix Glyph of Fireball
*Fix Glyph of Frostbolt

--HG--
branch : trunk
2009-08-03 08:56:18 +02:00
Nevan 5461999e65 *Typo
--HG--
branch : trunk
2009-08-03 03:41:15 +02:00
Nevan 6f43e7184b *Fix Polymorph Sheep Sound
*Fix Glyph of the Penguin
*Clean Up Glyph of Polymorph

--HG--
branch : trunk
2009-08-03 03:22:08 +02:00
Anubisss d8462e5350 *Add a missing update to scripts' full sql.
--HG--
branch : trunk
2009-08-03 03:04:23 +02:00
Rat b752631040 merge
--HG--
branch : trunk
2009-08-03 01:17:03 +02:00
Rat f166fa145f *fix Lady Vashj
*fix Toxic Sporebat's Toxic Pool spell

--HG--
branch : trunk
2009-08-03 01:12:05 +02:00
Nevan f0857afa46 *Fix Glyph of Polymorph
--HG--
branch : trunk
2009-08-03 00:46:16 +02:00
Nevan 249b2e4381 *Fix Aura Mastery "Immunity"
--HG--
branch : trunk
2009-08-02 04:29:40 +02:00
megamage c68a496a19 [8292] Fixed healing part of spell 19505 and ranks (in fact from rank 2) Author: VladimirMangos
--HG--
branch : trunk
2009-08-02 10:19:40 +08:00
megamage 84694a1f92 [8291] Now allow auto-casting pet spells out of combat by PetAI, related code cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-08-02 10:17:07 +08:00
megamage 41ba5c232a [8288] Add table base addition reqs for achievements with ACHIEVEMENT_CRITERIA_TYPE_WIN_DUEL Author: VladimirMangos
This prevent not proper finish some achievments added in 3.1.x

--HG--
branch : trunk
2009-08-02 10:12:40 +08:00
megamage 793ec8c97d [8286] Correctly show talent points after talents reset at login by "at login" flag. Author: redcore
--HG--
branch : trunk
2009-08-02 10:11:48 +08:00
megamage d3646db916 [8285] Don't show creatures as lootable that have no loot. Author: Prince
--HG--
branch : trunk
2009-08-02 10:11:27 +08: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
megamage 1c10f20e38 [8283] Implement 3.x way work for double damage from 35290 and ranks Author: VladimirMangos
--HG--
branch : trunk
2009-08-02 10:10:13 +08:00
megamage a1d5f174be Avoid target requirement checks for spells with caster base target selection (self,pet,around). Author: VladimirMangos
This fix cast fail for some spells, mostly triggered or scripted with unexpected prowided explicit tatrget different from caster.

--HG--
branch : trunk
2009-08-02 10:03:38 +08:00
megamage c1d94ad607 [8279] Fixed paladin auras for SpellSpecific. Author: nos4r2zod
--HG--
branch : trunk
2009-08-02 09:51:11 +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 e10a8c88b6 *Fix a typo.
--HG--
branch : trunk
2009-08-01 21:41:15 +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
Nevan 604ad4eba3 *Fix Glyph of Guardian Spirit
--HG--
branch : trunk
2009-08-01 21:15:56 +02:00
QAston aa60def6ac *Teleport player to homebind if instance can't be created in WorldSession::HandleMoveWorldportAckOpcode.
--HG--
branch : trunk
2009-08-01 20:23:23 +02:00
QAston d577d00313 *Store mapId in Corpse class for access to corpse when grid containing them is unloaded and map pointer is unloaded leading to crash.
--HG--
branch : trunk
2009-08-01 19:50:42 +02:00
Nevan 32a7e355a0 *Added DELETE statement forget in last sql. (Sorry about that)
--HG--
branch : trunk
2009-08-01 12:14:29 +02:00
Nevan 03604a2567 *Fix Spell 1852 (This is a GM tool for silencing players.)
--HG--
branch : trunk
2009-08-01 12:06:06 +02:00
QAston 452eb46398 *Prevent possible creation of instance from bg map.
--HG--
branch : trunk
2009-08-01 04:13:28 +02:00
QAston 0241653d42 *Fix a problem with instantioned bgs introduced in 4697.
--HG--
branch : trunk
2009-08-01 03:37:40 +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 129f6ce6f0 *Remove unneeded assert.
--HG--
branch : trunk
2009-08-01 02:08:59 +02:00
Nevan 6343c2a00f *Update Bloodworms Healing formula
*Removed unnecessary db proc data.

--HG--
branch : trunk
2009-08-01 01:47:47 +02:00
QAston 1d96091d2a *Improvements in map managing.
--HG--
branch : trunk
2009-08-01 00:20:32 +02:00
Rat 0db1fd6c26 *add 6 secs cooldown for warrior talent 56636 (Taste for Blood) and ranks, sql by HP1
--HG--
branch : trunk
2009-08-01 00:12:04 +02:00
QAston 91d7f59cf7 *Tempfix for a crash caused by trying to access db script while out of world. This will probably not fix all related issues - it's safer to use rev 4666 or older. Sorry for this problem, 1:1 merge from MaNGOS will never happen again. Issue is going to be solved with map handling change upcoming soon.
--HG--
branch : trunk
2009-07-31 17:24:11 +02:00
QAston 0fdd7cd5de *Remove data from world.sql - it exists now only for structure documentation.
*Remove debug spell_check command - such things shouldn't belong to core.

--HG--
branch : trunk
2009-07-31 15:35:31 +02:00
QAston 9b56360b4c *Remove world_tmp_full - templates made by core devs are going to be included in update sqls with _TDB suffix and after thatadded to db converters.
*Remove some useless mangos sqls.

--HG--
branch : trunk
2009-07-31 14:58:25 +02:00
QAston 38026a2576 *Fix build on platforms using CMake - by Biglad
--HG--
branch : trunk
2009-07-31 14:30:17 +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 40f7c7243c *Fix build.
--HG--
branch : trunk
2009-07-31 11:40:32 +08:00
megamage ccd6764409 [8278] Update packet size checks in WorldSocket::HandleAuthSession to 3.x state. Author: VladimirMangos
--HG--
branch : trunk
2009-07-31 11:37:31 +08:00
megamage bf989ce073 [8277] Add new line at the end of some .cpp to make gcc happy Author: Gendalph
--HG--
branch : trunk
2009-07-31 11:37:03 +08:00
megamage 70e31cce3f [8276] Implement achievment ACHIEVEMENT_CRITERIA_TYPE_WIN_BG Author: VladimirMangos
* including new achievement createria data type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE

    Note: Some achivement creteria for success need data in `achievement_criteria_data`

--HG--
branch : trunk
2009-07-31 11:36:02 +08:00
megamage d96642c92f [8274] use virtual m_TeamScore for battlegrounds
score is used in every battleground (not arena)
    so we can use it as a virtual variable to access
    it also from BattleGround-class

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

--HG--
branch : trunk
2009-07-31 11:34:38 +08:00
megamage ed995581af *Fixed /played chat command. Author: tomrus88
--HG--
branch : trunk
2009-07-31 11:33:48 +08:00
megamage 0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29:28 +08:00
megamage ca271eb5dc [8272] Fixed typos in world 'height' by code. Author: Sorya
--HG--
branch : trunk
2009-07-31 11:25:28 +08:00
megamage 123ea8543a [8271] Fix: SQL typo in [8269] Author: Ebrithil
--HG--
branch : trunk
2009-07-31 11:25:00 +08:00
megamage 60c3d7db71 [8269] added "m_" prefix to ArenaTeam classmember-variables Author: balrok
--HG--
branch : trunk
2009-07-31 11:22:27 +08:00
megamage b7a425918f [8266] Move percent spells with flat energize effect spells to effect code. Author: VladimirMangos
* This is fix talent 51521 and ranks.
    * And replace hardcoded percent for talent 31876 and ranks.

--HG--
branch : trunk
2009-07-31 11:16:38 +08:00
megamage e1571c0492 *Handle target area path as area cone for now.
--HG--
branch : trunk
2009-07-31 11:12:04 +08:00
megamage 519ab6af82 [8265] Add boss spells 64422 and 64688 to divided damage spells list. Author: Lutik
--HG--
branch : trunk
2009-07-31 11:06:35 +08:00
megamage 7349959fa0 [8262] Fixed work /played client chat command. Author: tomrus88
Thanks to The_Game_Maste for prepering patch for master branch.

--HG--
branch : trunk
2009-07-31 11:01:46 +08:00
megamage 94aa35c828 *Use triggerAmount instead of fixed number for improved stormstrike. Author: nos4r2zod
--HG--
branch : trunk
2009-07-31 11:00:25 +08:00
megamage ad1752ca84 [8259] Move functions code from ChannelMgr.h to ChannelMgr.cpp. Author: Infinity
Also cleanups in #includes and singleton instantiate.

--HG--
branch : trunk
2009-07-31 10:58:24 +08:00
megamage d4f124cb87 [8258] Replace redundent PQuery uses by Query in EventAI code. Author: Infinity
--HG--
branch : trunk
2009-07-31 10:51:30 +08:00
megamage 62e31f41e4 *Skip [8257] Avoid remove daze and croud control spells except polymorph at druid form change. Author: Astellar
--HG--
branch : trunk
2009-07-31 10:51:02 +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 b1bd5e7905 [8255] Makefile.am cleanup, comments + indent
Signed-off-by: freghar <[email protected]>

--HG--
branch : trunk
2009-07-31 10:37:22 +08:00
megamage 11e5132a70 [8254] Internal cooldowns for some item effects. Author: Alez
--HG--
branch : trunk
2009-07-31 10:37:02 +08:00
megamage c26d5560ea [8253] Some spell proc fixes. Author: Den
--HG--
branch : trunk
2009-07-31 10:36:29 +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
Anubisss 4abac06cf0 *Add sql for full table trinity_string.
--HG--
branch : trunk
2009-07-30 23:16:14 +02:00
QAston 3c59e4d9a0 *Fix penance client crash when interrupting it by esc - by thenecromancer.
--HG--
branch : trunk
2009-07-30 22:17:43 +02:00
Nevan 659a555bdc *Fix Death Knight Bloodworms (Heal every hit)
--HG--
branch : trunk
2009-07-30 20:42:40 +02:00
QAston a2701d589d *Correct some trap proc checks (do not threat trap cast as triggered)
*Fix a typo causing freeze.

--HG--
branch : trunk
2009-07-30 19:07:51 +02: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 13758fcae1 *Fix per-caster aura state based on [8218] (Author: VladimirMangos;almost nothing left from original patch):
*Fixes all per caster aurastates instead of only conflagrate
*Adds a holder for aura state auras for speedup search
*Save some memory space by removing m_auraStateMask from aura class.

--HG--
branch : trunk
2009-07-30 17:16:56 +02:00
QAston 2095daca85 *Fix exploit with preventing creature enter evade mode.
--HG--
branch : trunk
2009-07-30 14:13:19 +02:00
QAston 74d6ea4efb *[8267] ArenaTeam: added check, that teamrating won't become negative Author: Barlok
*[8268] ArenaTeam: new rating-system for season 6 Authors: danielich and XTZGZoReX.

--HG--
branch : trunk
2009-07-30 12:59:59 +02:00
QAston d783273955 *[8261] Skip not in world targets in same way as not existed targets (note: this is a hack and needs better sollution) Author: VladimirMangos.
--HG--
branch : trunk
2009-07-30 12:32:48 +02:00
QAston 98a80ff518 *Backout some mangos stuff which is solved using better way in trinity.
--HG--
branch : trunk
2009-07-30 11:59:37 +02:00
QAston 8c6b85ccb1 *Merge required after backout.
--HG--
branch : trunk
2009-07-30 11:52:49 +02:00
QAston 2a402ff6c7 *Merge required after backout.
--HG--
branch : trunk
2009-07-30 11:52:40 +02:00
QAston a07a3417e3 *Merge required after backout.
--HG--
branch : trunk
2009-07-30 11:51:48 +02:00
QAston bc4e279cbd Backed out changeset 7fab27a57ecc - mangos [8218]
--HG--
branch : trunk
2009-07-30 11:47:47 +02:00
QAston 33efe96f94 Backed out changeset 9b89f42ffbd8 - mangos [8219]
--HG--
branch : trunk
2009-07-30 11:45:51 +02:00
QAston 9c52a12e08 Backed out changeset 6ba74f274cb9 - mangos [8249]
--HG--
branch : trunk
2009-07-30 11:44:23 +02:00
QAston 7fa41e654d Backed out changeset 774aad302c74 - mangos [8247]
--HG--
branch : trunk
2009-07-30 11:42:43 +02:00
megamage af2d5e3fd4 [8250] Cleanup code and data for spell_threat Author: nos4r2zod
* Load table data to std::map instead SQLStorage and add check loaded spell existance.
    * Drop from table not existed spells.

--HG--
branch : trunk
2009-07-30 11:37:08 +08:00
megamage 7121d98480 [8249] Implement support spell_proc_item_enchant table for ppm item enchantments triggering at hit.
* Added a new SQL table, spell_proc_item_enchant, for "custom" ppmRates on Item Enchants that do not use auras.
      With table data this must fix ppm for effect from 8033 and ranks enchanting, and item 6947/10918 and ranks enchanting.

    * Implemented SPELLMOD_FREQUENCY_OF_SUCCESS (26).
      That must fix work talent 14113, spell 32645 with ranks, glyph 41094 and item set effect 64917 in frequency part.

    Thanks to MaS0n as author alternative patch that partly used in this patch.
    Thanks to Thenecromancer as author alternative patch that ideas inspire MaS0n's patch writing and then this patch also.

Author: nos4r2zod

*Note: has been implemented before. Only use part of the patch.

--HG--
branch : trunk
2009-07-30 11:33:28 +08:00
megamage 6116231223 [8247] Some data for spell_bonus_data for DK spells. Author: nos4r2zod
I found TC seems to have these data. In the future *.tbd is used for review. Please do not apply them.

--HG--
branch : trunk
2009-07-30 11:15:04 +08:00
megamage 66a05b6be0 [8246] Fixed check for spell 59921 debuf aura (55095) at target for spell 49202 and ranks. Author: raftom
--HG--
branch : trunk
2009-07-30 11:09:20 +08:00
megamage a12501fb5e [8244] Skip cheating check for buy bank slot opcode. Author: VladimirMangos
This is not big problem in any case and will allow buy slots
    in bank windows open using .bank command.

--HG--
branch : trunk
2009-07-30 11:07:00 +08:00
megamage e864cbed8c [8243] Fixed problems with unexpected set diminishion return level at arena for fear/turn spells. Author: VladimirMangos
--HG--
branch : trunk
2009-07-30 11:06:31 +08:00
megamage a94cccbf4d [8237] Apply attack power multiplier to creature bonus attackpower. Author: Lynx3d
Note: mindmg/maxdmg in creature_template expected including attackpower part in its.
    attackpower field only show part of attackpower not affected by AP multiplier.

    Thanks also to Seizer for take part in reseach and patch review.

--HG--
branch : trunk
2009-07-30 11:02:07 +08:00
megamage 7f6926dd3b [8235] Fixed typos in ACTION_T_SET_INVINCEABILITY_HP_LEVEL. Author: VladimirMangos
Thanks to Zor for pointing.

--HG--
branch : trunk
2009-07-30 10:56:15 +08:00
megamage 65f01ac67c [8234] Implement support for explcit discovery spell 64323. Also better checks at loading. Author: VladimirMangos
--HG--
branch : trunk
2009-07-30 10:55:13 +08:00
megamage 3926cb174b [8233] Implement new EventAI action ACTION_T_SET_INVINCEABILITY_HP_LEVEL. Author: VladimirMangos
Action set min. health value that can be set for creature in result damage apply.
    It can be used in duel like events with creatures to prevent killing creature and other
    cases when creature must avoid damage at some health level while it used.

--HG--
branch : trunk
2009-07-30 10:53:16 +08:00
megamage dd94fb12d6 [8232] Implement talent 48438 and ranks in per-tick heal amount. Author: VladimirMangos
--HG--
branch : trunk
2009-07-30 10:51:48 +08: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
megamage 4c9aa14e57 [8222] Partial EventAI.txt rewrite, typo and language fixes
Signed-off-by: freghar <[email protected]>

--HG--
branch : trunk
2009-07-30 10:19:25 +08:00
megamage bf8c0933c9 [8221] Removed trailing whitespaces
With excluded dep/ - as usual.

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

--HG--
branch : trunk
2009-07-30 10:19:03 +08:00
megamage 9dcaf30500 [8220] Implement SPELL_EFFECT_PLAY_MUSIC(132) Author: evilstar
Thanks to GriffonHeart for help in reseach.

--HG--
branch : trunk
2009-07-30 10:18:05 +08:00
megamage 3f32028e82 [8219] Avoid hunter traps proccing when deleted at replace by another trap. Author: nos4r2zod
--HG--
branch : trunk
2009-07-30 10:17:13 +08:00