Commit Graph
100 Commits
Author SHA1 Message Date
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
megamage 9bd41d0255 [8218] Final part of talent 17962 and ranks fixes. Author: VladimirMangos
* Correctly show per-caster aura state for cleitns.

--HG--
branch : trunk
2009-07-30 10:15:45 +08:00
QAston 29e9bc64d1 *Use basepoints for effect 140 only when non-null.
--HG--
branch : trunk
2009-07-30 00:05:36 +02:00
Rat 0a479b8795 *Fix CRLF
--HG--
branch : trunk
2009-07-29 22:28:47 +02:00
QAston 5d920ddbc3 *Allow SPELL_EFFECT_FORCE_CAST (140) to trigger spells with basepoints
*Correct target selection for unrelenting assault - by thenecromancer.

--HG--
branch : trunk
2009-07-29 22:11:15 +02:00
QAston f4a90873b4 *Use _SECURE_SCL=0 in all release vcpp projects - original patch by DearScorpion.
--HG--
branch : trunk
2009-07-29 13:57:20 +02:00
QAston 06d0560f15 *Minor cleanup in Log::outDB - by XTZGZoReX.
--HG--
branch : trunk
2009-07-28 23:45:03 +02:00
QAston 6bb0ff8948 *Implement attribute flag SPELL_ATTR_EX3_BLOCKABLE_SPELL - now spells: Gouge, Kick, Wing Clip, Rake, Hamstring are blocable - by thenecromancer.
--HG--
branch : trunk
2009-07-28 23:27:45 +02:00
QAston 09637795de *Remove obsolete code for Judgement of Light.
--HG--
branch : trunk
2009-07-28 22:41:15 +02:00
QAston c15c25aca4 *Cleanups and Fixes in Mirror Image script.
--HG--
branch : trunk
2009-07-28 21:34:18 +02:00
QAston cf0d8a2b03 *Fix alt+f4 exploit in instances.
--HG--
branch : trunk
2009-07-28 16:26:05 +02:00
QAston 288fe6ef21 *Restore correct drop of charges after EventAi cancast fix.
--HG--
branch : trunk
2009-07-28 14:53:08 +02:00
QAston cf1bfd1640 *Do not use CritterAI for player guardians.
--HG--
branch : trunk
2009-07-28 13:23:20 +02:00
QAston 40b9fc57ed *Do not allow to cast corpse explosion twice on one corpse - by thenecromancer.
--HG--
branch : trunk
2009-07-27 19:08:26 +02: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
QAston e8f8b66636 *Implement immunity removal part for Shattering Throw ability - by thenecromancer.
--HG--
branch : trunk
2009-07-27 17:32:56 +02:00
QAston e3ef5da919 *Update Devastate talent handler for 3.1.3 - by Farah.
--HG--
branch : trunk
2009-07-27 17:18:05 +02:00
QAston 2e0a8ae638 *Fix Rend bonus for hight hp targets - by Drethek.
--HG--
branch : trunk
2009-07-27 17:16:52 +02:00
QAston e3e0fd522e *Fix a crash with MAP_BASED_RAND_GEN - thanks to Azuritus for research.
--HG--
branch : trunk
rename : sql/updates/4602_world_spell_bonus_data.txt => sql/updates/4602_world_spell_bonus_data.sql
rename : sql/updates/4603_world_tmp.txt => sql/updates/4603_world_tmp.sql
rename : sql/updates/4604_world.sql => sql/updates/4610_world.sql
2009-07-27 16:06:39 +02:00
Kudlaty 0aa4879ecc Script for quest 12570. Author: manuel
--HG--
branch : trunk
2009-07-27 13:21:35 +02:00
QAston 1630842f03 *Spell_bonus_data for Shattering throw and Hand of Reckogning
*Do not check SPELL_ATTR_EX_CANT_TARGET_SELF for triggered spells

--HG--
branch : trunk
2009-07-27 11:07:15 +02:00
Drahy e02e2f1311 * Fixed one last typo sorry for that
--HG--
branch : trunk
2009-07-27 08:46:14 +02:00
Drahy 3a9db7babb * Fixed elevators in game
* Fixed ugly typo in previous commit

--HG--
branch : trunk
2009-07-27 08:29:46 +02:00
Drahy 45a1439f40 * Added ap bonus for Druid - Swipe (Bear)
* Correct comment for Pet Skill - Bear (Swipe)

--HG--
branch : trunk
2009-07-27 08:19:08 +02:00
Drahy 67250953ba * Continuing cleaning sql
* Used trinity sql coding style
* Now complete

--HG--
branch : trunk
2009-07-27 08:06:13 +02:00
Drahy afd5658de5 * Merge
--HG--
branch : trunk
2009-07-27 07:40:52 +02:00
Drahy 6a8484ce25 * Cleanup sql, delete not needed and renamed some
--HG--
branch : trunk
2009-07-27 07:39:28 +02:00
QAston 190863e5a5 *Update procflags for Imp.Shadowform.
*Use item speed value instead of attack speed value for enchant PPM - by MaS0n.
*Correctly apply cooldown to Improved leader of the pack mana regen.
*Do not refresh duration when stack from aura is dropped - by Apoc

--HG--
branch : trunk
2009-07-26 19:58:01 +02:00
QAston e36a0f4825 *Remove _SECURE_SCL = 0 option from windows release builds - this fixes memory corruption at player login and crash -by Kuteur.
--HG--
branch : trunk
2009-07-26 18:29:49 +02:00
QAston 5c6d407cb5 *Fix Remote Access login - by peaceman.
--HG--
branch : trunk
2009-07-26 16:59:11 +02:00
Anubisss 3409ddf1a8 *Correct damage for Shield of Righteousness.
--HG--
branch : trunk
2009-07-26 03:25:18 +02:00
Kudlaty 3c04635694 Fix build on windows.
Fix command ticket viewname - thx Deadlyskunk for point this
fix setlink command group, add missing commands to db - patch by XTElite1

--HG--
branch : trunk
2009-07-26 02:00:35 +02:00
Kudlaty 9f1118cf0a Fix build under win
--HG--
branch : trunk
2009-07-25 23:51:08 +02:00
Kudlaty 93e7fe61ca Add missing file from rev 4594
--HG--
branch : trunk
2009-07-25 22:18:34 +02:00
Kudlaty d62da4cc16 Merge [SD2]
r1106 Prevent abuse of item 44222. Apply some SD2 code style
r1107 Add health modification for phase and correct phase value for kael(TK)
r1108 Remove scripted function SetSheathState() and use mangos function instead. Fix one typo and apply sd2 code style for one script.
r1109 Remove old makefile* files not needed.
r1110 Some minor adjustments to sharkkis, add one spell and also add distance to MoveChase. Not kill boss' advisors on Reset when not needed.
r1111 Check pointers and avoid possible crash
r1112 Added script for friendly Kael in MgT (movement to orb-platform, transform and gossip)
r1113 Correct misunderstanding added in 1112, and use timer for transformation instead (creature are expected to spawn/fly down once player use orb).

--HG--
branch : trunk
2009-07-25 22:16:21 +02:00
Kudlaty 96f814ea20 Fix the bug that players always gain one point less of reputation than the real value.
--HG--
branch : trunk
2009-07-25 21:14:41 +02:00
Anubisss c2f5b67a40 *Correct damage for spell Piercing Shots' ticks.
--HG--
branch : trunk
2009-07-25 20:48:12 +02:00
Kudlaty 7fa1036c08 Fix cmake -i when we specify own dir for ACE
--HG--
branch : trunk
2009-07-25 16:59:24 +02:00
Kudlaty d36a479b48 Fix msg about have out of date ace lib, also some cosmetic change
--HG--
branch : trunk
2009-07-25 16:34:22 +02:00
Kudlaty 3e4a9fcbe1 *merge
--HG--
branch : trunk
2009-07-25 14:37:10 +02:00
Kudlaty e1c2d50796 Fix build on windows and propably on centos
--HG--
branch : trunk
2009-07-25 14:36:42 +02:00
Anubisss 16172e1165 *Two more people to THANKS.
--HG--
branch : trunk
2009-07-25 03:11:26 +02:00
Anubisss d26389c9d4 *Merge with 4584. :(
--HG--
branch : trunk
2009-07-25 02:51:17 +02:00
Anubisss 2cad0f09d4 *Minor clean in Muru.
*Fix SWP's door handling.

--HG--
branch : trunk
2009-07-25 02:50:35 +02:00
Kudlaty 6998d0185c Fix build with old ACE lib
But anyway, you should update your ACE lib

--HG--
branch : trunk
2009-07-25 02:19:16 +02:00
Anubisss 370b38312a *Drop command reload spell_affect from DB. Its already dropped from core.
--HG--
branch : trunk
2009-07-25 02:02:02 +02:00
Anubisss bf4fe35bdb *Fix a typo. :)
--HG--
branch : trunk
2009-07-25 01:52:35 +02:00
Anubisss 8c4e30eb07 *Fix spell Savage Defense's reducing damage amount.
--HG--
branch : trunk
2009-07-25 01:50:55 +02:00
Kudlaty 4096b616b1 Add missing file
--HG--
branch : trunk
2009-07-24 23:16:58 +02:00
Kudlaty c1725760b4 Include macro to find readline library(only on unix), and if not founded, just not compile
--HG--
branch : trunk
2009-07-24 23:15:43 +02:00
Kudlaty def7d199dd Fix typo.
--HG--
branch : trunk
2009-07-24 22:44:30 +02:00
Kudlaty 261e75c9cf Merge [SD2]
r1100 Added basic AI definitions for boss sartharion (with adds, using a common AI for certain events) and intro calling drakes
r1101 Correcting a few details and simplify call drakes for boss sartharion
      Add boss and mini-boss' abilities and add more common events to common drakes AI
r1102 Drop support for Windows VC71 (2003) (ref Mangos rev 7865)
r1103 Added support for quest 6481 (summon npc 11920)
r1104 Restore compile after change in OnCreatureCreate(). Require Mangos 7871+ - skip (we don't merge 7871?)
r1105 Remove code related to taunt immune. creature_template.flags_extra(CREATURE_FLAG_EXTRA_NOT_TAUNTABLE) must be used instead where creature should always be immune.

--HG--
branch : trunk
2009-07-24 22:42:17 +02:00
Anubisss f867cb85bd *Fix spell Guarded by the Light.
--HG--
branch : trunk
2009-07-24 21:12:00 +02:00
Anubisss 0bb2fc634a *Remove duplicate items from scripts' CMakeLists.
--HG--
branch : trunk
2009-07-24 13:47:38 +02:00
Kudlaty 779a0c1b0d Fix typo. Thx to X-Savior for poiting
--HG--
branch : trunk
2009-07-24 11:50:28 +02:00
Kudlaty 224e38e136 Add missing sql updates
--HG--
branch : trunk
2009-07-24 06:17:12 +02:00
Kudlaty 4f7e94ace2 Merge [SD2]
r1095 Correct one spellId in hyjal - skip
r1096 Remove more grid search code from scripts and use functions.
r1097 Remove obsolete functions redefined in 1094
r1098 Added text for bosses in map 615
r1099 Added instance script for map 615

--HG--
branch : trunk
2009-07-24 06:16:31 +02:00
Kudlaty 607dfaf8c9 Merge [SD2]
r1088 Add grid searcher class PlayerAtMinimumRangeAway and create ScriptedAI function GetPlayerAtMinimumRange that return player in grid with at least the defined range away from m_creature.
r1089 Remove no longer needed grid search code and use function instead. - skip
r1090 Rename and clarify function variables - skip
r1091 Add two new grid search functions to return list of creature and gameobject. Remove unused class.
r1092 Remove more grid search code in scripts and use functions instead.
r1093 Remove obsolete grid search class and rename new to a more consistent name.
r1094 Speed up functions GetCreature/GameObjectListWithEntryInGrid a bit

--HG--
branch : trunk
2009-07-24 05:27:49 +02:00
megamage ff1b2ed88c [8217] Implement proper priority in effect selection at talent 17962 cast. Author: VladimirMangos
--HG--
branch : trunk
2009-07-24 10:06:11 +08:00
megamage b6c0f72b13 *Do not let Incinerate has extra damage for Shadowflame Author: rechapa79
--HG--
branch : trunk
2009-07-24 09:59:33 +08:00
megamage f9d0ccf857 [8215] Update sql/mangos_spell_check.sql. Author: VladimirMangos
--HG--
branch : trunk
2009-07-24 09:48:13 +08:00
megamage 514ca35b1a [8209] Comment fix. Author: ApoC
--HG--
branch : trunk
2009-07-24 09:42:33 +08:00
megamage c3f0ab6718 [8208] Add part support for spell 33525. Author: NoFantasy
Also let spell 33652 trigger when aura from 33572 reach full effect.

--HG--
branch : trunk
2009-07-24 09:41:33 +08:00
megamage dad71db677 [8207] Allow show combat log for healing done by totems. Author: Itch
--HG--
branch : trunk
2009-07-24 09:37:52 +08:00
megamage 68134b847c [8205] Really use trap GO charges and avoid casting in despawned state. Author: VladimirMangos
* Drop horribale hack with stored charges amount, use instead GO info charges data as expected.
    * Count trap activations as charge uses if it have limited charges.
    * Check trap reactions only in ready spawned state.

--HG--
branch : trunk
2009-07-24 09:33:56 +08:00
megamage d80754a480 [8204] Avoid call assistance from non-combatants. Author: GriffonHeart
--HG--
branch : trunk
2009-07-24 09:15:52 +08: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 c5fa7219c5 [8201] Apply PvP duration limit to spell 15286 Author: Alez
--HG--
branch : trunk
2009-07-24 09:14:22 +08:00